Dario Nieuwenhuis
0ef1cb29f7
stm32/rcc: merge wb into l4/l5.
2023-10-23 17:36:21 +02:00
Dario Nieuwenhuis
b9e13cb5d1
stm32/rcc: merge wl into l4/l5.
2023-10-23 00:31:36 +02:00
Dario Nieuwenhuis
a84ad741a4
stm32/tests: add stm32wba52cg, stm32u5a9zj
2023-10-22 22:45:11 +02:00
Dario Nieuwenhuis
412bcad2d1
stm32: rename HSI16 -> HSI
2023-10-22 22:39:55 +02:00
Dario Nieuwenhuis
62e1e1637c
Merge pull request #2097 from embassy-rs/rcc-no-spaghetti
...
stm32/tests: add stm32h753zi, stm32h7a3zi.
2023-10-21 02:49:12 +00:00
Dario Nieuwenhuis
3d03c18d4f
stm32/tests: add stm32h753zi, stm32h7a3zi.
2023-10-21 04:46:45 +02:00
xoviat
0fb677aad7
stm32: update metapac
2023-10-20 20:21:53 -05:00
Dario Nieuwenhuis
f20f170b1f
stm32/rcc: refactor and unify f4 into f7.
2023-10-18 05:11:31 +02:00
Dario Nieuwenhuis
67010d123c
stm32/rcc: refactor f7.
2023-10-18 05:01:11 +02:00
xoviat
bbd12c9372
stm32: update metapac
2023-10-17 20:31:44 -05:00
Dario Nieuwenhuis
846f2fc6e4
stm32/tests: add stm32wl hil.
2023-10-17 15:57:09 +02:00
xoviat
a3574e519a
stm32: update metapac
2023-10-16 20:04:10 -05:00
Dániel Buga
40e4ca4751
Prepare embassy-net(/-driver,/-driver-channel) 0.2.0
2023-10-16 20:59:06 +02:00
Dario Nieuwenhuis
213b4c9dca
time: add links
key, release v0.1.5.
2023-10-16 20:11:35 +02:00
Dario Nieuwenhuis
aff77d2b65
stm32/rng: add test.
2023-10-16 05:35:29 +02:00
Dario Nieuwenhuis
18e96898ea
stm32/rcc: unify L4 and L5.
2023-10-16 04:00:51 +02:00
Dario Nieuwenhuis
5c5e681819
stm32/rcc: add better support for L4/L4+ differences.
2023-10-16 03:23:43 +02:00
Dario Nieuwenhuis
8a10948ce9
stm32/rcc: port L4 to the "flattened" API like h5/h7.
2023-10-15 03:08:49 +02:00
Adam Greig
0621e957a0
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
2023-10-15 01:30:12 +01:00
Dániel Buga
02d2c06b23
Release embassy-time 0.1.4
2023-10-12 18:14:33 +02:00
Dario Nieuwenhuis
b91d1eaca0
stm32/rcc: add LSE/LSI to all chips, add RTC to more chips.
2023-10-11 04:12:38 +02:00
Dario Nieuwenhuis
21915a9a3f
stm32/rcc: unify L0 and L1.
2023-10-11 01:22:27 +02:00
Dario Nieuwenhuis
0cfa8d1bb5
stm32/rcc: use more PLL etc enums from PAC.
2023-10-11 00:12:33 +02:00
Gabriel Górski
e62bf6a9fd
Patch tests & examples
2023-10-09 13:46:56 +02:00
Dario Nieuwenhuis
6186fe0807
stm32/rcc: use PLL enums from PAC.
2023-10-09 02:48:22 +02:00
Matt Ickstadt
4075ac84e1
h7: enable rtc test
2023-10-06 14:12:57 -05:00
Dario Nieuwenhuis
ba7d74ac16
tests/stm32: increase tickrate for better precision.
2023-10-04 00:17:33 +02:00
Dario Nieuwenhuis
40f30fa4cd
Remove a few ultra-verbose logs.
...
They're heavily spamming logs for HIL tests, and I don't believe
they're valuable now that the thing they helped debug in their young
age is now solid and mature.
2023-10-03 22:22:16 +02:00
Dario Nieuwenhuis
c0a6c78a14
stm32/hil: add f2, f3, f7, l49
2023-10-03 02:11:58 +02:00
xoviat
adf9ffb109
tests/stm32: use default clock config
2023-10-02 18:51:59 -05:00
Dario Nieuwenhuis
eff61648fe
tests/stm32: add eth test.
2023-10-02 20:40:11 +02:00
Dario Nieuwenhuis
3d1b4116ec
test: set DEFMT_LOG not too verbose so net perf tests pass with cargo run
.
2023-09-28 03:47:14 +02:00
Dario Nieuwenhuis
8b5fb254c0
tests/stm32: add L0, L1, L4, L4+, L5
2023-09-26 05:30:50 +02:00
Dario Nieuwenhuis
44bb405683
stm32/usart: enable fifo mode on usartv4.
2023-09-26 04:38:53 +02:00
Dario Nieuwenhuis
5d8817d109
stm32/usart: return error instead of panicking on bad baudrate.
2023-09-26 00:19:27 +02:00
Dario Nieuwenhuis
4b695120fc
tests/stm32: centralize pin configuration.
2023-09-25 22:41:22 +02:00
xoviat
7cf327130e
stm32/low-power: create one critical-section for all time ops
2023-09-21 19:32:48 -05:00
Dario Nieuwenhuis
83b4c01273
stm32/rcc: unify h5 and h7.
2023-09-21 23:47:56 +02:00
xoviat
0dcb34fc7d
ci: fix tests
2023-09-17 19:03:45 -05:00
Ulf Lilleengen
1b20ba27b1
feat: bump embassy-sync version to 0.3.0
...
Update changelog in preparation for release
2023-09-14 18:26:00 +02:00
xoviat
f503417f4c
Merge pull request #1833 from xoviat/rtc
...
stm32: misc rtc fixes
2023-08-28 21:18:42 +00:00
Jesse Braham
1f63bf4153
Release embassy-time v0.1.3
2023-08-28 08:00:18 -07:00
xoviat
e981cd4968
stm32: fix rtc wakeup timing and add dbg
2023-08-27 21:15:57 -05:00
xoviat
fb942e6675
stm32: re-export rtcclocksource
2023-08-27 09:25:14 -05:00
xoviat
db71887817
tests/stm32: add stop and cleanpu
2023-08-26 20:37:01 -05:00
Dániel Buga
a2c718f61c
Bump executor crate version to 0.3.0
2023-08-23 20:34:37 +02:00
Dario Nieuwenhuis
67ca88d5a0
stm32/can: make latency assertion more lenient.
2023-08-20 10:57:28 +02:00
Dario Nieuwenhuis
f26dd54f63
Update embedded-hal to 1.0.0-rc.1 ( #1783 )
2023-08-16 00:40:56 +02:00
xoviat
32fdd4c787
tests/stm32: fix rtc test
2023-08-08 20:33:24 -05:00
chemicstry
83ab8e057a
stm32/can: Fix latency measurement in tests
2023-07-31 13:24:50 +03:00
chemicstry
780569c08a
Merge remote-tracking branch 'origin/main' into bxcan_timestamp
2023-07-31 10:29:20 +03:00
bofh
d8f02e151b
Set frequency in stm32 SPI examples
2023-07-31 00:02:50 +02:00
bofh
d8420ed5a0
Remove unused imports
2023-07-30 19:34:27 +02:00
bofh
55fb1d5126
Fix more stm32 SPI examples
2023-07-30 19:26:24 +02:00
JuliDi
93864610ce
Add DAC HIL test with ADC
2023-07-27 19:04:43 +02:00
chemicstry
62ab0bf2e7
stm32/can: implement proper RX timestamps
2023-07-25 12:12:45 +03:00
xoviat
270d1d59a0
stm32/rcc: use wpan default only for wpan
2023-07-24 18:25:15 -05:00
xoviat
809d3476aa
wpan: further optimize mac event
2023-07-20 16:45:04 -05:00
xoviat
28254842db
- optimize event to parse opcode only once
...
- optimze channels
- return mut ref for smoltcp rx
2023-07-19 17:49:08 -05:00
xoviat
28b419d65e
wpan/mac: use lifetimes to control events
2023-07-16 15:09:30 -05:00
xoviat
e95a7dc555
wpan/mac: use slice view to avoid copy
2023-07-16 12:41:57 -05:00
xoviat
4db4200c37
wpan: factor mac logic into other mod
2023-07-15 14:47:34 -05:00
xoviat
1f63fdbb15
stm32/tests: fix cargo
2023-07-15 14:31:35 -05:00
xoviat
d11a94e2a7
wpan: add mac test
2023-07-15 14:28:42 -05:00
GhaithOueslati
0628dd997f
fix test
2023-07-15 13:52:04 +01:00
Dario Nieuwenhuis
91c1d17f16
rp/gpio: fix is_set_high/is_set_low, expand tests.
2023-07-11 12:40:07 +02:00
Dario Nieuwenhuis
c421b7f5f0
Merge pull request #1624 from embassy-rs/release-embassy-time-v0.1.2
...
Release embassy-time v0.1.2
2023-07-05 23:34:04 +00:00
Dario Nieuwenhuis
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
xoviat
864202a23a
Merge pull request #1578 from schphil/can-split
...
stm32 can split method
2023-07-05 23:27:53 +00:00
Dario Nieuwenhuis
a101d9078d
update embedded-hal crates.
2023-07-04 19:59:36 +02:00
Philipp Scheff
a088c4bee6
fix stm32 can test
2023-07-04 00:39:10 +02:00
Philipp Scheff
8359d8c020
make stm32 can test work
2023-07-04 00:34:24 +02:00
xoviat
d43417e97c
stm32/wpan: implement mm pattern
2023-06-23 19:59:48 -05:00
xoviat
29f32ce00e
stm32/wpan: reorg subsystems
2023-06-23 17:54:06 -05:00
xoviat
caf63b9e73
stm32/tests: update ble test
2023-06-22 21:05:51 -05:00
goueslati
810c6af77a
fix build
2023-06-22 15:31:45 +01:00
xoviat
1f2be2dac5
Merge pull request #1569 from xoviat/tl-mbox-2
...
wpan: misc. cleanup and add mac
2023-06-21 21:50:12 +00:00
Dario Nieuwenhuis
2e625138ff
Merge pull request #1501 from xoviat/can
...
async can
2023-06-20 22:57:31 +00:00
xoviat
0d67ef795e
Merge branch 'main' of https://github.com/embassy-rs/embassy into tl-mbox-2
2023-06-19 21:18:46 -05:00
xoviat
5a075acc6a
stm32/tests: fix can
2023-06-19 16:11:01 -05:00
xoviat
aaad906815
Merge branch 'main' of https://github.com/embassy-rs/embassy into can
2023-06-19 15:52:33 -05:00
Dario Nieuwenhuis
990dd5e5db
tests/stm32: do multiple transfers to catch more bugs.
2023-06-19 22:38:27 +02:00
Dario Nieuwenhuis
558918651e
stm32: update stm32-metapac.
2023-06-19 03:22:12 +02:00
xoviat
39334f7280
stm32/wpan: add ble, mac features and cleanup
2023-06-18 09:43:07 -05:00
xoviat
7177e7ea1a
stm32/wpan: cleanup and expand shci
2023-06-18 08:37:26 -05:00
xoviat
443550b353
stm32/wpan: use new ownership model
2023-06-17 15:37:34 -05:00
xoviat
c7b0df569b
stm32/wpan: modify evtbox to use slice view
2023-06-17 14:38:36 -05:00
xoviat
6b5d55eb29
stm32/wpan: convert to new ipcc
2023-06-17 12:00:33 -05:00
xoviat
e1161dfc80
stm32/wpan: improve linked list ergonomics
2023-06-16 20:15:03 -05:00
xoviat
af451b5462
stm32/wpan: move schi command into sys
2023-06-15 21:02:10 -05:00
xoviat
29513074ee
rustfmt
2023-06-13 17:16:12 -05:00
xoviat
6c13f381c4
stm32/wpan: get --release working
2023-06-13 17:12:34 -05:00
xoviat
3c98587a88
tests/ble: disable test for now
...
does not work in --release
2023-06-12 21:23:42 -05:00
goueslati
802416d267
fix CI for tests
2023-06-12 15:04:52 +01:00
goueslati
553c934325
fix CI for tests
2023-06-12 14:54:17 +01:00
goueslati
a1b27783a6
fix build
2023-06-12 14:44:30 +01:00
Dario Nieuwenhuis
98c821ac39
Remove embassy-cortex-m crate, move stuff to embassy-hal-common.
2023-06-09 16:44:20 +02:00
xoviat
35083b262b
Merge branch 'main' into can
2023-05-30 21:15:26 -05:00
xoviat
16bfbd4e99
stm32/can: add hw test and cleanup
2023-05-30 21:14:25 -05:00
Dario Nieuwenhuis
020e956f1b
ci: run HIL tests in parallel.
2023-05-30 01:10:53 +02:00
bors[bot]
bab03a3927
Merge #1489 #1500
...
1489: stm32/ipcc: make IPCC methods static r=xoviat a=OueslatiGhaith
1500: stm32/tests: disable sdmmc test for now r=xoviat a=xoviat
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: Ghaith Oueslati <73850124+OueslatiGhaith@users.noreply.github.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-29 14:42:51 +00:00
xoviat
bd6a1d38d2
stm32/tests: disable sdmmc test for now
2023-05-29 09:16:50 -05:00
xoviat
5d7301e510
tests/stm32: revert cfg changes
2023-05-27 15:08:30 -05:00
xoviat
09d52638b5
stm32/ipcc: refactor examples and tests
2023-05-27 15:05:50 -05:00
xoviat
c19967dcf2
stm32/ipcc: extract tl_mbox linker file to embassy-stm32
2023-05-27 15:03:25 -05:00
goueslati
984cd47b41
stm32/ipcc: update test
2023-05-26 10:03:01 +01:00
xoviat
316be179af
stm32: move to bind_interrupts
...
disable lora functionality for now
2023-05-24 17:29:56 -05:00
bors[bot]
1fdde8f03f
Merge #1457
...
1457: TL Mbox read and write for stm32wb r=xoviat a=OueslatiGhaith
Hello,
This pull request is related to #1397 and #1401 , inspired by #24 , built upon the work done in #1405 and #1424 , and was tested on an stm32wb55rg.
This pull request aims to add read and write functionality to the TL mailbox for stm32wb microcontrollers
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-23 01:15:22 +00:00
xoviat
64092169e3
stm32/ipcc: disable test
2023-05-22 20:14:37 -05:00
xoviat
d1dfaa1905
stm32/ipcc: fix hil test
2023-05-21 20:18:26 -05:00
xoviat
1f65a4eb6f
stm32/ipcc: enable test
2023-05-21 18:40:29 -05:00
goueslati
d736c9205c
updated test case
2023-05-19 15:40:09 +01:00
Timo Kröger
3e9d5978c0
stm32 uart: Add a test for blocking RX overflow
2023-05-14 22:03:06 +02:00
bors[bot]
7f96359804
Merge #1424
...
1424: add TL maibox for stm32wb r=xoviat a=OueslatiGhaith
Hello,
This pull request is related to #1397 and #1401 , inspired by #24 , build upon the work done in #1405 , and was tested on an stm32wb55rg.
This pull request aims to add the transport layer mailbox for stm32wb microcontrollers. For now it's only capable of initializing it and getting the firmware information
Co-authored-by: goueslati <ghaith.oueslati@habemus.com>
Co-authored-by: Ghaith Oueslati <73850124+OueslatiGhaith@users.noreply.github.com>
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-11 22:48:55 +00:00
xoviat
8a620fd59c
stm32/ble: fix tests and add instructions to run example
2023-05-11 16:45:42 -05:00
xoviat
a0b1299890
stm32/tests: add hil test for ble
2023-05-03 17:36:31 -05:00
Dario Nieuwenhuis
433422b9f2
stm32/test: remove adsfa
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
a85b34c1fe
stm32/test: F1 no longer fits in RAM.
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
1078f6f4e7
stm32/test: workaround #1426
2023-05-02 22:13:38 +02:00
Dario Nieuwenhuis
2bb6e93e86
stm32/usart: add baudrate calc test.
2023-05-02 20:10:09 +02:00
Dario Nieuwenhuis
a1d45303c3
stm32/test: fix race condition in uart_dma.
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
7601779693
stm32/test: cleanup ringbuffer test, exit on success (transferring 100kb)
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
1806422763
stm32/test: add real defmt timestamp
2023-05-01 23:20:51 +02:00
Dario Nieuwenhuis
96e8a7ddb9
stm32/uart: feature-gate ringbuffer out when using gpdma, not supported yet.
2023-05-01 22:43:23 +02:00
Rasmus Melchior Jacobsen
fc268df6f5
Support overflow detection for more than one ring-period
2023-05-01 22:42:36 +02:00
Rasmus Melchior Jacobsen
49455792cb
Ring-buffered uart rx with one-period overrun detection
2023-05-01 22:42:36 +02:00
bors[bot]
855c0d1423
Merge #1376
...
1376: rtc: cleanup and consolidate r=Dirbaio a=xoviat
This removes an extra file that I left in, adds an example, and consolidates the files into one 'v2' file.
Co-authored-by: xoviat <xoviat@users.noreply.github.com>
2023-05-01 19:32:06 +00:00
Ulf Lilleengen
42a8f1671d
Bump versions preparing for -macros and -executor release
2023-04-27 11:54:22 +02:00
xoviat
0d82ebea29
stm32/rtc: fix datetime and add f4 test
2023-04-25 17:35:01 -05:00
Dario Nieuwenhuis
e63a34ba21
stm32/sdmmc: add hil test for f4.
2023-04-17 21:49:34 +02:00
Dario Nieuwenhuis
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00
Dario Nieuwenhuis
f5df567619
stm32/test: add C0 hil tests.
2023-04-11 14:16:32 +02:00
Dario Nieuwenhuis
dbfd28130f
stm32/test: add h5 hil tests.
2023-04-10 15:25:11 +02:00
Dario Nieuwenhuis
be37eee13d
Update embedded-hal crates.
2023-04-06 22:41:50 +02:00
Dario Nieuwenhuis
d3c4e4a20a
executor: add Pender, rework Cargo features.
...
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and
custom callback executors. This avoids calls through function pointers when using only
the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`.
`embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable
the builtin executors (thread and interrupt).
2023-04-03 03:09:11 +02:00
Dario Nieuwenhuis
1dcb0ea1f5
Bump defmt-rtt to 0.4
2022-11-29 21:15:24 +01:00
Dario Nieuwenhuis
1e2fb0459d
Switch to async-fn-in-trait
2022-11-25 21:02:06 +01:00
Guillaume MICHEL
9cac649fcf
stm32: Add support for read_until_idle on UART
2022-10-26 19:06:18 +02:00
Dario Nieuwenhuis
eeb072d9cb
Update Rust nightly.
2022-10-26 16:47:29 +02:00
chrysn
6718ca3a94
all Cargo.toml: Add license to all crate Cargo.toml files
...
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-10-07 12:41:56 +02:00
Ulf Lilleengen
72c2e985bb
Update embedded-hal versions and explicitly pin
2022-09-29 11:27:46 +02:00
Dario Nieuwenhuis
5327b9c289
time: add more tick rates, use 1mhz as default.
2022-09-02 00:59:34 +02:00
Dario Nieuwenhuis
21072bee48
split embassy-util
into embassy-futures
, embassy-sync
.
2022-08-22 22:18:13 +02:00
Dario Nieuwenhuis
461cce255e
tests/stm32: add lpuart test on stm32wb55
2022-08-20 03:42:55 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00
Dario Nieuwenhuis
fc6e1e06b3
Remove HAL initialization from #[embassy::main] macro.
2022-08-17 22:16:46 +02:00
Dario Nieuwenhuis
67edea4168
Update to critical-section 1.0, atomic-polyfill 1.0
2022-08-17 19:01:56 +02:00
Dario Nieuwenhuis
a0f1b0ee01
Split embassy crate into embassy-executor, embassy-util.
2022-07-29 23:40:36 +02:00
amugniere@gmail.com
e4a36e1d98
rustfmt on previously edited files
2022-07-10 21:08:12 +02:00
amugniere@gmail.com
94c13eb2af
forgotten file
2022-07-08 22:34:17 +02:00