mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
update bootloader (XIP setup function)
This commit is contained in:
parent
44498f523c
commit
fed34aad43
2 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
-- Auto-generated memory initialization file (for BOOTLOADER) from source file <bootloader/main.bin>
|
||||
-- Size: 4028 bytes
|
||||
-- MARCH: default
|
||||
-- Built: 31.10.2023 17:09:02
|
||||
-- Built: 18.11.2023 18:38:26
|
||||
|
||||
-- prototype defined in 'neorv32_package.vhd'
|
||||
package body neorv32_bootloader_image is
|
||||
|
@ -879,9 +879,9 @@ x"6f6c746f",
|
|||
x"72656461",
|
||||
x"0a3e3e20",
|
||||
x"444c420a",
|
||||
x"4f203a56",
|
||||
x"33207463",
|
||||
x"30322031",
|
||||
x"4e203a56",
|
||||
x"3120766f",
|
||||
x"30322038",
|
||||
x"480a3332",
|
||||
x"203a5657",
|
||||
x"00000020",
|
||||
|
|
|
@ -293,9 +293,9 @@ int main(void) {
|
|||
#endif
|
||||
|
||||
#if (XIP_EN != 0)
|
||||
// setup XIP: clock mode 0, bursts enabled
|
||||
// setup XIP: clock divider 0, clock mode 0, bursts enabled
|
||||
if (neorv32_xip_available()) {
|
||||
neorv32_xip_setup(SPI_FLASH_CLK_PRSC, 0, 0, SPI_FLASH_CMD_READ);
|
||||
neorv32_xip_setup(SPI_FLASH_CLK_PRSC, 0, 0, 0, SPI_FLASH_CMD_READ);
|
||||
neorv32_xip_burst_mode_enable();
|
||||
neorv32_xip_start(SPI_FLASH_ADDR_BYTES);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue