summaryrefslogtreecommitdiff
path: root/components/external/SQLite-3.8.1/SQLiteLib/test/test_intarray.c
diff options
context:
space:
mode:
authorhanzhijian <[email protected]>2026-08-28 17:55:10 +0800
committerRbb666 <[email protected]>2026-09-07 10:31:49 +0800
commit2c989025432d9f8b482d3979402b96bbe0e69e51 (patch)
treec821f29c79a2e5c920d2fcb6a477d6eab30fb280 /components/external/SQLite-3.8.1/SQLiteLib/test/test_intarray.c
parent3d3648ce2cbf2bb4367de150a8dc4c1dc49698e5 (diff)
[mprotect][kconfig] Add safe defaults for MPU region count options
NUM_MEM_REGIONS / NUM_CONFIGURABLE_REGIONS / NUM_EXCLUSIVE_REGIONS had no Kconfig defaults. Enabling RT_USING_HW_STACK_GUARD without explicitly setting them generated empty macros in rtconfig.h (e.g. '#define NUM_CONFIGURABLE_REGIONS'), which expanded into invalid C expressions like '(2 + )' and 'for (i = 0U; i < ; i++)', breaking compilation for cortex-m4/m7/m33 MPU code. Add safe defaults: NUM_MEM_REGIONS=8, NUM_CONFIGURABLE_REGIONS=0, NUM_EXCLUSIVE_REGIONS=0. Also document the MemManage_Handler strong-symbol conflict with CubeMX-generated stm32f4xx_it.c and how to resolve it. Reported-by: wdfk-prog
Diffstat (limited to 'components/external/SQLite-3.8.1/SQLiteLib/test/test_intarray.c')
0 files changed, 0 insertions, 0 deletions