Skip to content

Commit 9ef817a

Browse files
committed
debugging
1 parent 97d2ea8 commit 9ef817a

4 files changed

Lines changed: 68 additions & 4 deletions

File tree

ports/espressif/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ LDFLAGS += \
246246
ifeq ($(IDF_TARGET),esp32)
247247
LDFLAGS += \
248248
-Tesp32.rom.newlib-data.ld \
249+
-Tesp32.rom.syscalls.ld \
249250
-Tesp32.rom.libc-funcs.ld \
250251
-Tesp32.rom.newlib-reent-funcs.ld \
251252
-Tesp32.rom.spiflash_legacy.ld
@@ -283,7 +284,9 @@ LDFLAGS += \
283284
-Tesp32c6.rom.phy.ld \
284285
-Tesp32c6.rom.pp.ld \
285286
-Tesp32c6.rom.net80211.ld \
287+
-Tesp32c6.rom.libc.ld \
286288
-Tesp32c6.rom.newlib.ld \
289+
-Tesp32c6.rom.spiflash.ld \
287290
-Tesp32c6.rom.coexist.ld \
288291
-Tesp32c6.rom.heap.ld \
289292
-Tesp32c6.rom.systimer.ld \
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#
2+
# Espressif IoT Development Framework Configuration
3+
#
4+
#
5+
# Component config
6+
#
7+
#
8+
# ESP-Driver:GPTimer Configurations
9+
#
10+
CONFIG_GPTIMER_ISR_CACHE_SAFE=y
11+
# end of ESP-Driver:GPTimer Configurations
12+
13+
#
14+
# Log
15+
#
16+
#
17+
# Log Level
18+
#
19+
# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set
20+
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=y
21+
CONFIG_LOG_DEFAULT_LEVEL=5
22+
CONFIG_LOG_MAXIMUM_LEVEL=5
23+
# end of Log Level
24+
25+
# end of Log
26+
27+
#
28+
# LibC
29+
#
30+
CONFIG_LIBC_NEWLIB_NANO_FORMAT=y
31+
# end of LibC
32+
33+
# end of Component config
34+
35+
# end of Espressif IoT Development Framework Configuration

ports/espressif/boards/espressif_esp32c6_devkitc_1_n8/sdkconfig

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,36 @@
55
# Component config
66
#
77
#
8-
# LWIP
8+
# ESP-Driver:GPTimer Configurations
99
#
10-
# end of LWIP
10+
CONFIG_GPTIMER_ISR_CACHE_SAFE=y
11+
# end of ESP-Driver:GPTimer Configurations
12+
13+
#
14+
# Log
15+
#
16+
#
17+
# Log Level
18+
#
19+
# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set
20+
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=y
21+
CONFIG_LOG_DEFAULT_LEVEL=5
22+
CONFIG_LOG_MAXIMUM_LEVEL=5
23+
# end of Log Level
24+
25+
# end of Log
26+
27+
#
28+
# LibC
29+
#
30+
CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS=y
31+
# end of LibC
32+
33+
#
34+
# SPI Flash driver
35+
#
36+
CONFIG_SPI_FLASH_ROM_IMPL=y
37+
# end of SPI Flash driver
1138

1239
# end of Component config
1340

ports/espressif/esp-idf-config/partitions-8MB-no-uf2.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
# partition_table, data, table, 0x8000, 4K
44
nvs, data, nvs, 0x9000, 20K
55
otadata, data, ota, 0xe000, 8K
6-
ota_0, app, ota_0, 0x10000, 2048K
7-
ota_1, app, ota_1, 0x210000, 2048K
6+
ota_0, app, ota_0, 0x10000, 4096K
87
user_fs, data, fat, 0x410000, 4032K

0 commit comments

Comments
 (0)