mac-rom-simm-programmer/hal/m258ke/nuvoton
Doug Brown 257d395cd2 Bypass GCC built-in startup code
Nuvoton's sample startup_M251.S file handles enough initialization for
my purposes, so I can completely bypass _start and jump directly to
main. Note that I also had to add a define to enable clearing of BSS.
2023-06-25 11:41:19 -07:00
..
acmp_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
bpwm_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
clk_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
cmsis_armcc.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
cmsis_armclang.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
cmsis_compiler.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
cmsis_gcc.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
cmsis_version.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
core_cm23.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
crc_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
crypto_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
dac_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
eadc_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
ebi_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
fmc_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
gcc_arm.ld Reserve 4 bytes at end of RAM for magic number 2023-06-25 11:41:19 -07:00
gpio_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
i2c_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
lcd_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
LDROM.ld Reserve 4 bytes at end of RAM for magic number 2023-06-25 11:41:19 -07:00
M251.h Don't include peripheral header files in M251.h 2023-06-25 11:41:19 -07:00
NuMicro.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
opa_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
pdma_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
psio_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
pwm_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
qspi_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
README.md Add README explaining the Nuvoton directory 2023-06-25 11:41:19 -07:00
rtc_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
sc_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
spi_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
startup_M251.S Bypass GCC built-in startup code 2023-06-25 11:41:19 -07:00
sys_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
system_M251.c Strip out unnecessary clock and UART code 2023-06-25 11:41:19 -07:00
system_M251.h Strip out unnecessary clock and UART code 2023-06-25 11:41:19 -07:00
timer_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
tk_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
uart_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
ui2c_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
usbd_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
usbd.c Initial commit of Nuvoton USBD driver 2023-06-25 11:41:19 -07:00
usbd.h Initial commit of Nuvoton USBD driver 2023-06-25 11:41:19 -07:00
uspi_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
uuart_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
wdt_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00
wwdt_reg.h Initial commit of register defines, CMSIS code from Nuvoton BSP 2023-06-25 11:41:19 -07:00

Nuvoton/CMSIS files

These files came from Nuvoton's M251 BSP. They provide register defines, structs, startup code, the vector table, and linker scripts.

I've tried to avoid using Nuvoton's BSP driver code for various peripherals as much as possible, but I did use their USBD driver because it would be too difficult to reimplement from scratch.