User Program Files
File Name | Description |
---|---|
Startup.S |
SoC startup file |
gr_interrupt.c |
A file in which interrupt handlers are defined. No operation is required from developers. |
gr_system.c |
Implement system initialization. |
gr_dwt.c |
Implement DWT APIs (for GR5405 only). |
gr_mpu.c | Implement MPU APIs (for GR5405 only). |
gr_nvic.c | Implement NVIC APIs (for GR5405 only). |
gr_platform.c |
Implement platform initialization, including platform-related remapping of interrupt vector tables, SDK initialization, SoC initialization, and entry for cold/warm boot processing. |
gr_soc.c |
Implement SoC-related initialization processes, including initializing Flash and NVDS, configuring crystal oscillators, and calibrating PMU. |
board_SK.h |
Initialize basic resources for the SoC. The resources include serial ports, LEDs, and keys; it also defines frequently used GPIOs. |
custom_config.h |
Configure user parameters, including RAM size, code loading/running addresses, and system clock. |
main.c |
The main function |