-
Notifications
You must be signed in to change notification settings - Fork 2
/
sdkconfig.defaults
105 lines (95 loc) · 2.97 KB
/
sdkconfig.defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# Serial flasher config
#
CONFIG_ESPTOOLPY_FLASHSIZE_1MB=
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
#
# Compiler options
#
CONFIG_OPTIMIZATION_LEVEL_DEBUG=y
CONFIG_OPTIMIZATION_LEVEL_RELEASE=
CONFIG_STACK_CHECK_NONE=
CONFIG_STACK_CHECK_NORM=
CONFIG_STACK_CHECK_STRONG=
CONFIG_STACK_CHECK_ALL=y
CONFIG_STACK_CHECK=y
#
# Component => ESP-32 Specific => Minimum Supported ESP32 revision := 1
# (default=0)
CONFIG_ESP32_REV_MIN_0=
CONFIG_ESP32_REV_MIN_1=y
CONFIG_ESP32_REV_MIN_2=
CONFIG_ESP32_REV_MIN_3=
CONFIG_ESP32_REV_MIN=1
#
##
# OPTIONAL Component => ESP-32 Specific => UART... ***TX RX ports are specific for Adafruit HUZZAH32
# @doc https://esp-idf.readthedocs.io/en/latest/api-reference/kconfig.html#envvar-CONFIG_CONSOLE_UART
# Config meteohub for RobotDyn USBUART so I can monitor execution whilst powered by the battery (no USB link then).
#
# make menuconfig:
# UART for console output (Custom)
# UART peripheral to use for console output (0-1) (UART0)
# (22) UART TX on GPIO#
# (23) UART RX on GPIO#
# (115200) UART console baud rate
#
#####CONFIG_CONSOLE_UART_DEFAULT=
#####CONFIG_CONSOLE_UART_CUSTOM=y
#####CONFIG_CONSOLE_UART_NONE=
#####CONFIG_CONSOLE_UART_CUSTOM_NUM_0=y
#####CONFIG_CONSOLE_UART_CUSTOM_NUM_1=
#####CONFIG_CONSOLE_UART_NUM=0
#####CONFIG_CONSOLE_UART_TX_GPIO=22
#####CONFIG_CONSOLE_UART_RX_GPIO=23
#####CONFIG_CONSOLE_UART_BAUDRATE=115200
#
# Component => ESP-32 Specific => Panic Handler Behavior := Print registers and Halt
#
CONFIG_ESP32_PANIC_PRINT_HALT=y
CONFIG_ESP32_PANIC_PRINT_REBOOT=
CONFIG_ESP32_PANIC_SILENT_REBOOT=
CONFIG_ESP32_PANIC_GDBSTUB=
#
# Using an external TXCO 32kHz oscillator
# Component => ESP-32 Specific => RTC clock source := External 32kHz oscillator at 32K_XP pin
# Component => ESP-32 Specific => Number of cycles for RTC_SLOW_CLK calibration := 5000
#
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC=y
CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256=
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=5000
#
# Component => FreeRTOS
#
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL=
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
#
# Component => Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=
CONFIG_HEAP_POISONING_LIGHT=
CONFIG_HEAP_POISONING_COMPREHENSIVE=y
CONFIG_HEAP_TRACING=
#
# Component => Log output
#
CONFIG_LOG_DEFAULT_LEVEL_NONE=
CONFIG_LOG_DEFAULT_LEVEL_ERROR=
CONFIG_LOG_DEFAULT_LEVEL_WARN=
CONFIG_LOG_DEFAULT_LEVEL_INFO=
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_LOG_COLORS=y
#
# LWIP
# ESP-IDF v3.2: LWIP_DHCP_RESTORE_LAST_IP=y
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y