fix: use correct nrf54l15 flash size

Both SVD and documentation agrees on 1524kB
This commit is contained in:
Ulf Lilleengen 2025-11-14 12:53:10 +01:00
parent 0698b95715
commit 9b5fc685a1
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ pub const FORCE_COPY_BUFFER_SIZE: usize = 1024;
// 1.5 MB NVM
#[allow(unused)]
pub const FLASH_SIZE: usize = 1536 * 1024;
pub const FLASH_SIZE: usize = 1524 * 1024;
embassy_hal_internal::peripherals! {
// PPI

View File

@ -1,5 +1,5 @@
MEMORY
{
FLASH : ORIGIN = 0x00000000, LENGTH = 1536K
FLASH : ORIGIN = 0x00000000, LENGTH = 1524K
RAM : ORIGIN = 0x20000000, LENGTH = 256K
}