Update template to modern GCC #1

Merged
thomas merged 8 commits from logan/CH32V203:master into master 2023-11-25 01:59:18 -05:00
Showing only changes of commit 6ca77928e2 - Show all commits

View file

@ -36,7 +36,7 @@ int main(void)
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
Delay_Init(); Delay_Init();
USART_Printf_Init(115200); USART_Printf_Init(115200);
printf("SystemClk:%d\r\n", SystemCoreClock); printf("SystemClk:%ld\r\n", SystemCoreClock);
printf("This is printf example\r\n"); printf("This is printf example\r\n");