Commit Graph

27 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
f7858631d8 stm32: fix build, add ci 2021-05-17 03:16:58 +02:00
Dario Nieuwenhuis
cd0d3c4b0d Merge branch 'stm32-neo' 2021-05-17 02:16:17 +02:00
Dario Nieuwenhuis
bdc3ada4b2 WIP: dma 2021-05-17 01:08:30 +02:00
Dario Nieuwenhuis
befc052cba stm32/usart_v1: add read 2021-05-17 01:04:51 +02:00
Dario Nieuwenhuis
852ca5a1c5 stm32/usart_v1: implement tx 2021-05-17 01:04:51 +02:00
Dario Nieuwenhuis
bfc7f52e6d Remove stm32.
stm32 developemnt continues in the `stm32-neo` branch for now.
2021-05-17 00:57:32 +02:00
Dario Nieuwenhuis
28533cfc77 Simplify SPI example 2021-05-15 00:47:22 +02:00
Bob McWhirter
9e93a0999f Add SPIv1, use cfg_attr to pick correct impl.
Add IRQ to impl_rng!() to accomodate RNG vs HASH_RNG split.
2021-05-13 14:28:53 -04:00
Dario Nieuwenhuis
e0809ab0fb Switch to use PrioritX enums. 2021-05-11 01:34:24 +02:00
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
Dario Nieuwenhuis
7ef5806168 stm32: codegen interrupts 2021-05-01 03:08:52 +02:00
Dario Nieuwenhuis
936efd164d USART codegen 2021-04-25 22:35:51 +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
29b5bae1d1 Codegen PoC 2021-04-20 03:37:49 +02:00
Dario Nieuwenhuis
ef4d9d243e wip usart 2021-04-20 02:44:55 +02:00
Dario Nieuwenhuis
170536b073 stm32: add exti 2021-04-20 02:44:54 +02:00
Dario Nieuwenhuis
258ba533bd Implement GPIO input 2021-04-20 02:30:14 +02:00
Dario Nieuwenhuis
aa65d5ccaf it's alive 2021-04-20 02:30:13 +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