uncommented

This commit is contained in:
jakeg00dwin 2024-12-06 22:28:03 -08:00
parent d23191a956
commit e6f0a5aa38
1 changed files with 26 additions and 23 deletions

View File

@ -5,6 +5,10 @@ add_subdirectory(peripheral)
add_subdirectory(system) add_subdirectory(system)
add_subdirectory(startup) add_subdirectory(startup)
add_library(isr SHARED
ch32v20x_it.c
)
add_executable(main add_executable(main
main.c main.c
ch32v20x_it.c ch32v20x_it.c
@ -13,27 +17,26 @@ add_executable(main
target_link_libraries(main target_link_libraries(main
core_riscv core_riscv
system_ch32v20x system_ch32v20x
#ch32v20x_adc debug
#ch32v20x_can ch32v20x_adc
#ch32v20x_dbgmcu ch32v20x_can
#ch32v20x_exti ch32v20x_dbgmcu
#ch32v20x_gpio ch32v20x_exti
#ch32v20x_i2c ch32v20x_gpio
#ch32v20x_misc ch32v20x_i2c
#ch32v20x_pwr ch32v20x_misc
#ch32v20x_rtc ch32v20x_pwr
#ch32v20x_tim ch32v20x_rtc
#ch32v20x_usb ch32v20x_tim
#ch32v20x_bkp ch32v20x_usb
#ch32v20x_crc ch32v20x_bkp
#ch32v20x_dma ch32v20x_crc
#ch32v20x_flash ch32v20x_dma
#ch32v20x_iwdg ch32v20x_flash
#ch32v20x_opa ch32v20x_iwdg
#ch32v20x_rcc ch32v20x_opa
#ch32v20x_spi ch32v20x_rcc
#ch32v20x_usart ch32v20x_spi
#ch32v20x_wwdg ch32v20x_usart
ch32v20x_wwdg
) )