Commit Graph

31 Commits

Author SHA1 Message Date
60f12c78dd Add resolver=2 2021-05-31 02:43:59 +02:00
d8e4421fc6 Add stm32-metapac crate, with codegen in rust 2021-05-31 02:40:58 +02:00
68b303a4e4 Add missing build.rs to examples 2021-05-21 19:05:26 +02:00
82f9242df2 Fix warnings for embassy-stm32 and embassy-stm32-examples 2021-05-20 22:25:12 +10:00
f7858631d8 stm32: fix build, add ci 2021-05-17 03:16:58 +02:00
cd0d3c4b0d Merge branch 'stm32-neo' 2021-05-17 02:16:17 +02:00
bdc3ada4b2 WIP: dma 2021-05-17 01:08:30 +02:00
befc052cba stm32/usart_v1: add read 2021-05-17 01:04:51 +02:00
852ca5a1c5 stm32/usart_v1: implement tx 2021-05-17 01:04:51 +02:00
bfc7f52e6d Remove stm32.
stm32 developemnt continues in the `stm32-neo` branch for now.
2021-05-17 00:57:32 +02:00
28533cfc77 Simplify SPI example 2021-05-15 00:47:22 +02:00
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
e0809ab0fb Switch to use PrioritX enums. 2021-05-11 01:34:24 +02:00
040fffd667 Don't use -eabihf 2021-05-10 17:15:41 +02:00
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
7ef5806168 stm32: codegen interrupts 2021-05-01 03:08:52 +02:00
936efd164d USART codegen 2021-04-25 22:35:51 +02:00
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
29b5bae1d1 Codegen PoC 2021-04-20 03:37:49 +02:00
ef4d9d243e wip usart 2021-04-20 02:44:55 +02:00
170536b073 stm32: add exti 2021-04-20 02:44:54 +02:00
258ba533bd Implement GPIO input 2021-04-20 02:30:14 +02:00
aa65d5ccaf it's alive 2021-04-20 02:30:13 +02:00
8b1ffb2cb7 Remove Pin from GPIO traits 2021-04-14 17:04:40 +02:00
7cb46ac720 stm32: fix usb 2021-04-06 14:23:13 -05:00
dea09876e0 stm32: fix example 2021-04-06 14:17:29 -05:00
86cc1eee98 stm32: fix examples 2021-04-06 14:05:08 -05:00
25e8368290 Actually await the read call 2021-04-01 17:06:31 -07:00
d80e2eb006 Satisfy rustfmt. 2021-04-01 17:05:44 -07:00
d9ecb4ab05 Reborrow serial and demonstrate using it twice. 2021-04-01 17:03:55 -07:00
009e1896bf stm32: consolidate crates 2021-03-30 10:05:52 -05:00