mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
zephyr: expose new error-checking configs
This commit is contained in:
parent
1d67d8d2c0
commit
132f2c8f90
@ -4,5 +4,7 @@ if(CONFIG_ETL)
|
||||
|
||||
zephyr_compile_definitions_ifdef(CONFIG_ETL_DEBUG ETL_DEBUG)
|
||||
zephyr_compile_definitions_ifdef(CONFIG_ETL_CHECK_PUSH_POP ETL_CHECK_PUSH_POP)
|
||||
zephyr_compile_definitions_ifdef(CONFIG_ETL_CHECK_INDEX_OPERATOR ETL_CHECK_INDEX_OPERATOR)
|
||||
zephyr_compile_definitions_ifdef(CONFIG_ETL_CHECK_EXTRA ETL_CHECK_EXTRA)
|
||||
zephyr_compile_definitions_ifdef(CONFIG_ETL_LOG_ERRORS ETL_LOG_ERRORS)
|
||||
endif()
|
||||
|
||||
@ -13,6 +13,12 @@ config ETL_DEBUG
|
||||
config ETL_CHECK_PUSH_POP
|
||||
bool "Enable push/pop checks in ETL"
|
||||
|
||||
config ETL_CHECK_INDEX_OPERATOR
|
||||
bool "Enable bounds checks on ETL operator[]"
|
||||
|
||||
config ETL_CHECK_EXTRA
|
||||
bool "Enable extra bounds and empty checks in ETL containers"
|
||||
|
||||
config ETL_LOG_ERRORS
|
||||
bool "Call ETL error handler instead of assert"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user