You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I switched a design from Pico to Pico2. I updated the SDK to SDK2 and changed the CMakeList.txt to specify "pico2" as the board. The float functions: uint2float, int2float, float2int now result in an undefined reference during the link when building.
I have cleared out the build directory and rebuilt numerous times with different combinations of the PICO_BOARD and pico_set_float_implementation and pico_set_double_implementation. When the PICO_BOARD is set to "pico" the functions are found and when set to "pico2" they are not found.
The text was updated successfully, but these errors were encountered:
The float_conv_m33.S conversions expose some non round towards zero methods as _z which needs fixing (presumably unnoticed because of 1) - edit: actually these were unsigned ones where both behaviors are the same
Note that the single precision functions for the non float_dcp library can use the VCVT instructions or maybe we can do linker magic or #define to map them back to the __aeabi functions above. Note, I'm tempted not to use #define as they might be called from assembly + it is a bit weird if function impls appear/disappear between RP2040 and RP2350
I switched a design from Pico to Pico2. I updated the SDK to SDK2 and changed the CMakeList.txt to specify "pico2" as the board. The float functions: uint2float, int2float, float2int now result in an undefined reference during the link when building.
I have cleared out the build directory and rebuilt numerous times with different combinations of the PICO_BOARD and pico_set_float_implementation and pico_set_double_implementation. When the PICO_BOARD is set to "pico" the functions are found and when set to "pico2" they are not found.
The text was updated successfully, but these errors were encountered: