14 Commits

Author SHA1 Message Date
fenugrec
88ed027020 cmake : clean .bin files, and run dfu-suffix
dfu-util warns when flashing a .bin file that has no "dfu suffix". Now
we use dfu-suffix, if available, to add the dfu suffix; otherwise keep
the original dfu-util command line as a reflash target; fixes #56 GH.

Also add .bin files as BYPRODUCTS so that 'make clean' picks them up
too.
2020-11-01 15:15:34 -05:00
fenugrec
9cf7eccf3d Add new boardtype : cannette
F042-based, galvanically isolated.
2020-10-30 21:55:27 -04:00
fenugrec
70a18e1a1f Update cmake_minimum_required() version
add_link_options() requires cmake >= 3.13

pointed out by @vondraussen in github PR #39
2019-11-30 12:11:30 -05:00
fenugrec
de943d54f2 un-break cmake (missing ") 2019-11-11 16:20:40 -05:00
Brandon Ros
faa164055a CANAlyze support 2019-11-09 14:26:45 -05:00
fenugrec
079882f000 cmake: make each target a configurable option
by default, everything will be compiled. Each target may be disabled
individually.
2019-11-04 20:26:57 -05:00
fenugrec
ad9351243c cmake: add helpers to generate board targets 2019-11-04 20:20:36 -05:00
fenugrec
9003f5ec1d remove trailing whitespace in CMakeLists.txt too 2019-11-04 19:09:15 -05:00
fenugrec
bb6a14a8fc Fix sp-in-clobberlist error again for gcc9
We need to specify -Wno-deprecated at the top level, and not just when
building stm32_HAL because any regular source file that includes in stm32f0xx_hal.h also pulls in those cmsis headers that trigger the deprecation warning.
2019-11-04 18:53:00 -05:00
Hubert Denkmair
e3c7fde27a fix bug #14: candleLight uses F072, cantact F042
was mixed up since a long time (?)
2019-11-03 11:12:18 +01:00
Hubert Denkmair
0352092cda add ASM as cmake language to get init code compiled&linked in 2019-11-02 10:02:24 +01:00
Hubert Denkmair
f24a409d19 add dfu-util flash targets 2019-10-30 20:36:42 +01:00
Hubert Denkmair
f38ddcacf5 generate bin files, show compiled size 2019-10-27 16:09:02 +01:00
Hubert Denkmair
23ebdb8a78 convert to cmake 2019-10-26 16:53:43 +02:00