Commit Graph

905 Commits

Author SHA1 Message Date
8a4ab29819 Add an nRF RNG driver
Resolves #187

Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
2021-06-29 17:26:16 +10:00
cdb0c72849 Merge pull request #255 from thalesfragoso/od-pin
stm32: Allow for open drain configuration for output pin
2021-06-27 19:29:18 +02:00
0eaadfc125 stm32: Update gpio examples 2021-06-25 18:16:43 -03:00
c7c897bb72 rp/gpio: add infallible inherent methods 2021-06-25 06:24:14 +02:00
5a6384d199 rp: clock setup 2021-06-25 03:38:21 +02:00
aca0fb1065 net: Make the user pass in the StackResources in init
By having the user pass in the resources, we can make them generic, this way
the user can choose the size of the individual resources
2021-06-20 17:15:18 -03:00
098ce6e740 stm32h7: Add ethernet example 2021-06-16 16:48:35 +02:00
b6a8703698 Add support for generating PAC for dual cores
* Chips that have multiple cores will be exposed as chipname_corename,
  i.e. stm32wl55jc_cm4
* Chips that have single cores will use the chip family as feature name
  and pick the first and only core from the list
* Add support for stm32wl55 chip family
2021-06-16 15:12:07 +02:00
d58fb11b2e ADCv3 and example. 2021-06-14 13:20:42 -04:00
95532726b2 Add minimal RCC impls for L4 and F4 2021-06-14 11:33:11 +02:00
97e2f10665 Merge pull request #242 from Tiwalun/stm32wb55-metapac
Initial support and example for STM32WB55
2021-06-12 16:33:40 +02:00
b82e2627aa Add STM32WB55 examples to CI, fix example crate name 2021-06-12 07:06:42 +02:00
0eab96f573 Initial support and example for STM32WB55 2021-06-12 07:06:36 +02:00
890e93f367 UPdate smoltcp 2021-06-12 00:50:36 +02:00
1bb7123156 Add examples for STM32L0 2021-06-09 23:09:48 +02:00
6295589467 Bring over DAC example (relies upon stm32-data update) 2021-06-08 15:25:38 -04:00
4f1f63f336 Initial swag at h7 examples. 2021-06-08 15:25:38 -04:00
ecd53c916c Small changes to support DAC example. 2021-06-08 14:04:56 -04:00
cf3c021c37 Initial examples for STM32L4+ 2021-06-08 10:37:11 -04:00
b8690e5f5d Add blinky example. 2021-06-08 10:37:11 -04:00
010b2b9497 Fix stm32 warnings 2021-06-06 00:46:20 +10:00
7d869bdec8 Update heapless 2021-06-04 01:35:04 +02:00
dff03ecfc7 Move examples to a subdirectory 2021-06-02 01:32:19 +02:00
20d3dc87f9 Rename examples -> embassy-nrf-examples 2021-01-01 22:46:32 +01:00
6695bf0f21 Low power UART driver 2020-12-30 19:24:12 +01:00
015b6bbce4 Ensure timers always yield at least once.
This prevents a task that's constantly running late from monopolizing the CPU.
Add executor_fairness_test example showcasing it.
2020-12-30 00:57:35 +01:00
af5454fbfe Update drivers to owned irqs. 2020-12-29 01:53:17 +01:00
4b8d8ba87e Update RTC for owned irqs 2020-12-29 01:05:28 +01:00
0750234fbe WIP owned irqs 2020-12-29 00:05:52 +01:00
267ec334ac Rename Uarte -> BufferedUarte 2020-12-28 23:57:50 +01:00
692d8bb813 More efficient timer queue, integrated into Executor directly. 2020-12-26 23:44:53 +01:00
80c504cd95 Add std impl for rand 2020-12-14 00:36:29 +01:00
6f76c0ebcc Add support for log+defmt again, but better. 2020-12-01 17:46:56 +01:00
78135a81d9 Remove anyfmt 2020-11-27 18:42:59 +01:00
2e062f5627 gpiote: change port api to directly return futures. 2020-11-09 01:04:34 +01:00
36517fd1c5 Add gpiote port example. 2020-11-08 19:00:08 +01:00
def225b982 gpiote: better naming 2020-11-08 17:38:45 +01:00
5e8608c7a5 Make defmt optional with new anyfmt crate 2020-11-01 17:17:24 +01:00
2684bf605a update multiprio example. 2020-10-31 22:45:35 +01:00
b3858441f7 Update examples. 2020-10-31 22:37:24 +01:00
cd9ecaef57 integrate static-executor, cleanup time module. 2020-10-19 21:25:54 +02:00
c81d626254 gpiote: take borrow instead of owned pin.
This makes it possible to read the pin while the channel is created.
2020-09-29 04:17:32 +02:00
68eac3a57c Add multi-priority executor example. 2020-09-26 00:36:02 +02:00
f88f233e39 Remove executor model (it's not a nice enough abstraction). 2020-09-25 23:42:49 +02:00
19a89b5c14 Add Clock trait 2020-09-25 23:38:42 +02:00
cf1d604749 Add support for multi alarm to RTC. 2020-09-25 23:25:49 +02:00
4333105341 Add Executor with timer queue, Timer, Instant, Duration, Alarm. 2020-09-25 03:25:06 +02:00
05ca563e7d Add clock::Monotonic trait. 2020-09-24 23:26:24 +02:00
afcf725519 Add rtc_async example 2020-09-24 22:46:00 +02:00
82e5e3c45f rtc: Add alarm callback. 2020-09-24 22:41:52 +02:00