diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-08-13 10:26:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-08-13 10:26:39 +0000 |
commit | d46360e613ac879b9564346d683592a26718ad9b (patch) | |
tree | 98fd648bbb32b24495672ebb8a7c421dcf7215d8 /os/hal/ports/STM32/STM32F7xx | |
parent | a59a43bc288b159a32cd994b5dadb883cfa234ae (diff) | |
download | ChibiOS-d46360e613ac879b9564346d683592a26718ad9b.tar.gz ChibiOS-d46360e613ac879b9564346d683592a26718ad9b.tar.bz2 ChibiOS-d46360e613ac879b9564346d683592a26718ad9b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8212 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F7xx')
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/hal_lld.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.c b/os/hal/ports/STM32/STM32F7xx/hal_lld.c index 1c2c2e364..e5f74ed8c 100644 --- a/os/hal/ports/STM32/STM32F7xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.c @@ -141,10 +141,8 @@ void hal_lld_init(void) { 0x20000000U,
MPU_RASR_ATTR_AP_RW_RW |
MPU_RASR_ATTR_CACHEABLE_WT_NWA |
- MPU_RNR_REGION(1) |
- MPU_RNR_REGION(5) |
- MPU_RNR_REGION(6) |
- MPU_RNR_REGION(7) |
+ MPU_RASR_SRD_DISABLE_SUB0 | MPU_RASR_SRD_DISABLE_SUB5 |
+ MPU_RASR_SRD_DISABLE_SUB6 | MPU_RASR_SRD_DISABLE_SUB7 |
MPU_RASR_SIZE_512K |
MPU_RASR_ENABLE);
mpuEnable(MPU_CTRL_PRIVDEFENA);
|