From f376b19067e644b4ee55832f8ffc58665bc7eae1 Mon Sep 17 00:00:00 2001 From: Marc Poulhiès Date: Fri, 29 Jul 2022 20:22:41 +0200 Subject: ada: build stm32 hal in dev mode In release mode the mcu crashes very quickly, there must be some UB somewhere... --- firmware/ada/alire.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'firmware/ada/alire.toml') diff --git a/firmware/ada/alire.toml b/firmware/ada/alire.toml index 9f3e5b7..debe93d 100644 --- a/firmware/ada/alire.toml +++ b/firmware/ada/alire.toml @@ -18,9 +18,10 @@ usb_embedded = "~0.3.0-dev" gnat_arm_elf = "^12" stm32f0x2_hal = "~0.0.0" -# [build-profiles] -# stm32f0x2_hal = "development" -# click = "development" +[build-profiles] +## Do not build stm32f0x2_hal in release mode, doesn't work (woopsy) +stm32f0x2_hal = "development" +##click = "development" [[pins]] click = { url='https://github.com/dkm/click' } -- cgit v1.2.3