I'd vote for softfp calling convention as the performance difference is minimal especially when javascript uses doubles and software implementation anyway.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Was talking about this change https://github.com/gfwilliams/EspruinoCompiler/commit/d5534b66ec8e523dfadecc0bdf100716243d06c2 I was thinking espruino itself is build with that convention too?
Oh just checked and for nrf52 it is not while for stm32 it is!
https://github.com/espruino/Espruino/search?q=mfpu%3Dfpv4-sp-d16&type=code
make/family/NRF52.make
ARCHFLAGS = -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16
make/family/STM32F4.make
ARCHFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp
I'd vote for softfp calling convention as the performance difference is minimal especially when javascript uses doubles and software implementation anyway.