Commit graph

6943 commits

Author SHA1 Message Date
Tomasz bla Fortuna
a91a7a8557 Add FDCAN dependency in correct flavor based on selected chip.
Author: Torin Cooper-Bennun <tcbennun@maxiluxsystems.com>

Change from review.
2024-01-31 05:40:05 +10:00
James Munns
dcce40c8a2
Merge pull request #2497 from embassy-rs/james/resource-usage
[FAQ]: Add some comments from chat
2024-01-30 11:42:57 +00:00
James Munns
5e7876c800
Update docs/modules/ROOT/pages/faq.adoc 2024-01-30 12:41:46 +01:00
James Munns
f388074338 Add some comments from chat 2024-01-30 10:34:09 +01:00
Dario Nieuwenhuis
99265ffea4
Merge pull request #2495 from embassy-rs/update-metapac33
update stm32-metapac.
2024-01-30 01:40:32 +00:00
Dario Nieuwenhuis
5b2293e2b1 update stm32-metapac. 2024-01-30 02:34:12 +01:00
James Munns
3cd0a54e0e
Merge pull request #2492 from JomerDev/fix-read_to_break
Fix underflow in embassy-rp uartrx.read_to_break
2024-01-29 16:22:02 +00:00
Jomer.Dev
0708ce1410 Use saturating_sub to make sure we don't overflow 2024-01-29 17:14:23 +01:00
Dario Nieuwenhuis
681393150d
Merge pull request #2487 from Murmele/pwm
PWM Improvements
2024-01-29 14:18:25 +00:00
Dario Nieuwenhuis
415050516b
Merge pull request #2491 from ValouBambou/main
fix: typo in netcat command for std example
2024-01-29 14:17:55 +00:00
Valentin Trophime
283debfda4
fix: typo in netcat command for std example
The previous given command `nc -l 8000` doesn't let me see anything and lead to a "WARN connect error: ConnectionReset". By explicitly changing the `local-port` of `nc` with the `-p` I can now see the `Hello` message printed, and the warning log disappeared.
2024-01-29 11:36:03 +01:00
Martin Marmsoler
319b0fe3d7 Do not wait when the pwm is disabled
Reason: because in this case no seqend event is raised and therefore an infinity loop occurs
2024-01-27 18:21:40 +01:00
Martin Marmsoler
b08a0955c3 implement retriving duty.
Description: When disabling the pwm and enabling again, it is required to restart the sequence. If the previous duty is not known, it is not possible to turn on the pwm again
2024-01-27 18:21:40 +01:00
Ulf Lilleengen
702007f68b
Merge pull request #2485 from 0e4ef622/nrf-spi-bitorder
nrf/spi: add bit order config
2024-01-27 07:51:36 +00:00
Matthew Tran
6efb5fd284 nrf/spi: add bit order config 2024-01-26 22:38:03 -06:00
Dario Nieuwenhuis
c37e483b3b
Merge pull request #2484 from Murmele/main
use constant for the pwm clock
2024-01-26 23:40:02 +00:00
Martin Marmsoler
2809d3bd45 add is_enabled() function 2024-01-26 22:09:49 +01:00
Martin Marmsoler
c26e62e4f4 add documentation 2024-01-26 21:24:14 +01:00
Martin Marmsoler
dd2577fcf0 use constant for the pwm clock
Description: So it can be used outside of the crate to calculate max duty
2024-01-26 20:55:53 +01:00
Dario Nieuwenhuis
31fa0aebd8 executor: update remove portable-atomic comment.
Fixes #2481
2024-01-26 14:26:19 +01:00
Dario Nieuwenhuis
adb024bdbe usb-dfu: add docs metadata. 2024-01-26 14:23:51 +01:00
Dario Nieuwenhuis
73cfa8f8a9
Merge pull request #2482 from LechevSpace/docs/add-usb-dfu-to-docs-ci-build
docs(ci): add embassy-usb-dfu to the docs build
2024-01-26 13:08:02 +00:00
Lachezar Lechev
d4542f4436
docs(ci): add embassy-usb-dfu to the docs build 2024-01-26 12:36:28 +02:00
Ulf Lilleengen
531645e5d4 docs: mention nrf51 2024-01-26 09:11:17 +01:00
Ulf Lilleengen
bea3c5495a use pull-up to ensure we assert the correct change 2024-01-26 09:05:58 +01:00
Ulf Lilleengen
0bd9a2f094 fix gpio test and remove dummy 2024-01-26 09:03:08 +01:00
Ulf Lilleengen
ee90ee185c fix: link nrf51 tests from flash for now 2024-01-26 08:58:23 +01:00
Ulf Lilleengen
4d8043cade assert only at least time slept
Cannot deterministically guarantee the upper bound
2024-01-26 08:39:50 +01:00
Ulf Lilleengen
7c21178e37 fix warnings 2024-01-26 08:14:11 +01:00
Ulf Lilleengen
2f347ece91 add simplest test 2024-01-26 08:00:50 +01:00
James Munns
e3595c61f3
Merge pull request #2480 from ssnover/minor-fix-getting-started-markdown
Fix the backticks on the getting started page
2024-01-26 06:33:24 +00:00
Shane Snover
3c159205a7 Fix the backticks on the getting started page 2024-01-25 22:30:42 -07:00
Ulf Lilleengen
43553381cd lower arena for nrf51 2024-01-25 21:51:23 +01:00
Ulf Lilleengen
b16eca3f21 adjust memory settings for lower end variant 2024-01-25 21:50:03 +01:00
Ulf Lilleengen
f117213b6e fix: use nrf51-dk chip variant 2024-01-25 21:47:49 +01:00
Ulf Lilleengen
309dda057d add nrf51 builds to ci 2024-01-25 14:39:09 +01:00
Ulf Lilleengen
d19c67023d fix: teleprobe target 2024-01-25 14:36:51 +01:00
Ulf Lilleengen
7e6bc64331 fix: add missing hil test project 2024-01-25 14:23:57 +01:00
Ulf Lilleengen
9418f0f9e5 add HIL test to CI 2024-01-25 14:05:48 +01:00
Ulf Lilleengen
1263d28595 nightly fmt 2024-01-25 08:39:25 +01:00
Ulf Lilleengen
3739cc0699 fix warnings 2024-01-25 08:38:28 +01:00
Ulf Lilleengen
1989c229f9 fix: make inner state send as it's protected critical section 2024-01-25 08:38:01 +01:00
Ulf Lilleengen
db0f4a0b91 cleanup 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
85d7779668 rename nrf52 HIL test 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
7d961a7f44 cargo fmt 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
3ac52b2c48 remove portable-atomic dependency 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
00d66cce1d modify time driver to not require portable-atomic 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
6126183db8 fix: remove portable-atomic from rng 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
25f82538ae fix doc comment 2024-01-24 21:23:54 +01:00
Ulf Lilleengen
53ea850d28 rustfmt again 2024-01-24 21:23:54 +01:00