Skip to content

Commit 11e56a4

Browse files
authored
Merge pull request #381 from lucasssvaz/fix/c5
fix: Fix ESP32-C5 bootloader offset
2 parents bc5780f + b77e2f7 commit 11e56a4

File tree

2 files changed

+2
-2
lines changed
  • pytest-embedded-arduino/pytest_embedded_arduino
  • pytest-embedded-nuttx/pytest_embedded_nuttx

2 files changed

+2
-2
lines changed

pytest-embedded-arduino/pytest_embedded_arduino/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ArduinoApp(App):
3232
binary_offsets: ClassVar[dict[str, list[int]]] = {
3333
'esp32': [0x1000, 0x8000, 0x10000],
3434
'esp32c3': [0x0, 0x8000, 0x10000],
35-
'esp32c5': [0x0, 0x8000, 0x10000],
35+
'esp32c5': [0x2000, 0x8000, 0x10000],
3636
'esp32c6': [0x0, 0x8000, 0x10000],
3737
'esp32h2': [0x0, 0x8000, 0x10000],
3838
'esp32p4': [0x2000, 0x8000, 0x10000],

pytest-embedded-nuttx/pytest_embedded_nuttx/serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class NuttxSerial(EspSerial):
2222
binary_offsets: ClassVar[dict[str, int]] = {
2323
'esp32': 0x1000,
2424
'esp32c3': 0x0,
25-
'esp32c5': 0x0,
25+
'esp32c5': 0x2000,
2626
'esp32c6': 0x0,
2727
'esp32h2': 0x0,
2828
'esp32p4': 0x2000,

0 commit comments

Comments
 (0)