xoviat
32ca231fe6
stm32: use embassy::main in more places
2021-03-29 09:18:48 -05:00
Dario Nieuwenhuis
d7c3a38efc
Reexport macros at root, use eveywhere as #[embassy::task]
2021-03-29 03:00:48 +02:00
Dario Nieuwenhuis
3a0ddb8104
stm32/serial: update to new traits.
2021-03-29 01:14:18 +02:00
xoviat
9e687ade64
Merge branch 'master' of https://github.com/akiles/embassy into proc-macro
2021-03-27 21:31:49 -05:00
xoviat
3242990690
Merge branch 'master' of https://github.com/akiles/embassy into st-usb
2021-03-27 21:24:21 -05:00
xoviat
6ee9e012fc
add embassy::main and implement for stm32f4
2021-03-27 17:27:39 -05:00
xoviat
b79e9c2927
stm32: fix exti to require SysCfg.constrain()
2021-03-22 13:04:28 -05:00
Thales Fragoso
d4f35c1729
Move USB to embassy-extras
2021-03-19 20:49:15 -03:00
Thales Fragoso
615bb33dcb
USB: Use updated PeripheralMutex
2021-03-19 19:44:30 -03:00
Thales Fragoso
a39dea4d98
Bring back old usb example
2021-03-19 19:44:30 -03:00
Thales Fragoso
c4e79f66ea
Change ClassSet indexing and tune up example
...
Example doesn't work with F401 because it doesn't have enough usb endpoints
2021-03-19 19:44:30 -03:00
Thales Fragoso
890e93b4f0
Start working on usb serial
2021-03-19 19:44:08 -03:00
Thales Fragoso
88a25b042a
F4: Fix compilation for other MCUs
2021-03-18 22:37:08 -03:00
Dario Nieuwenhuis
6eb0522102
Merge pull request #82 from xoviat/c-exti
...
cleanup exti and remove static mut
2021-03-18 20:35:21 +01:00
xoviat
b204c0974c
cleanup misc. warnings
2021-03-17 21:21:48 -05:00
xoviat
1908141c86
fix extipin
2021-03-17 21:11:34 -05:00
xoviat
0cc2c67194
fix can example
2021-03-17 17:27:34 -05:00
Dario Nieuwenhuis
ac74b922c1
Merge pull request #20 from xoviat/canbus
...
add can
2021-03-17 22:54:40 +01:00
Dario Nieuwenhuis
6ed1a87138
Update features for latest nightly.
2021-03-17 02:48:16 +01:00
xoviat
cb8d53e498
fixup
2021-03-15 18:19:28 -05:00
xoviat
93625c3f6a
add can driver
2021-03-15 17:45:45 -05:00
xoviat
beca7f4d9b
use f405 in examples
2021-03-04 17:33:05 -06:00
xoviat
9bcb0c36dc
implement generics on serial
2021-03-04 17:20:35 -06:00
Dario Nieuwenhuis
d4f2c6cf00
Remove cargo namespaced-features
2021-03-02 21:15:12 +01:00
xoviat
9626aee7db
Move traits to separate crate.
2021-03-02 00:32:23 +01:00
fnafnio
f779ec4928
update defmt and defmt-rtt to 0.2.0
2021-02-24 08:44:23 +01:00
Dario Nieuwenhuis
68a345eff8
Merge pull request #49 from thalesfragoso/st-timer
...
Add STM timer
2021-02-20 01:41:42 +01:00
Dario Nieuwenhuis
82846d164c
stm32f4-examples: add workaround for WFI breaking RTT
2021-02-20 01:29:26 +01:00
Thales Fragoso
9d895a6383
Add RTC timer for stm32f4
2021-02-17 19:40:27 -03:00
Dario Nieuwenhuis
7321ddb0b3
Update to cortex-m 0.7
2021-02-14 23:26:50 +01:00
Thales Fragoso
b69f72e055
Get rid of some warnings
2021-02-13 21:41:36 -03:00
Dario Nieuwenhuis
aeaa34d7a1
Executor API V2.
...
- It's no longer possible to call run() reentrantly from within a task (soundness issue)
- it's now possible to spawn Send tasks across threads (SendSpawner, #37 )
2021-02-02 05:20:41 +01:00
Dario Nieuwenhuis
d098952077
stm32f4/examples: add config and linker script so they're runnable.
2021-01-21 19:00:43 +01:00
Dario Nieuwenhuis
27831124a7
Remove unused rtic dep
2021-01-21 01:07:04 +01:00
xoviat
2b15a2674f
minor cleanup to interface
2021-01-14 11:42:23 -06:00
Dario Nieuwenhuis
24d6b9ed6c
Build stm32 and stm32-examples in test script.
...
Panic handler was missing, I had to add exaple_common.rs like in the nrf examples.
2021-01-14 00:53:05 +01:00
xoviat
a168b9ef51
restrict unsafe block
2021-01-06 21:02:02 -06:00
xoviat
31ba052f14
mark new unsafe
2021-01-06 14:31:43 -06:00
xoviat
a9d9f3bf80
fix problems
2021-01-05 17:24:27 -06:00
xoviat
f3676e1eab
rename examples
2021-01-04 12:52:00 -06:00