Commit Graph

297 Commits

Author SHA1 Message Date
Björn Quentin
8bdf11b287
I2C Driver Refactoring (#233)
* I2C Driver Refactoring

* Improve I2C error handling and robustness
2022-11-09 06:34:55 -08:00
Björn Quentin
42fc21517c
Merge pull request #256 from icedrocket/main
doc: add `#[doc(inline)]` to esp-hal-common re-exports
2022-11-08 11:05:28 +01:00
icedrocket
b52670a3e9 doc: add #[doc(inline)] to esp-hal-common re-exports 2022-11-08 18:26:00 +09:00
dimi
ece70e99a4 Add Mcpwm0 and Mcpwm1 to system::Peripheral 2022-11-07 13:24:17 -08:00
Björn Quentin
da3cbca61e
Merge pull request #251 from dimpolo/outputsignal
add/correct docs for gpio::OutputSignal and add PWM output signal to ESP32-S3
2022-11-07 10:21:58 +01:00
Björn Quentin
c2a2551c49
Merge pull request #250 from jessebraham/feature/esp32c2-ledc
Add LEDC support for ESP32-C2
2022-11-07 08:09:23 +01:00
dimi
7df93cb359 add/correct docs for gpio::OutputSignal and add PWM output signal to ESP32-S3 2022-11-07 02:13:53 +01:00
Jesse Braham
ced5941871 Add LEDC support for ESP32-C2 2022-11-04 08:19:53 -07:00
Björn Quentin
1ab2bb0e3e
Merge pull request #248 from jessebraham/fixes/gdma
Update to newest PACs for C2/C3/S3 and clean up GDMA implementation
2022-11-04 07:53:41 +01:00
Jesse Braham
251e60c20f Update to newest PACs for C2/C3/S3 and clean up GDMA implementation 2022-11-03 11:17:51 -07:00
Björn Quentin
2b15b18c6b
Merge pull request #246 from 9names/bl_uninit_section
Add uninit section to bl and mv linker scripts to match db
2022-11-03 09:59:56 +01:00
9names
0f803d07cd Add uninit section to bl and mv linker scripts to match db 2022-11-03 19:37:00 +11:00
Juraj Sadel
f6ba237e76
ADC: Refactor, join S2 and S3 together and C2 and C3 as well (#245)
* ADC: Refactor, join S2 and S3 together and C2 and C3 as well

* S3: Update PAC version
2022-11-02 10:38:03 -07:00
bjoernQ
a876d8d344 Support USB-DEVICE on ESP32-S3 and ESP32-S2 2022-11-02 07:14:50 -07:00
Björn Quentin
fae2f1add3
Merge pull request #244 from bjoernQ/fix-esp32c2-apbclock
ESP32-C2 APB clock is 40MHz, not 80MHz
2022-11-02 13:59:26 +01:00
bjoernQ
ec60c4b5fe ESP32-C2 APB clock is 40MHz, not 80MHz 2022-11-02 13:11:00 +01:00
Björn Quentin
5d8d276577
Merge pull request #243 from icedrocket/main
Fix typo
2022-11-02 11:22:23 +01:00
icedrocket
e28a7d1ba0 Fix typo 2022-11-01 20:32:55 +09:00
Jesse Braham
e040b55fd9 Check each supported chip with the direct-boot feature enabled as well 2022-10-31 10:18:22 -07:00
bjoernQ
ad1970c6b7 Offer DMA channel 3 and 4 on ESP32-S3 2022-10-31 07:09:15 -07:00
Björn Quentin
9152792d5f
Merge pull request #239 from dimpolo/start_app_core_improvements
cpu_control::start_app_core improvements
2022-10-31 15:00:08 +01:00
dimi
2f3b6c843c remove lifetime annotations from cpu_control::start_app_core 2022-10-31 14:46:31 +01:00
dimi
5cf6079054 cpu_control::start_app_core improvements
* add `Send` bound
* move `#[must_use]` to `AppCoreGuard`
* remove redundant `-> ()`
* document guard behaviour
2022-10-31 13:28:56 +01:00
Björn Quentin
5aedd3e58c
Merge pull request #238 from bjoernQ/bugfix/fix-esp32s3-direct-boot
Add high level CPU interrupts for ESP32-S3 direct-boot
2022-10-31 12:28:18 +01:00
bjoernQ
c17ae772f6 Add high level CPU interrupts for ESP32-S3 direct-boot 2022-10-31 08:21:33 +01:00
Björn Quentin
8ec46df825
Merge pull request #234 from jessebraham/feature/dma
Add DMA support for ESP32-C2 and ESP32-S3
2022-10-28 16:15:28 +02:00
Jesse Braham
4f18e2c846 Update the priority enum and add missing channels for ESP32-S3 2022-10-28 06:51:10 -07:00
Björn Quentin
79e1465062
Merge pull request #235 from jeancf/change_spi_bus_freq
Add method to change SPI bus frequency
2022-10-28 14:07:56 +02:00
JCF
a7d561ec26 Added method to change bus frequency to Spi struct 2022-10-28 11:15:39 +02:00
Jesse Braham
c642c79297 Add DMA support for ESP32-S3 2022-10-27 12:08:23 -07:00
Jesse Braham
e2df98da52 Add DMA support for ESP32-C2 2022-10-27 11:22:30 -07:00
bjoernQ
3e4710b822 Add DMA support for ESP32-S2 2022-10-25 07:38:45 -07:00
Björn Quentin
6d769ab274
Merge pull request #227 from bjoernQ/fix/multicore-example
Fix multicore example
2022-10-25 11:57:59 +02:00
bjoernQ
53ad16e9b7 Fix multicore example 2022-10-25 10:01:58 +02:00
Jesse Braham
a8e879b681
Merge pull request #49 from gustavonihei/feature/c3_mcuboot
ESP32-C3: Add support for booting from MCUboot bootloader
2022-10-24 13:25:31 -07:00
Gustavo Henrique Nihei
1ced513d96 Add documentation about supported boot methods
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-24 11:01:50 -03:00
Gustavo Henrique Nihei
3ff5da5aa7 esp-hal-common: Remove unnecessary unsafe block
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-24 09:52:46 -03:00
Gustavo Henrique Nihei
5cca83ca51 esp32c3: Set entry point address on MCUboot image header
Previously it assumed that the entry point was allocated at the
beginning of the ".rwtext" output section, which is not always true.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-24 09:52:46 -03:00
Gustavo Henrique Nihei
5b6c52c02c esp32c3: Add support for booting from MCUboot bootloader
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-24 09:37:52 -03:00
Björn Quentin
ca4f295f91
Merge pull request #223 from playfulFence/main
Fix lifetime error
2022-10-24 13:58:24 +02:00
playfulFence
4fb77df6ce Fix lifetime error 2022-10-24 13:09:06 +02:00
Björn Quentin
9744d12484
SPI-DMA for ESP32 (#216)
* SPI-DMA for ESP32

* MSRV Fix
2022-10-20 09:12:31 -07:00
Björn Quentin
d78cb10218
Merge pull request #217 from JurajSadel/esp32s3/adc
ESP32S3: Add ADC support
2022-10-20 17:58:43 +02:00
Juraj Sadel
d850b76246 ESP32S3: Add ADC support 2022-10-20 17:44:08 +02:00
Jesse Braham
00cba4485c Update esp-hal-common to use the newest PACs 2022-10-19 07:00:20 -07:00
Björn Quentin
d6f26428a1
Merge pull request #214 from jessebraham/fixes/c2-af
Add the Alternate Functions in the GPIO definitions for ESP32-C2
2022-10-14 07:47:24 +02:00
Jesse Braham
fcbeda0c5f Add the Alternate Functions in the GPIO definitions for ESP32-C2 2022-10-13 11:02:52 -07:00
bjoernQ
9cb24bb79f Basic DMA for ESP32-C3 2022-10-13 10:14:51 -07:00
Jesse Braham
f13c47f28f
Merge pull request #211 from jessebraham/feature/esp32c2
Add support for the ESP32-C2/ESP8684
2022-10-13 08:52:44 -07:00
Jesse Braham
908fb48e6c Remove some unused constants 2022-10-13 07:34:02 -07:00