<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/mprotect, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/mprotect?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/mprotect?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-09-07T02:31:49Z</updated>
<entry>
<title>[mprotect][kconfig] Add safe defaults for MPU region count options</title>
<updated>2026-09-07T02:31:49Z</updated>
<author>
<name>hanzhijian</name>
<email>hanzhijian@zepp.com</email>
</author>
<published>2026-08-28T09:55:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2c989025432d9f8b482d3979402b96bbe0e69e51'/>
<id>urn:sha1:2c989025432d9f8b482d3979402b96bbe0e69e51</id>
<content type='text'>
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 &lt; ; 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
</content>
</entry>
<entry>
<title>实现MPU抽象层 (#8080)</title>
<updated>2023-10-30T12:24:55Z</updated>
<author>
<name>tangzz98</name>
<email>54998890+tangzz98@users.noreply.github.com</email>
</author>
<published>2023-10-30T12:24:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=acc66c547999ce444b79efccd67625a1af347d5d'/>
<id>urn:sha1:acc66c547999ce444b79efccd67625a1af347d5d</id>
<content type='text'>
- 为RT-Thread设计MPU抽象层，支持ARMV7-M，ARMV8-M架构，让用户使用MPU检测栈溢出等内存问题，实现线程内存隔离
- 在components/mp目录下提供通用的API，libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO， STM32H75 NUCLEO开发板测试通过</content>
</entry>
</feed>
