opensteno_qmk/platforms
Stefan Kerkmann 5c2052fd47
[Core] RISC-V toolchain and picolibc fixes (#15109)
* [Core] Fix RISC-V toolchain installation

The risc-v toolchain is only available on distributions based on Debian 11+
so we check for their availability before installing them.

* [Core] Fix heap symbols and syscalls for picolibc

picolibc internally uses __heap_start and __heap_end instead of the
defacto chibios linker script standard __heap_base__ and __heap_end__
therefore we introduce these symbols as an alias. Usually all memory
used within QMK is statically allocated, but some algorithms make usage
of malloc and friends.

Also the timeval struct is not defined by picolibc for syscalls, therefore it
is declared as stub.
2021-11-20 20:04:16 +00:00
..
arm_atsam Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
avr Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
chibios [Core] RISC-V toolchain and picolibc fixes (#15109) 2021-11-20 20:04:16 +00:00
test Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
atomic_util.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
bootloader.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
common.mk Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
eeprom.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
gpio.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
pin_defs.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
progmem.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
sleep_led.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
suspend.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
timer.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
wait.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00