Large ULP project build problem IDF V4.0 beta1
Posted: Mon Nov 11, 2019 1:48 pm
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?
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?