tinygo/src/device
Ayke van Laethem f79e66ac2e cortexm: disable FPU on Cortex-M4
On some boards the FPU is already enabled on startup, probably as part
of the bootloader. On other chips it was enabled as part of the runtime
startup code. In all these cases, enabling the FPU is currently
unsupported: the automatic stack sizing of goroutines assumes that the
processor won't need to reserve space for FPU registers. Enabling the
FPU therefore can lead to a stack overflow.

This commit either removes the code that enables the FPU, or simply
disables it in startup code. A future change should fully enable the FPU
so that operations on float32 can be performed by the FPU instead of in
software, greatly speeding up such code.
2021-04-24 18:41:40 +02:00
..
arm cortexm: disable FPU on Cortex-M4 2021-04-24 18:41:40 +02:00
arm64 arm64: Add support for system calls (SVC) 2020-10-03 20:07:51 +02:00
avr all: replace ReadRegister with AsmFull inline assembly 2020-04-29 18:25:16 +02:00
esp esp32: enable the FPU 2020-12-11 12:11:46 +01:00
nrf Automatically convert .svd files to Go source files 2018-05-05 19:02:43 +02:00
nxp teensy40: refactor to remove unnecessary code and constants 2020-11-11 18:34:47 +01:00
riscv risc-v: disable linker relaxations during gp init 2020-07-08 01:58:12 +02:00
sam atsame54: add initial support for atsame54-xpro 2021-04-15 15:43:37 +02:00
asm.go device: add new cross-arch Asm and AsmFull functions 2020-06-14 14:44:22 -04:00