Skip to content

Commit 1f6b6a4

Browse files
jessebrahamonsdagensAfoHT
authored
Update support/example for ESP32-C3 to use latest versions of dependencies (#975)
* 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 <[email protected]> Co-authored-by: Henrik Tjäder <[email protected]>
1 parent 89d76a5 commit 1f6b6a4

File tree

14 files changed

+453
-430
lines changed

14 files changed

+453
-430
lines changed

ci/expected/esp32c3/monotonic.run

-28
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
QEMU 8.2.0 monitor - type 'help' for more information
22
(qemu) q
3-
ESP-ROM:esp32c3-api1-20210207
4-
Build:Feb 7 2021
5-
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
6-
SPIWP:0xee
7-
mode:DIO, clock div:2
8-
load:0x3fcd5820,len:0x1714
9-
load:0x403cc710,len:0x968
10-
load:0x403ce710,len:0x2f9c
11-
entry 0x403cc710
12-
I (0) boot: ESP-IDF v5.1.2-342-gbcf1645e44 2nd stage bootloader
13-
I (0) boot: compile time Dec 12 2023 10:50:58
14-
I (0) boot: chip revision: v0.3
15-
I (0) boot.esp32c3: SPI Speed : 40MHz
16-
I (0) boot.esp32c3: SPI Mode : SLOW READ
17-
I (0) boot.esp32c3: SPI Flash Size : 4MB
18-
I (0) boot: Enabling RNG early entropy source...
19-
I (1) boot: Partition Table:
20-
I (1) boot: ## Label Usage Type ST Offset Length
21-
I (1) boot: 0 nvs WiFi data 01 02 00009000 00006000
22-
I (1) boot: 1 phy_init RF data 01 01 0000f000 00001000
23-
I (1) boot: 2 factory factory app 00 00 00010000 003f0000
24-
I (1) boot: End of partition table
25-
I (1) esp_image: REDACTED
26-
I (3) esp_image: REDACTED
27-
I (3) esp_image: REDACTED
28-
I (8) esp_image: REDACTED
29-
I (11) boot: Loaded app from partition at offset 0x10000
30-
I (11) boot: Disabling RNG early entropy source...
313
init
324
hello from bar
335
hello from baz

ci/expected/esp32c3/sw_and_hw.run

-28
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
QEMU 8.2.0 monitor - type 'help' for more information
22
(qemu) q
3-
ESP-ROM:esp32c3-api1-20210207
4-
Build:Feb 7 2021
5-
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
6-
SPIWP:0xee
7-
mode:DIO, clock div:2
8-
load:0x3fcd5820,len:0x1714
9-
load:0x403cc710,len:0x968
10-
load:0x403ce710,len:0x2f9c
11-
entry 0x403cc710
12-
I (0) boot: ESP-IDF v5.1.2-342-gbcf1645e44 2nd stage bootloader
13-
I (0) boot: compile time Dec 12 2023 10:50:58
14-
I (0) boot: chip revision: v0.3
15-
I (0) boot.esp32c3: SPI Speed : 40MHz
16-
I (0) boot.esp32c3: SPI Mode : SLOW READ
17-
I (0) boot.esp32c3: SPI Flash Size : 4MB
18-
I (0) boot: Enabling RNG early entropy source...
19-
I (1) boot: Partition Table:
20-
I (1) boot: ## Label Usage Type ST Offset Length
21-
I (1) boot: 0 nvs WiFi data 01 02 00009000 00006000
22-
I (1) boot: 1 phy_init RF data 01 01 0000f000 00001000
23-
I (1) boot: 2 factory factory app 00 00 00010000 003f0000
24-
I (1) boot: End of partition table
25-
I (1) esp_image: REDACTED
26-
I (3) esp_image: REDACTED
27-
I (3) esp_image: REDACTED
28-
I (8) esp_image: REDACTED
29-
I (11) boot: Loaded app from partition at offset 0x10000
30-
I (11) boot: Disabling RNG early entropy source...
313
init
324
Inside high prio task, press button now!
335
Leaving high prio task.

0 commit comments

Comments
 (0)