Hi,
I tried to initialize intNumber as an array but that doesn't seem to work well with ulp variables.
Therefore I added the following line to CMakeLists.txt in order to be able to compile like in IDF v5.1.2
idf_build_set_property(COMPILE_OPTIONS "-Wno-error=array-bounds=" APPEND)
Thanks
Search found 30 matches
- Sat Feb 17, 2024 7:35 pm
- Forum: ESP-IDF
- Topic: start_ulp() compile:error:'uint32_t[1]' {aka 'long unsigned int[1]'} with idf v5.2
- Replies: 3
- Views: 1550
- Sat Feb 17, 2024 11:46 am
- Forum: ESP-IDF
- Topic: start_ulp() compile:error:'uint32_t[1]' {aka 'long unsigned int[1]'} with idf v5.2
- Replies: 3
- Views: 1550
start_ulp() compile:error:'uint32_t[1]' {aka 'long unsigned int[1]'} with idf v5.2
Hi,
With idf v5.2 the following code for an esp32 does'nt compile anymore:
static void start_ulp()
{
rtc_gpio_init(GPIO_NUM_25);
rtc_gpio_set_direction(GPIO_NUM_25, RTC_GPIO_MODE_OUTPUT_ONLY);
rtc_gpio_init(SCL_PIN);
rtc_gpio_set_direction(SCL_PIN, RTC_GPIO_MODE_INPUT_ONLY);
rtc_gpio_init ...
With idf v5.2 the following code for an esp32 does'nt compile anymore:
static void start_ulp()
{
rtc_gpio_init(GPIO_NUM_25);
rtc_gpio_set_direction(GPIO_NUM_25, RTC_GPIO_MODE_OUTPUT_ONLY);
rtc_gpio_init(SCL_PIN);
rtc_gpio_set_direction(SCL_PIN, RTC_GPIO_MODE_INPUT_ONLY);
rtc_gpio_init ...
- Sun Jan 30, 2022 11:03 am
- Forum: ESP-IDF
- Topic: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
- Replies: 4
- Views: 10693
Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
The same issue exist on the release of idf v4.4.
My path where the idf directory was located was 12char long. Reducing this to 1char made the building of projects work again.
My path where the idf directory was located was 12char long. Reducing this to 1char made the building of projects work again.
- Sun Jan 23, 2022 2:05 pm
- Forum: ESP-IDF
- Topic: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
- Replies: 4
- Views: 10693
Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
Hi,
With the new release of idf version 4.4rc1 the problem is the same:
Y:\VM\Share\GitHub\esp-idf-v4.4-rc1\examples\get-started\hello_world>idf.py build
Executing action: all (aliases: build)
Running cmake in directory y:\vm\share\github\esp-idf-v4.4-rc1\examples\get-started\hello_world\build ...
With the new release of idf version 4.4rc1 the problem is the same:
Y:\VM\Share\GitHub\esp-idf-v4.4-rc1\examples\get-started\hello_world>idf.py build
Executing action: all (aliases: build)
Running cmake in directory y:\vm\share\github\esp-idf-v4.4-rc1\examples\get-started\hello_world\build ...
- Sun Dec 26, 2021 4:58 pm
- Forum: ESP-IDF
- Topic: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
- Replies: 4
- Views: 10693
Re: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
Hi,
Using the latest master I am able to build my projects.
However I manually needed to add the clk.h files for the esp32 hardware
Using the latest master I am able to build my projects.
However I manually needed to add the clk.h files for the esp32 hardware
- Sun Dec 12, 2021 7:03 pm
- Forum: ESP-IDF
- Topic: Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
- Replies: 4
- Views: 10693
Building hello_world with idfv4.4beta1 results in xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
Hi,
I've setup idf v4.4beta1. The setup looks ok. However I am not able to build any projects.
Any idea what is the cause of the error:xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
Thanks
Using Python in C:\python\
Python 3.10.1
Using Git in C:\Program Files\Git\cmd\
git ...
I've setup idf v4.4beta1. The setup looks ok. However I am not able to build any projects.
Any idea what is the cause of the error:xtensa-esp32-elf-gcc.exe: error: @-file refers to a directory
Thanks
Using Python in C:\python\
Python 3.10.1
Using Git in C:\Program Files\Git\cmd\
git ...
- Wed Nov 13, 2019 5:52 pm
- Forum: ESP-IDF
- Topic: Large ULP project build problem IDF V4.0 beta1
- Replies: 4
- Views: 6345
Re: Large ULP project build problem IDF V4.0 beta1
Hi,
Yes the esp32ulp toolchain was configured twice in PATH.
I builds now using CMake.
Thanks
Yes the esp32ulp toolchain was configured twice in PATH.
I builds now using CMake.
Thanks
- Tue Nov 12, 2019 5:32 pm
- Forum: ESP-IDF
- Topic: Large ULP project build problem IDF V4.0 beta1
- Replies: 4
- Views: 6345
Re: Large ULP project build problem IDF V4.0 beta1
When using the cmake idf v4.0 the ulp toolchain is embedded.
If you have already set up ESP-IDF with CMake build system according to the Getting Started Guide, then the ULP toolchain is already installed.
Building using legacy GNU make build is older and works.
Any idea how to use multiple ...
If you have already set up ESP-IDF with CMake build system according to the Getting Started Guide, then the ULP toolchain is already installed.
Building using legacy GNU make build is older and works.
Any idea how to use multiple ...
- Mon Nov 11, 2019 1:48 pm
- Forum: ESP-IDF
- Topic: Large ULP project build problem IDF V4.0 beta1
- Replies: 4
- Views: 6345
Large ULP project build problem IDF V4.0 beta1
Hi,
I have a project that compiles fine under IDF V3.3.
When building under IDF V4.0 beta 1 I got the following error:
e/GitHub/esp-idf-v4.0-beta1/components/unity/include -IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/ulp/cmake/-IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/unity/unity ...
I have a project that compiles fine under IDF V3.3.
When building under IDF V4.0 beta 1 I got the following error:
e/GitHub/esp-idf-v4.0-beta1/components/unity/include -IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/ulp/cmake/-IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/unity/unity ...
- Sun Nov 10, 2019 5:16 pm
- Forum: ESP-IDF
- Topic: Error CMake building ULP projects in IDF V4.0 beta 2
- Replies: 0
- Views: 2726
Error CMake building ULP projects in IDF V4.0 beta 2
Hi,
Projects that I can build in IDF V4.0 beta 1 I cannot build in IDF V4.0 beta 2.
With several projects I get the following error:
n/include -IY:/VM/eclipse-workspace/PIR_mailbox/build/config -IY:/VM/Share/GitHub/esp-idf-v4.0-beta2/components/json/cJSON -IY:/VM/eclipse-workspace/PIR_mailbox ...
Projects that I can build in IDF V4.0 beta 1 I cannot build in IDF V4.0 beta 2.
With several projects I get the following error:
n/include -IY:/VM/eclipse-workspace/PIR_mailbox/build/config -IY:/VM/Share/GitHub/esp-idf-v4.0-beta2/components/json/cJSON -IY:/VM/eclipse-workspace/PIR_mailbox ...