Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. #
  2. # Please run the following command for opening a page with more information about this configuration file:
  3. # idf.py docs -sp api-reference/kconfig.html
  4. #
  5. mainmenu "Espressif IoT Development Framework Configuration"
  6. orsource "./components/soc/$IDF_TARGET/include/soc/Kconfig.soc_caps.in"
  7. config IDF_CMAKE
  8. bool
  9. default "y"
  10. config IDF_ENV_FPGA
  11. bool
  12. option env="IDF_ENV_FPGA"
  13. help
  14. - This option is for internal use only.
  15. - Enabling this option will help enable all FPGA support so as to
  16. run ESP-IDF on an FPGA. This can help reproduce some issues that
  17. only happens on FPGA condition, or when you have to burn some
  18. efuses multiple times.
  19. config IDF_ENV_BRINGUP
  20. bool
  21. default "y" if IDF_TARGET_ESP32P4
  22. help
  23. - This option is ONLY used when doing new chip bringup.
  24. - This option will only enable necessary hw / sw settings for running
  25. a hello_world application.
  26. config IDF_CI_BUILD
  27. bool
  28. default y if "$(IDF_CI_BUILD)" = "y" || "$(IDF_CI_BUILD)" = 1
  29. config IDF_TOOLCHAIN
  30. # This option records the IDF target when sdkconfig is generated the first time.
  31. # It is not updated if environment variable $IDF_TOOLCHAIN changes later, and
  32. # the build system is responsible for detecting the mismatch between
  33. # CONFIG_IDF_TOOLCHAIN and $IDF_TOOLCHAIN.
  34. string
  35. default "$IDF_TOOLCHAIN"
  36. config IDF_TOOLCHAIN_CLANG
  37. bool
  38. default "y" if IDF_TOOLCHAIN="clang"
  39. config IDF_TARGET_ARCH_RISCV
  40. bool
  41. default "n"
  42. config IDF_TARGET_ARCH_XTENSA
  43. bool
  44. default "n"
  45. config IDF_TARGET_ARCH
  46. string
  47. default "riscv" if IDF_TARGET_ARCH_RISCV
  48. default "xtensa" if IDF_TARGET_ARCH_XTENSA
  49. config IDF_TARGET
  50. # This option records the IDF target when sdkconfig is generated the first time.
  51. # It is not updated if environment variable $IDF_TARGET changes later, and
  52. # the build system is responsible for detecting the mismatch between
  53. # CONFIG_IDF_TARGET and $IDF_TARGET.
  54. string
  55. default "$IDF_TARGET"
  56. config IDF_TARGET_LINUX
  57. bool
  58. default "y" if IDF_TARGET="linux"
  59. config IDF_TARGET_ESP32
  60. bool
  61. default "y" if IDF_TARGET="esp32"
  62. select IDF_TARGET_ARCH_XTENSA
  63. config IDF_TARGET_ESP32S2
  64. bool
  65. default "y" if IDF_TARGET="esp32s2"
  66. select FREERTOS_UNICORE
  67. select IDF_TARGET_ARCH_XTENSA
  68. config IDF_TARGET_ESP32S3
  69. bool
  70. default "y" if IDF_TARGET="esp32s3"
  71. select IDF_TARGET_ARCH_XTENSA
  72. config IDF_TARGET_ESP32C3
  73. bool
  74. default "y" if IDF_TARGET="esp32c3"
  75. select FREERTOS_UNICORE
  76. select IDF_TARGET_ARCH_RISCV
  77. config IDF_TARGET_ESP32C2
  78. bool
  79. default "y" if IDF_TARGET="esp32c2"
  80. select FREERTOS_UNICORE
  81. select IDF_TARGET_ARCH_RISCV
  82. config IDF_TARGET_ESP32C6
  83. bool
  84. default "y" if IDF_TARGET="esp32c6"
  85. select FREERTOS_UNICORE
  86. select IDF_TARGET_ARCH_RISCV
  87. config IDF_TARGET_ESP32P4
  88. bool
  89. default "y" if IDF_TARGET="esp32p4"
  90. select IDF_TARGET_ARCH_RISCV
  91. config IDF_TARGET_ESP32H2
  92. bool
  93. default "y" if IDF_TARGET="esp32h2"
  94. select FREERTOS_UNICORE
  95. select IDF_TARGET_ARCH_RISCV
  96. config IDF_TARGET_LINUX
  97. bool
  98. default "y" if IDF_TARGET="linux"
  99. config IDF_FIRMWARE_CHIP_ID
  100. hex
  101. default 0x0000 if IDF_TARGET_ESP32
  102. default 0x0002 if IDF_TARGET_ESP32S2
  103. default 0x0005 if IDF_TARGET_ESP32C3
  104. default 0x0009 if IDF_TARGET_ESP32S3
  105. default 0x000C if IDF_TARGET_ESP32C2
  106. default 0x000D if IDF_TARGET_ESP32C6
  107. default 0x0010 if IDF_TARGET_ESP32H2
  108. default 0x0012 if IDF_TARGET_ESP32P4
  109. default 0xFFFF
  110. menu "Build type"
  111. choice APP_BUILD_TYPE
  112. prompt "Application build type"
  113. default APP_BUILD_TYPE_APP_2NDBOOT
  114. help
  115. Select the way the application is built.
  116. By default, the application is built as a binary file in a format compatible with
  117. the ESP-IDF bootloader. In addition to this application, 2nd stage bootloader is
  118. also built. Application and bootloader binaries can be written into flash and
  119. loaded/executed from there.
  120. Another option, useful for only very small and limited applications, is to only link
  121. the .elf file of the application, such that it can be loaded directly into RAM over
  122. JTAG or UART. Note that since IRAM and DRAM sizes are very limited, it is not possible
  123. to build any complex application this way. However for some kinds of testing and debugging,
  124. this option may provide faster iterations, since the application does not need to be
  125. written into flash.
  126. Note: when APP_BUILD_TYPE_RAM is selected and loaded with JTAG, ESP-IDF does not contain
  127. all the startup code required to initialize the CPUs and ROM memory (data/bss).
  128. Therefore it is necessary to execute a bit of ROM code prior to executing the application.
  129. A gdbinit file may look as follows (for ESP32):
  130. # Connect to a running instance of OpenOCD
  131. target remote :3333
  132. # Reset and halt the target
  133. mon reset halt
  134. # Run to a specific point in ROM code,
  135. # where most of initialization is complete.
  136. thb *0x40007d54
  137. c
  138. # Load the application into RAM
  139. load
  140. # Run till app_main
  141. tb app_main
  142. c
  143. Execute this gdbinit file as follows:
  144. xtensa-esp32-elf-gdb build/app-name.elf -x gdbinit
  145. Example gdbinit files for other targets can be found in tools/test_apps/system/gdb_loadable_elf/
  146. When loading the BIN with UART, the ROM will jump to ram and run the app after finishing the ROM
  147. startup code, so there's no additional startup initialization required. You can use the
  148. `load_ram` in esptool.py to load the generated .bin file into ram and execute.
  149. Example:
  150. esptool.py --chip {chip} -p {port} -b {baud} --no-stub load_ram {app.bin}
  151. Recommended sdkconfig.defaults for building loadable ELF files is as follows.
  152. CONFIG_APP_BUILD_TYPE_RAM is required, other options help reduce application
  153. memory footprint.
  154. CONFIG_APP_BUILD_TYPE_RAM=y
  155. CONFIG_VFS_SUPPORT_TERMIOS=
  156. CONFIG_NEWLIB_NANO_FORMAT=y
  157. CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
  158. CONFIG_ESP_DEBUG_STUBS_ENABLE=
  159. CONFIG_ESP_ERR_TO_NAME_LOOKUP=
  160. config APP_BUILD_TYPE_APP_2NDBOOT
  161. bool
  162. prompt "Default (binary application + 2nd stage bootloader)"
  163. depends on !IDF_TARGET_LINUX
  164. select APP_BUILD_GENERATE_BINARIES
  165. select APP_BUILD_BOOTLOADER
  166. select APP_BUILD_USE_FLASH_SECTIONS
  167. config APP_BUILD_TYPE_RAM
  168. bool
  169. prompt "Build app runs entirely in RAM (EXPERIMENTAL)"
  170. select APP_BUILD_GENERATE_BINARIES
  171. endchoice # APP_BUILD_TYPE
  172. # Hidden options, set according to the choice above
  173. config APP_BUILD_GENERATE_BINARIES
  174. bool # Whether to generate .bin files or not
  175. config APP_BUILD_BOOTLOADER
  176. bool # Whether to build the bootloader
  177. config APP_BUILD_TYPE_PURE_RAM_APP
  178. bool
  179. prompt "Build app without SPI_FLASH/PSRAM support (saves ram)"
  180. depends on APP_BUILD_TYPE_RAM
  181. help
  182. If this option is enabled, external memory and related peripherals, such as Cache, MMU,
  183. Flash and PSRAM, won't be initialized. Corresponding drivers won't be introduced either.
  184. Components that depend on the spi_flash component will also be unavailable, such as
  185. app_update, etc. When this option is enabled, about 26KB of RAM space can be saved.
  186. config APP_BUILD_USE_FLASH_SECTIONS
  187. bool # Whether to place code/data into memory-mapped flash sections
  188. config APP_REPRODUCIBLE_BUILD
  189. bool "Enable reproducible build"
  190. default n
  191. select COMPILER_HIDE_PATHS_MACROS
  192. help
  193. If enabled, all date, time, and path information would be eliminated. A .gdbinit file would be create
  194. automatically. (or will be append if you have one already)
  195. config APP_NO_BLOBS
  196. bool "No Binary Blobs"
  197. default n
  198. help
  199. If enabled, this disables the linking of binary libraries in the application build. Note
  200. that after enabling this Wi-Fi/Bluetooth will not work.
  201. config APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS
  202. bool "App compatible with bootloaders before ESP-IDF v2.1"
  203. select APP_COMPATIBLE_PRE_V3_1_BOOTLOADERS
  204. depends on IDF_TARGET_ESP32
  205. default n
  206. help
  207. Bootloaders before ESP-IDF v2.1 did less initialisation of the
  208. system clock. This setting needs to be enabled to build an app
  209. which can be booted by these older bootloaders.
  210. If this setting is enabled, the app can be booted by any bootloader
  211. from IDF v1.0 up to the current version.
  212. If this setting is disabled, the app can only be booted by bootloaders
  213. from IDF v2.1 or newer.
  214. Enabling this setting adds approximately 1KB to the app's IRAM usage.
  215. config APP_COMPATIBLE_PRE_V3_1_BOOTLOADERS
  216. bool "App compatible with bootloader and partition table before ESP-IDF v3.1"
  217. depends on IDF_TARGET_ESP32
  218. default n
  219. help
  220. Partition tables before ESP-IDF V3.1 do not contain an MD5 checksum
  221. field, and the bootloader before ESP-IDF v3.1 cannot read a partition
  222. table that contains an MD5 checksum field.
  223. Enable this option only if your app needs to boot on a bootloader and/or
  224. partition table that was generated from a version *before* ESP-IDF v3.1.
  225. If this option and Flash Encryption are enabled at the same time, and any
  226. data partitions in the partition table are marked Encrypted, then the
  227. partition encrypted flag should be manually verified in the app before accessing
  228. the partition (see CVE-2021-27926).
  229. config APP_INIT_CLK
  230. bool
  231. depends on IDF_TARGET_ESP32
  232. default y if APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS
  233. default y if APP_BUILD_TYPE_RAM
  234. endmenu # Build type
  235. source "$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE"
  236. menu "Compiler options"
  237. choice COMPILER_OPTIMIZATION
  238. prompt "Optimization Level"
  239. default COMPILER_OPTIMIZATION_DEBUG
  240. help
  241. This option sets compiler optimization level (gcc -O argument) for the app.
  242. - The "Debug" setting will add the -0g flag to CFLAGS.
  243. - The "Size" setting will add the -0s flag to CFLAGS.
  244. - The "Performance" setting will add the -O2 flag to CFLAGS.
  245. - The "None" setting will add the -O0 flag to CFLAGS.
  246. The "Size" setting cause the compiled code to be smaller and faster, but
  247. may lead to difficulties of correlating code addresses to source file
  248. lines when debugging.
  249. The "Performance" setting causes the compiled code to be larger and faster,
  250. but will be easier to correlated code addresses to source file lines.
  251. "None" with -O0 produces compiled code without optimization.
  252. Note that custom optimization levels may be unsupported.
  253. Compiler optimization for the IDF bootloader is set separately,
  254. see the BOOTLOADER_COMPILER_OPTIMIZATION setting.
  255. config COMPILER_OPTIMIZATION_DEBUG
  256. bool "Debug (-Og)"
  257. config COMPILER_OPTIMIZATION_SIZE
  258. bool "Optimize for size (-Os)"
  259. config COMPILER_OPTIMIZATION_PERF
  260. bool "Optimize for performance (-O2)"
  261. config COMPILER_OPTIMIZATION_NONE
  262. bool "Debug without optimization (-O0)"
  263. endchoice
  264. choice COMPILER_OPTIMIZATION_ASSERTION_LEVEL
  265. prompt "Assertion level"
  266. default COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE
  267. help
  268. Assertions can be:
  269. - Enabled. Failure will print verbose assertion details. This is the default.
  270. - Set to "silent" to save code size (failed assertions will abort() but user
  271. needs to use the aborting address to find the line number with the failed assertion.)
  272. - Disabled entirely (not recommended for most configurations.) -DNDEBUG is added
  273. to CPPFLAGS in this case.
  274. config COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE
  275. prompt "Enabled"
  276. bool
  277. help
  278. Enable assertions. Assertion content and line number will be printed on failure.
  279. config COMPILER_OPTIMIZATION_ASSERTIONS_SILENT
  280. prompt "Silent (saves code size)"
  281. bool
  282. help
  283. Enable silent assertions. Failed assertions will abort(), user needs to
  284. use the aborting address to find the line number with the failed assertion.
  285. config COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE
  286. prompt "Disabled (sets -DNDEBUG)"
  287. bool
  288. help
  289. If assertions are disabled, -DNDEBUG is added to CPPFLAGS.
  290. endchoice # assertions
  291. choice COMPILER_FLOAT_LIB_FROM
  292. prompt "Compiler float lib source"
  293. default COMPILER_FLOAT_LIB_FROM_RVFPLIB if ESP_ROM_HAS_RVFPLIB
  294. default COMPILER_FLOAT_LIB_FROM_GCCLIB
  295. help
  296. In the soft-fp part of libgcc, riscv version is written in C,
  297. and handles all edge cases in IEEE754, which makes it larger
  298. and performance is slow.
  299. RVfplib is an optimized RISC-V library for FP arithmetic on 32-bit
  300. integer processors, for single and double-precision FP.
  301. RVfplib is "fast", but it has a few exceptions from IEEE 754 compliance.
  302. config COMPILER_FLOAT_LIB_FROM_GCCLIB
  303. bool "libgcc"
  304. config COMPILER_FLOAT_LIB_FROM_RVFPLIB
  305. depends on ESP_ROM_HAS_RVFPLIB
  306. bool "librvfp"
  307. endchoice # COMPILER_FLOAT_LIB_FROM
  308. config COMPILER_OPTIMIZATION_ASSERTION_LEVEL
  309. int
  310. default 0 if COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE
  311. default 1 if COMPILER_OPTIMIZATION_ASSERTIONS_SILENT
  312. default 2 if COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE
  313. config COMPILER_OPTIMIZATION_CHECKS_SILENT
  314. bool "Disable messages in ESP_RETURN_ON_* and ESP_EXIT_ON_* macros"
  315. default n
  316. help
  317. If enabled, the error messages will be discarded in following check macros:
  318. - ESP_RETURN_ON_ERROR
  319. - ESP_EXIT_ON_ERROR
  320. - ESP_RETURN_ON_FALSE
  321. - ESP_EXIT_ON_FALSE
  322. menuconfig COMPILER_HIDE_PATHS_MACROS
  323. bool "Replace ESP-IDF and project paths in binaries"
  324. default y
  325. help
  326. When expanding the __FILE__ and __BASE_FILE__ macros, replace paths inside ESP-IDF
  327. with paths relative to the placeholder string "IDF", and convert paths inside the
  328. project directory to relative paths.
  329. This allows building the project with assertions or other code that embeds file paths,
  330. without the binary containing the exact path to the IDF or project directories.
  331. This option passes -fmacro-prefix-map options to the GCC command line. To replace additional
  332. paths in your binaries, modify the project CMakeLists.txt file to pass custom -fmacro-prefix-map or
  333. -ffile-prefix-map arguments.
  334. menuconfig COMPILER_CXX_EXCEPTIONS
  335. bool "Enable C++ exceptions"
  336. default n
  337. help
  338. Enabling this option compiles all IDF C++ files with exception support enabled.
  339. Disabling this option disables C++ exception support in all compiled files, and any libstdc++ code
  340. which throws an exception will abort instead.
  341. Enabling this option currently adds an additional ~500 bytes of heap overhead
  342. when an exception is thrown in user code for the first time.
  343. config COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE
  344. int "Emergency Pool Size"
  345. default 0
  346. depends on COMPILER_CXX_EXCEPTIONS
  347. help
  348. Size (in bytes) of the emergency memory pool for C++ exceptions. This pool will be used to allocate
  349. memory for thrown exceptions when there is not enough memory on the heap.
  350. config COMPILER_CXX_RTTI
  351. bool "Enable C++ run-time type info (RTTI)"
  352. default n
  353. help
  354. Enabling this option compiles all C++ files with RTTI support enabled.
  355. This increases binary size (typically by tens of kB) but allows using
  356. dynamic_cast conversion and typeid operator.
  357. choice COMPILER_STACK_CHECK_MODE
  358. prompt "Stack smashing protection mode"
  359. default COMPILER_STACK_CHECK_MODE_NONE
  360. help
  361. Stack smashing protection mode. Emit extra code to check for buffer overflows, such as stack
  362. smashing attacks. This is done by adding a guard variable to functions with vulnerable objects.
  363. The guards are initialized when a function is entered and then checked when the function exits.
  364. If a guard check fails, program is halted. Protection has the following modes:
  365. - In NORMAL mode (GCC flag: -fstack-protector) only functions that call alloca, and functions with
  366. buffers larger than 8 bytes are protected.
  367. - STRONG mode (GCC flag: -fstack-protector-strong) is like NORMAL, but includes additional functions
  368. to be protected -- those that have local array definitions, or have references to local frame
  369. addresses.
  370. - In OVERALL mode (GCC flag: -fstack-protector-all) all functions are protected.
  371. Modes have the following impact on code performance and coverage:
  372. - performance: NORMAL > STRONG > OVERALL
  373. - coverage: NORMAL < STRONG < OVERALL
  374. The performance impact includes increasing the amount of stack memory required for each task.
  375. config COMPILER_STACK_CHECK_MODE_NONE
  376. bool "None"
  377. config COMPILER_STACK_CHECK_MODE_NORM
  378. bool "Normal"
  379. config COMPILER_STACK_CHECK_MODE_STRONG
  380. bool "Strong"
  381. config COMPILER_STACK_CHECK_MODE_ALL
  382. bool "Overall"
  383. endchoice
  384. config COMPILER_STACK_CHECK
  385. bool
  386. default !COMPILER_STACK_CHECK_MODE_NONE
  387. help
  388. Stack smashing protection.
  389. config COMPILER_WARN_WRITE_STRINGS
  390. bool "Enable -Wwrite-strings warning flag"
  391. default "n"
  392. help
  393. Adds -Wwrite-strings flag for the C/C++ compilers.
  394. For C, this gives string constants the type ``const char[]`` so that
  395. copying the address of one into a non-const ``char *`` pointer
  396. produces a warning. This warning helps to find at compile time code
  397. that tries to write into a string constant.
  398. For C++, this warns about the deprecated conversion from string
  399. literals to ``char *``.
  400. config COMPILER_SAVE_RESTORE_LIBCALLS
  401. bool "Enable -msave-restore flag to reduce code size"
  402. depends on IDF_TARGET_ARCH_RISCV
  403. help
  404. Adds -msave-restore to C/C++ compilation flags.
  405. When this flag is enabled, compiler will call library functions to
  406. save/restore registers in function prologues/epilogues. This results
  407. in lower overall code size, at the expense of slightly reduced performance.
  408. This option can be enabled for RISC-V targets only.
  409. config COMPILER_DISABLE_GCC12_WARNINGS
  410. bool "Disable new warnings introduced in GCC 12"
  411. default "n"
  412. help
  413. Enable this option if use GCC 12 or newer, and want to disable warnings which don't appear with
  414. GCC 11.
  415. config COMPILER_DUMP_RTL_FILES
  416. bool "Dump RTL files during compilation"
  417. help
  418. If enabled, RTL files will be produced during compilation. These files
  419. can be used by other tools, for example to calculate call graphs.
  420. choice COMPILER_RT_LIB
  421. prompt "Compiler runtime library"
  422. default COMPILER_RT_LIB_CLANGRT if IDF_TOOLCHAIN_CLANG
  423. default COMPILER_RT_LIB_HOST if IDF_TARGET_LINUX
  424. default COMPILER_RT_LIB_GCCLIB
  425. help
  426. Select runtime library to be used by compiler.
  427. - GCC toolchain supports libgcc only.
  428. - Clang allows to choose between libgcc or libclang_rt.
  429. - For host builds ("linux" target), uses the default library.
  430. config COMPILER_RT_LIB_GCCLIB
  431. depends on !IDF_TARGET_LINUX
  432. bool "libgcc"
  433. config COMPILER_RT_LIB_CLANGRT
  434. depends on IDF_TOOLCHAIN_CLANG && !IDF_TARGET_LINUX
  435. bool "libclang_rt"
  436. config COMPILER_RT_LIB_HOST
  437. depends on IDF_TARGET_LINUX
  438. bool "Host"
  439. endchoice
  440. config COMPILER_RT_LIB_NAME
  441. string
  442. default "clang_rt.builtins" if COMPILER_RT_LIB_CLANGRT
  443. default "gcc" if COMPILER_RT_LIB_GCCLIB
  444. default "" if COMPILER_RT_LIB_HOST
  445. endmenu # Compiler Options
  446. menu "Component config"
  447. source "$COMPONENT_KCONFIGS_SOURCE_FILE"
  448. endmenu
  449. config IDF_EXPERIMENTAL_FEATURES
  450. bool "Make experimental features visible"
  451. default "n"
  452. help
  453. By enabling this option, ESP-IDF experimental feature options will be visible.
  454. Note you should still enable a certain experimental feature option to use it, and you
  455. should read the corresponding risk warning and known issue list carefully.
  456. Current experimental feature list:
  457. - CONFIG_ESPTOOLPY_FLASHFREQ_120M
  458. - CONFIG_SPIRAM_SPEED_120M
  459. - CONFIG_SPI_FLASH_32BIT_ADDR_ENABLE
  460. - CONFIG_FREERTOS_USE_KERNEL_10_5_1