Commit Graph

11 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
040fffd667 Don't use -eabihf 2021-05-10 17:15:41 +02:00
dskleingeld
e40346a544
Fix core::panic! not printing in examples (#153)
* fixes panic not showing in examples
removes panic_immediate_abort feature where present, renames config -> config.toml, enables panic-probe defmt printing feature and updates panic-probe to 0.2

* fix unintended changes in build_core and arch

* revert uninteded change
2021-05-02 20:58:01 +02:00
Ulf Lilleengen
9586365b07 Pass config directly to chip specific configure function
This removes the need to duplicate the configuration for each individual
chip, but will instead pass on the configuration specified in the config
attribute.

Update nrf, stm32, rp macros with passing the config to a per-chip
configure function which assumes the appropriate configuration to be
passed to it.

To demonstrate this feature, the stm32l0xx clock setup and RTC is added which exposes
clock configuration different from stm32f4xx (and has a different set of timers and HAL APIs).
2021-04-22 09:10:46 +02:00
Dario Nieuwenhuis
8b1ffb2cb7 Remove Pin from GPIO traits 2021-04-14 17:04:40 +02:00
xoviat
7cb46ac720 stm32: fix usb 2021-04-06 14:23:13 -05:00
xoviat
dea09876e0 stm32: fix example 2021-04-06 14:17:29 -05:00
xoviat
86cc1eee98 stm32: fix examples 2021-04-06 14:05:08 -05:00
Joshua Salzedo
25e8368290
Actually await the read call 2021-04-01 17:06:31 -07:00
Joshua Salzedo
d80e2eb006
Satisfy rustfmt. 2021-04-01 17:05:44 -07:00
Joshua Salzedo
d9ecb4ab05
Reborrow serial and demonstrate using it twice. 2021-04-01 17:03:55 -07:00
xoviat
009e1896bf stm32: consolidate crates 2021-03-30 10:05:52 -05:00