micropython/ports
Damien George 3f2c423686 rp2: Switch to locally provided math library.
This commit fixes all known floating-point bugs with the pico-sdk.  There
are two things going on here:
- Use a custom pico float component so that the pico-sdk doesn't include
  its math functions, and then provide our own from lib/libm.
- Provide a wrapper for __aeabi_fadd to fix the infinity addition bug.

Prior to this commit, the following tests failed on the rp2 port: cmath_fun
float_parse math_domain math_domain_special math_fun_special.  With this
commit, all these tests pass.

Thanks to @projectgus for how to approach this fix.

Signed-off-by: Damien George <damien@micropython.org>
2023-12-06 14:00:07 +11:00
..
bare-arm
cc3200 ports: Move definitions of ATOMIC_SECTION macros to mphalport.h. 2023-12-01 14:37:48 +11:00
embed
esp32 esp32/boards/UM_TINYPICO: Fix typo in baudrate instructions. 2023-12-06 13:46:04 +11:00
esp8266 ports: Move definitions of ATOMIC_SECTION macros to mphalport.h. 2023-12-01 14:37:48 +11:00
mimxrt extmod/mbedtls: Enable certificate time/date validation by default. 2023-12-01 15:08:11 +11:00
minimal
nrf nrf/boards/ARDUINO_NANO_33_BLE_SENSE: Don't enable MICROPY_MBFS. 2023-12-04 22:18:14 +11:00
pic16bit
powerpc
qemu-arm
renesas-ra extmod/mbedtls: Enable certificate time/date validation by default. 2023-12-01 15:08:11 +11:00
rp2 rp2: Switch to locally provided math library. 2023-12-06 14:00:07 +11:00
samd ports: Move definitions of ATOMIC_SECTION macros to mphalport.h. 2023-12-01 14:37:48 +11:00
stm32 stm32/machine_i2s: Improve accuracy of SCK frequency. 2023-12-06 11:48:03 +11:00
unix extmod/mbedtls: Enable certificate time/date validation by default. 2023-12-01 15:08:11 +11:00
webassembly
windows
zephyr ports: Move definitions of ATOMIC_SECTION macros to mphalport.h. 2023-12-01 14:37:48 +11:00