NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
config.h File Reference

Default NEORV32 bootloader configuration. More...

Go to the source code of this file.

Macros

#define EXE_BASE_ADDR   0x00000000U
 
#define UART_EN   1
 
#define UART_BAUD   19200
 
#define UART_HW_HANDSHAKE_EN   0
 
#define UART_PRINT_SPLASH_EN   1
 
#define STATUS_LED_EN   1
 
#define STATUS_LED_PIN   0
 
#define AUTO_BOOT_EN   1
 
#define AUTO_BOOT_TIMEOUT   10
 
#define SPI_EN   1
 
#define SPI_FLASH_CS   0
 
#define SPI_FLASH_CLK_PRSC   CLK_PRSC_64
 
#define SPI_FLASH_BASE_ADDR   0x00400000U
 
#define SPI_FLASH_ADDR_BYTES   3
 
#define SPI_FLASH_SECTOR_SIZE   65536
 
#define TWI_EN   0
 
#define TWI_CLK_PRSC   CLK_PRSC_1024
 
#define TWI_CLK_DIV   3
 
#define TWI_CLK_STRECH_EN   0
 
#define TWI_DEVICE_ID   0xA0
 
#define TWI_FLASH_BASE_ADDR   0x00000000U
 
#define TWI_FLASH_ADDR_BYTES   2
 
#define TWI_FLASH_BULK_WRITE_EN   0
 

Detailed Description

Default NEORV32 bootloader configuration.