2016-11-18 14:07:25 +01:00
|
|
|
menu "Arduino Configuration"
|
|
|
|
|
2017-01-09 16:51:07 +01:00
|
|
|
config ENABLE_ARDUINO_DEPENDS
|
|
|
|
bool
|
|
|
|
select LWIP_SO_RCVBUF
|
2017-02-28 22:36:05 +01:00
|
|
|
select ETHERNET
|
|
|
|
select WIFI_ENABLED
|
|
|
|
select ESP32_PHY_CALIBRATION_AND_DATA_STORAGE
|
|
|
|
select MEMMAP_SMP
|
2017-01-09 16:51:07 +01:00
|
|
|
default "y"
|
|
|
|
|
2016-11-18 14:07:25 +01:00
|
|
|
config AUTOSTART_ARDUINO
|
|
|
|
bool "Autostart Arduino setup and loop on boot"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enabling this option will implement app_main and start Arduino.
|
|
|
|
All you need to implement in your main.cpp is setup() and loop()
|
|
|
|
and include Arduino.h
|
|
|
|
If disabled, you can call initArduino() to run any preparations
|
|
|
|
required by the framework
|
|
|
|
|
|
|
|
config DISABLE_HAL_LOCKS
|
|
|
|
bool "Disable mutex locks for HAL"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enabling this option will run all hardware abstraction without locks.
|
|
|
|
While communication with external hardware will be faster, you need to
|
|
|
|
make sure that there is no option to use the same bus from another thread
|
|
|
|
or interrupt at the same time. Option is best used with Arduino enabled
|
|
|
|
and code implemented only in setup/loop and Arduino callbacks
|
|
|
|
|
|
|
|
menu "Debug Log Configuration"
|
|
|
|
choice ARDUHAL_LOG_DEFAULT_LEVEL
|
|
|
|
bool "Default log level"
|
|
|
|
default ARDUHAL_LOG_DEFAULT_LEVEL_ERROR
|
|
|
|
help
|
|
|
|
Specify how much output to see in logs by default.
|
|
|
|
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_NONE
|
|
|
|
bool "No output"
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_ERROR
|
|
|
|
bool "Error"
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_WARN
|
|
|
|
bool "Warning"
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_INFO
|
|
|
|
bool "Info"
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_DEBUG
|
|
|
|
bool "Debug"
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL_VERBOSE
|
|
|
|
bool "Verbose"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARDUHAL_LOG_DEFAULT_LEVEL
|
|
|
|
int
|
|
|
|
default 0 if ARDUHAL_LOG_DEFAULT_LEVEL_NONE
|
|
|
|
default 1 if ARDUHAL_LOG_DEFAULT_LEVEL_ERROR
|
|
|
|
default 2 if ARDUHAL_LOG_DEFAULT_LEVEL_WARN
|
|
|
|
default 3 if ARDUHAL_LOG_DEFAULT_LEVEL_INFO
|
|
|
|
default 4 if ARDUHAL_LOG_DEFAULT_LEVEL_DEBUG
|
|
|
|
default 5 if ARDUHAL_LOG_DEFAULT_LEVEL_VERBOSE
|
|
|
|
|
|
|
|
config ARDUHAL_LOG_COLORS
|
|
|
|
bool "Use ANSI terminal colors in log output"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Enable ANSI terminal color codes in bootloader output.
|
|
|
|
In order to view these, your terminal program must support ANSI color codes.
|
|
|
|
|
2017-10-13 23:06:55 +02:00
|
|
|
config ARDUHAL_ESP_LOG
|
|
|
|
bool "Forward ESP_LOGx to Arduino log output"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
This option will redefine the ESP_LOGx macros to Arduino's log_x macros.
|
|
|
|
To enable for your application, add the follwing after your includes:
|
|
|
|
#ifdef ARDUINO_ARCH_ESP32
|
|
|
|
#include "esp32-hal-log.h"
|
|
|
|
#endif
|
|
|
|
|
2016-11-18 14:07:25 +01:00
|
|
|
endmenu
|
|
|
|
|
2018-04-07 08:45:18 +02:00
|
|
|
choice ARDUHAL_PARTITION_SCHEME
|
|
|
|
bool "Used partition scheme"
|
|
|
|
default ARDUHAL_PARTITION_SCHEME_DEFAULT
|
|
|
|
help
|
|
|
|
Specify which partition scheme to be used.
|
|
|
|
|
|
|
|
config ARDUHAL_PARTITION_SCHEME_DEFAULT
|
|
|
|
bool "Default"
|
|
|
|
config ARDUHAL_PARTITION_SCHEME_MINIMAL
|
|
|
|
bool "Minimal (for 2MB FLASH)"
|
|
|
|
config ARDUHAL_PARTITION_SCHEME_NO_OTA
|
|
|
|
bool "No OTA (for large apps)"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARDUHAL_PARTITION_SCHEME
|
|
|
|
string
|
|
|
|
default "default" if ARDUHAL_PARTITION_SCHEME_DEFAULT
|
|
|
|
default "minimal" if ARDUHAL_PARTITION_SCHEME_MINIMAL
|
|
|
|
default "no_ota" if ARDUHAL_PARTITION_SCHEME_NO_OTA
|
|
|
|
|
|
|
|
|
2016-11-18 14:07:25 +01:00
|
|
|
config AUTOCONNECT_WIFI
|
|
|
|
bool "Autoconnect WiFi on boot"
|
|
|
|
default "n"
|
|
|
|
depends on AUTOSTART_ARDUINO
|
|
|
|
help
|
|
|
|
If enabled, WiFi will connect to the last used SSID (if station was enabled),
|
|
|
|
else connection will be started only after calling WiFi.begin(ssid, password)
|
|
|
|
|
|
|
|
endmenu
|