This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
FreeRTOS-Kernel/portable/RVDS
Gaurav-Aggarwal-AWS 287361091b
Allow application to override TEX,S,C and B bits for Flash and RAM (#113)
The TEX,  Shareable (S), Cacheable (C) and Bufferable (B) bits define
the memory type, and where necessary the cacheable and shareable
properties of the memory region.

The default values for these bits, as configured in our MPU ports, are
sometimes not suitable for application. One such example is when the MCU
has a cache, the application writer may not want to mark the memory as
shareable to avoid disabling the cache. This change allows the
application writer to override default vales for TEX, S C and B bits for
Flash and RAM in their FreeRTOSConfig.h. The following two new
configurations are introduced:

- configTEX_S_C_B_FLASH
- configTEX_S_C_B_SRAM

If undefined, the default values for the above configurations are
TEX=000, S=1, C=1, B=1. This ensures backward compatibility.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-08-08 18:37:14 -07:00
..
ARM7_LPC21xx Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
ARM_CA9 Style: uncrustify kernel files 2020-07-08 10:24:06 -07:00
ARM_CM0 Update portNVIC_SYSPRI2_REG to portNVIC_SHPR3_REG (#86) 2020-07-15 19:44:45 -07:00
ARM_CM3 Update portNVIC_SYSPRI2_REG to portNVIC_SHPR3_REG (#86) 2020-07-15 19:44:45 -07:00
ARM_CM4_MPU Allow application to override TEX,S,C and B bits for Flash and RAM (#113) 2020-08-08 18:37:14 -07:00
ARM_CM4F Update portNVIC_SYSPRI2_REG to portNVIC_SHPR3_REG (#86) 2020-07-15 19:44:45 -07:00
ARM_CM7 Update incorrect port in comments (#87) 2020-07-15 19:44:57 -07:00