summaryrefslogtreecommitdiff
path: root/firmware/ada
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2022-07-29 20:22:41 +0200
committerMarc Poulhiès <dkm@kataplop.net>2022-08-28 08:20:53 +0200
commitf376b19067e644b4ee55832f8ffc58665bc7eae1 (patch)
treeeab33a98ba366deefe8961ac0805916fd27d5c4c /firmware/ada
parenta01712925975e7627108f727c65360e7b8feb176 (diff)
ada: build stm32 hal in dev mode
In release mode the mcu crashes very quickly, there must be some UB somewhere...
Diffstat (limited to 'firmware/ada')
-rw-r--r--firmware/ada/alire.toml7
1 files changed, 4 insertions, 3 deletions
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' }