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
Scott Mabin
9a5a546228
Unify linker scripts ( #443 )
...
* esp32 & esp32s2 sharing scripts
* add wokwi files
* Add fixup section for esp32s2, fix ordering of sectino includes
* Remove debug asm file
* Use shared linker scripts for s3 with fixups
* Add external.x sections back
* Move ld scripts into esp-hal-common
* esp32c3 unified linker scripts
- rework original c3 script to use the xtensa named sections
(e.g, _SECTIONNAME_start)
- Add fixups in esp32c3 specific linker
- Remove useless text section start and end (not required when using any
form of bootloader)
* Add RTC alias'. Move some shared fixups to a file
* comment and cleanup
* unify c2 linker script
* unify c6 linker script
* remove debug configs
* use new esp-riscv-rt
* fmt
* align db symbol names
* fix s3 db
2023-03-20 08:12:14 -07:00
Jesse Braham
536adac991
Clean up cfg gating and prelude module ( #442 )
...
* Add additional `cfg` gates to re-exports in `esp-hal-common`
This leaves only `clock`, `delay`, `peripheral`, `prelude`, `rom`, and `soc` *not* behind `cfg`s
* Simplify the prelude, update its `cfg`s, and re-export some missing traits
* Update various dependencies
2023-03-20 11:22:55 +00:00
Jesse Braham
2eeb3dbc5b
Load config for each device from a TOML files instead of hard-coding in build script ( #415 )
...
* Move chip metadata into TOML files and update build script to consume them
* Make necessary changes to get all examples building again
2023-03-16 06:41:14 -07:00
Juraj Sadel
2e97c7b5c9
Disable SWDT in sha, systimer and aes C2/C3/C6 examples
2023-03-15 07:20:13 -07:00
Juraj Sadel
ec6220f23e
Fix warnings and clean a bit rtc module
2023-03-14 09:02:37 -07:00
bjoernQ
5b2729b75d
Remove r0 dependency
2023-03-14 08:27:43 -07:00
Jesse Braham
a0b72bdfa5
Use latest PACs and make required changes
2023-03-14 06:23:58 -07:00
Jesse Braham
20cdf81bd6
Check the esp-hal-smartled package in CI
...
This does *not* verify MSRV or clippy at this time
2023-03-10 08:06:11 -08:00