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/src -IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/ulp/cmake/-IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/wifi_provisioning/include -IY:/VM/Share/GitHub/esp-idf-v4.0-beta1/components/ulp/cmake/-IY:/VM/eclipse-workspace/tmp108logger/components/esp-si7021/include -o CMakeFiles/ulp_main.dir/sensor.ulp.S.obj -c sensor.ulp.S
sensor.ulp.S: Assembler messages:
sensor.ulp.S:230: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:236: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:251: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:260: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:271: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:280: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:293: Error: rel too far BFD_JUMPR_STEP
sensor.ulp.S:307: Error: rel too far BFD_JUMPR_STEP
ninja: build stopped: subcommand failed.
[641/687] Building CXX object esp-idf/asio/CMakeFiles/__idf_asio.dir/asio/asio/src/asio.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Is there a way under IDF V4.0 to build ULP code using seperate assembler files?
Large ULP project build problem IDF V4.0 beta1
-
- Posts: 30
- Joined: Thu Jun 29, 2017 7:10 pm
Re: Large ULP project build problem IDF V4.0 beta1
Are you using latest ulp toolchain?
-
- Posts: 30
- Joined: Thu Jun 29, 2017 7:10 pm
Re: Large ULP project build problem IDF V4.0 beta1
When using the cmake idf v4.0 the ulp toolchain is embedded.
Any idea how to use multiple assembler files using CMake? That could also solve the problem.
Building using legacy GNU make build is older and works.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.
Any idea how to use multiple assembler files using CMake? That could also solve the problem.
Re: Large ULP project build problem IDF V4.0 beta1
Code: Select all
rel too far BFD_JUMPR_STEP
https://github.com/espressif/esp-iot-so ... xt#L17-L22
-
- Posts: 30
- Joined: Thu Jun 29, 2017 7:10 pm
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
Who is online
Users browsing this forum: Bing [Bot] and 324 guests