mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-19 08:27:14 +08:00
feat(esp8266): Add macro "__ESP_FILE__" and its configuration
This commit is contained in:
@ -28,6 +28,27 @@ config NEWLIB_STDOUT_LINE_ENDING_CR
|
||||
bool "CR"
|
||||
endchoice
|
||||
|
||||
choice ESP_FILENAME_MACRO
|
||||
prompt "File name macro text"
|
||||
default ESP_FILENAME_MACRO_NO_PATH
|
||||
help
|
||||
This option allows configuring the macro __ESP_FILE__ text.
|
||||
Three options are possible:
|
||||
|
||||
no PATH: strip the path of macro __FILE__, for example: __FILE__="a/b/c/d.h", then __ESP_FILE__="d.h"
|
||||
|
||||
raw: same as macro __FILE__
|
||||
|
||||
null: text is string "null"
|
||||
|
||||
config ESP_FILENAME_MACRO_NO_PATH
|
||||
bool "no PATH"
|
||||
config ESP_FILENAME_MACRO_RAW
|
||||
bool "raw"
|
||||
config ESP_FILENAME_MACRO_NULL
|
||||
bool "null"
|
||||
endchoice
|
||||
|
||||
config SOC_FULL_ICACHE
|
||||
bool "Enable full cache mode"
|
||||
default n
|
||||
|
Reference in New Issue
Block a user