From 1f6b6a42e5d581300dc3f72ebe489ea1380fe0ef Mon Sep 17 00:00:00 2001 From: Jesse Braham Date: Wed, 16 Oct 2024 12:29:51 -0700 Subject: Update support/example for ESP32-C3 to use latest versions of dependencies (#975) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update `rtic` package to use latest version of `esp32c3` dependency * Update `rtic-macros` ESP32-C3 bindings to reflect changes in HAL * Update the ESP32-C3 examples to use latest versions of all dependencies * Update changelogs * adjust expected qemu output, add compile-time checks * remove runtime checks, this is checked at compile time * fix expected qemu output * Clean up interrupt enable code a bit * Update `rtic-monotonic` to use the latest PAC for ESP32-C3 * Update `CHANGELOG.md` for `rtic-monotonic` * ci: esp32c3: Format runner.sh * ci: esp32c3: Default to silent boot export DEBUGGING while running to get verbose boot env DEBUGGING=1 cargo xtask ... * ci: esp32c3: Update expected example output --------- Co-authored-by: onsdagens Co-authored-by: Henrik Tjäder --- ci/expected/esp32c3/monotonic.run | 28 ---------------------------- ci/expected/esp32c3/sw_and_hw.run | 28 ---------------------------- 2 files changed, 56 deletions(-) (limited to 'ci/expected/esp32c3') diff --git a/ci/expected/esp32c3/monotonic.run b/ci/expected/esp32c3/monotonic.run index 9bf82bd..7e3decc 100644 --- a/ci/expected/esp32c3/monotonic.run +++ b/ci/expected/esp32c3/monotonic.run @@ -1,33 +1,5 @@ QEMU 8.2.0 monitor - type 'help' for more information (qemu) q -ESP-ROM:esp32c3-api1-20210207 -Build:Feb 7 2021 -rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) -SPIWP:0xee -mode:DIO, clock div:2 -load:0x3fcd5820,len:0x1714 -load:0x403cc710,len:0x968 -load:0x403ce710,len:0x2f9c -entry 0x403cc710 -I (0) boot: ESP-IDF v5.1.2-342-gbcf1645e44 2nd stage bootloader -I (0) boot: compile time Dec 12 2023 10:50:58 -I (0) boot: chip revision: v0.3 -I (0) boot.esp32c3: SPI Speed : 40MHz -I (0) boot.esp32c3: SPI Mode : SLOW READ -I (0) boot.esp32c3: SPI Flash Size : 4MB -I (0) boot: Enabling RNG early entropy source... -I (1) boot: Partition Table: -I (1) boot: ## Label Usage Type ST Offset Length -I (1) boot: 0 nvs WiFi data 01 02 00009000 00006000 -I (1) boot: 1 phy_init RF data 01 01 0000f000 00001000 -I (1) boot: 2 factory factory app 00 00 00010000 003f0000 -I (1) boot: End of partition table -I (1) esp_image: REDACTED -I (3) esp_image: REDACTED -I (3) esp_image: REDACTED -I (8) esp_image: REDACTED -I (11) boot: Loaded app from partition at offset 0x10000 -I (11) boot: Disabling RNG early entropy source... init hello from bar hello from baz diff --git a/ci/expected/esp32c3/sw_and_hw.run b/ci/expected/esp32c3/sw_and_hw.run index 9421a9c..693b053 100644 --- a/ci/expected/esp32c3/sw_and_hw.run +++ b/ci/expected/esp32c3/sw_and_hw.run @@ -1,33 +1,5 @@ QEMU 8.2.0 monitor - type 'help' for more information (qemu) q -ESP-ROM:esp32c3-api1-20210207 -Build:Feb 7 2021 -rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) -SPIWP:0xee -mode:DIO, clock div:2 -load:0x3fcd5820,len:0x1714 -load:0x403cc710,len:0x968 -load:0x403ce710,len:0x2f9c -entry 0x403cc710 -I (0) boot: ESP-IDF v5.1.2-342-gbcf1645e44 2nd stage bootloader -I (0) boot: compile time Dec 12 2023 10:50:58 -I (0) boot: chip revision: v0.3 -I (0) boot.esp32c3: SPI Speed : 40MHz -I (0) boot.esp32c3: SPI Mode : SLOW READ -I (0) boot.esp32c3: SPI Flash Size : 4MB -I (0) boot: Enabling RNG early entropy source... -I (1) boot: Partition Table: -I (1) boot: ## Label Usage Type ST Offset Length -I (1) boot: 0 nvs WiFi data 01 02 00009000 00006000 -I (1) boot: 1 phy_init RF data 01 01 0000f000 00001000 -I (1) boot: 2 factory factory app 00 00 00010000 003f0000 -I (1) boot: End of partition table -I (1) esp_image: REDACTED -I (3) esp_image: REDACTED -I (3) esp_image: REDACTED -I (8) esp_image: REDACTED -I (11) boot: Loaded app from partition at offset 0x10000 -I (11) boot: Disabling RNG early entropy source... init Inside high prio task, press button now! Leaving high prio task. -- cgit v1.2.3