Jesse Braham
5c5d7f9876
Update embedded-hal-async and embassy-* dependencies ( #488 )
...
* Update all dependencies to their latest versions
* Update `embassy-executor` and add new required features
2023-04-21 07:48:25 -07:00
Jesse Braham
5950a043c0
Update to embedded-hal@1.0.0-alpha.10 and embedded-hal-nb@1.0.0-alpha.2 ( #487 )
...
* Update `embedded-hal-1` and `embedded-hal-nb` dependencies to latest versions
* Update the `Delay` and `I2c` trait implementations
* Update the `SpiDevice` trait, implement `SpiDeviceRead` and `SpiDeviceWrite`
2023-04-21 06:52:06 -07:00
Björn Quentin
e01a569c69
Merge pull request #474 from BryanKadzban/add-open-drain
...
Let users configure the LEDC output_pin as open-drain
2023-04-20 17:00:33 +02:00
Björn Quentin
ab79b142f7
Add DEBUG-ASSIST functionality ( #484 )
...
* Add DEBUG-ASSIST functionality
* Reformat `lib.rs`
* Reformat ESP32-C2 example
2023-04-20 07:38:55 -07:00
Bryan Kadzban
ec4362561a
Fix missing semicolon
2023-04-20 02:46:20 -07:00
Björn Quentin
3fa71b2099
Merge pull request #426 from onsdagens/main
...
Added API to raise and reset software interrupts
2023-04-18 14:18:45 +02:00
onsdagens
a0a47a4add
Fixed comments
2023-04-18 13:48:01 +02:00
onsdagens
dd1be32387
Fixed comments
2023-04-18 13:47:49 +02:00
onsdagens
613136a5ef
Fixed comments
2023-04-18 13:20:00 +02:00
Bryan Kadzban
9c78a9c6c9
Fix ledc example code for non-esp32c3 devices
2023-04-17 13:56:40 -07:00
onsdagens
f999d68071
Merge branch 'esp-rs:main' into main
2023-04-17 10:48:05 +01:00
Björn Quentin
4b42f27a4f
Merge pull request #480 from bjoernQ/use-nightly-2023-03-09-in-ci
...
Pin nightly to 2023-03-09
2023-04-17 08:57:04 +02:00
bjoernQ
56a6910780
Pin nightly to 2023-03-09 to workaround a problem with embedded-hal-async in CI
2023-04-17 08:18:31 +02:00
Bryan Kadzban
9d85bc2ffe
Fix ledc example to specify a push-pull output
2023-04-16 20:37:27 -07:00
Bryan Kadzban
a48ba52107
Fix rustfmt
2023-04-16 20:32:58 -07:00
onsdagens
b79c4c2914
Added software interrupt API, examples for all of the MCUs
2023-04-14 18:55:25 +02:00
onsdagens
3d3b71924b
Added software interrupt API, examples for all of the MCUs
2023-04-14 18:53:49 +02:00
sreehari prasad
9ff3837537
rsa peripheral support ( #467 )
2023-04-11 11:58:10 +01:00
liebman
ba078ef547
use bitflags to decode wakeup cause ( #473 )
...
* get_wakeup_cause: use bitflags instead of cast, &
* get_wakeup_cause: bitflags for other cpus
2023-04-11 11:10:17 +01:00
Bryan Kadzban
885606839f
Let users configure the output_pin as open-drain.
...
Continue to default to push-pull.
2023-04-09 15:07:13 -07:00
Björn Quentin
696b21bd92
Merge pull request #471 from raiker/main
...
Use 192 as mclk_multiple for 24-bit I2S
2023-04-08 11:33:48 +02:00
Björn Quentin
61aaf69aeb
Merge pull request #472 from liebman/fix-get_wakeup_cause
...
get_wakeup_cause: fix comparison error
2023-04-08 11:17:06 +02:00
Christopher Liebman
85a76f88dd
get_wakeup_cause: fix comparison error
2023-04-07 15:24:05 -07:00
Josh Weberruss
2965bac64c
Use 192 as mclk_multiple for 24-bit I2S
2023-04-07 17:26:39 +10:00
Björn Quentin
e5d1c603b0
Merge pull request #470 from bjoernQ/prepare-for-mbedtls
...
Minor linker script additions
2023-04-06 14:37:16 +02:00
bjoernQ
b513464c38
Use correct linker script comment style
2023-04-06 13:37:33 +02:00
bjoernQ
48ff4c293b
Minor linker script additions
2023-04-06 13:28:07 +02:00
dimpolo
8815e75250
fix CpuControl::start_app_core signature ( #466 )
2023-04-05 16:37:22 +01:00
Scott Mabin
7ab9d91f26
move rwtext after other RAM data sections ( #464 )
2023-03-31 14:27:53 +01:00
Juraj Sadel
40bf086a0c
Add PeripheralClockControl argument to timg, wdt, sha, usb-serial-jtag and uart constructors ( #463 )
...
* PeripheralClockControl timer
* Add PeripheralClockControl to timg, wdt, sha, usb-serial-jtag and uart
* ESP32 updated examples
* ESP32C2 updated examples
* ESP32C3 updated examples
* ESP32S2 updated examples
* ESP32S3 updated examples
* ESP32C6 updated examples
* cargo fmt
2023-03-31 09:51:34 +02:00
Jesse Braham
aa235365b2
ESP32-C3: Disable usb_pad_enable when setting GPIO18/19 to input/output
2023-03-30 06:40:41 -07:00
Jesse Braham
a9104020fc
Minor documentation improvements ( #460 )
...
* Add README, improve documentation for `esp-hal-procmacros`
* Improve documentation for `esp-hal-smartled`
* Use esp-rs logo for all packages' documentation
2023-03-30 06:05:28 -07:00
Björn Quentin
a677abd3e8
Merge pull request #458 from bjoernQ/fix-c6-ieee802154-clock-enable
...
Fix 802.15.4 clock enabling (ESP32-C6)
2023-03-28 15:31:02 +02:00
bjoernQ
01f35245f8
Fix 802.15.4 clock enabling (ESP32-C6)
2023-03-28 13:41:21 +02:00
Jesse Braham
aac83644af
New releases for all packages
2023-03-27 10:38:46 -07:00
Björn Quentin
b3435f88d9
Merge pull request #456 from bjoernQ/radio-related-clocks
...
Add support for radio peripheral clock control
2023-03-27 13:22:51 +02:00
bjoernQ
4bd05d9032
Fix typo
2023-03-27 13:01:36 +02:00
bjoernQ
94bbdac00e
Add support for radio peripheral clock control
2023-03-27 10:26:45 +02:00
Juraj Sadel
0244c6d6fc
Feature/reset functionalities ( #452 )
...
* add `software_reset`, `software_reset_cpu` and `rtc_get_wakeup_cause`
* Add SOC wakeup symbols
* Add SleepSource and WakeupReason enums and get_wakeup_cause() function
* Add other SOC wakeups
* fixups and fmt
* address review comments
* Update symbols in WakeupReason enum
* fmt
---------
Co-authored-by: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com>
2023-03-24 20:37:24 +01:00
Björn Quentin
91ded64b16
Merge pull request #454 from MabezDev/esp32-dram-linker-fix
...
ESP32 DRAM linker fix
2023-03-24 16:59:42 +01:00
Scott Mabin
192f4678db
Apply fix to esp32s2 & esp32s3
2023-03-24 15:50:23 +00:00
Scott Mabin
3444476eb2
ESP32 DRAM linker fix
...
The ROM code _data_ section is loaded into the middle of the DRAM
address space, unlike the other chips where it is loaded at the end.
Therefore subtracting the previously "reserved" section from heap end
could actually corrupt the ROM data section.
For the ESP32, the DRAM block has been split into two individual
segments, with some reserved segments in the middle (addresses taken
from esp-idf). At the moment we don't use the second segment at all in
esp-hal, but we could utilize it in esp-wifi for placing the internal
allocator for example.
2023-03-24 14:49:45 +00:00
Björn Quentin
8f6a0c91e9
Merge pull request #453 from vojty/patch-1
...
Update README.md to use esp-rs/esp-template
2023-03-24 08:51:03 +01:00
Tomáš Vojtášek
0fd5a02c66
Update README.md to use esp-rs/esp-template
2023-03-23 19:51:19 +01:00
Björn Quentin
15ce2d1452
Merge pull request #450 from MabezDev/esp-wifi-linker-script-fixes
...
esp32c3/c2: use rwtext.wifi in dummy section calculation
2023-03-23 15:39:23 +01:00
Scott Mabin
0b02619e37
esp32c3/c2: use rwtext.wifi in dummy section calculation
2023-03-23 12:45:30 +00:00
Björn Quentin
593dcb875b
Merge pull request #444 from bjoernQ/feature/spi-half-duplex
...
Half-duplex SPI
2023-03-23 08:35:25 +01:00
Jesse Braham
1ab40d41a7
Update PACs to newest versions
2023-03-22 09:33:36 -07:00
bjoernQ
ba75b151c3
Fix embassy_spi example
2023-03-22 09:06:37 +01:00
bjoernQ
6c7875afef
Half-duplex SPI
2023-03-21 15:44:16 +01:00