Fixed regression caused by latest changes.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15574 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2022-04-08 11:50:42 +00:00
parent 3d711855a8
commit 5720e1f605
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@
#define STM32_NOCACHE_ENABLE TRUE
#define STM32_NOCACHE_MPU_REGION MPU_REGION_6
#define STM32_NOCACHE_RBAR 0x24000000U
#define STM32_NOCACHE_RASR 0x24000000U
#define STM32_NOCACHE_RASR MPU_RASR_SIZE_16K
/*
* PWR system settings.

View File

@ -31,6 +31,7 @@ static const SNORConfig snorcfg1 = {
};
static SNORDriver snor1;
static snor_nocache_buffer_t __nocache_snor1buf;
static uint8_t __lfs_read_buffer[16];
static uint8_t __lfs_prog_buffer[16];
@ -106,7 +107,7 @@ int main(void) {
sdStart(&PORTAB_SD1, NULL);
/* Initializing and starting snor1 driver.*/
snorObjectInit(&snor1);
snorObjectInit(&snor1, &__nocache_snor1buf);
snorStart(&snor1, &snorcfg1);
/* Creates the blinker thread.*/