Commit Graph

27 Commits

Author SHA1 Message Date
Alexander Heldt
c3f6a4e503 Use RCC_CFGR_SW helper function to set software clock 2024-12-30 11:48:38 +01:00
Alexander Heldt
f44ddf645b Turn off HSI earlier 2024-12-30 11:47:54 +01:00
Alexander Heldt
88dcd47552 Set correct PLL N for 96MHz 2024-12-30 11:47:18 +01:00
Alexander Heldt
c5ff505605 Correctly check PLL readiness 2024-12-30 11:46:10 +01:00
Alexander Heldt
943415dd2d TIM4 runs at 96MHz, not 48MHz 2024-12-30 11:45:04 +01:00
Alexander Heldt
6d2a01d574 Generalise naming of TIMx_ENABLE 2024-12-30 11:44:18 +01:00
Alexander Heldt
908cfda5b3 Add stm32cubemx in dev shell 2024-12-30 11:39:53 +01:00
Alexander Heldt
a3c1de878a Blink LED with timer 2024-08-11 12:31:34 +02:00
Alexander Heldt
062a014c7c Add timer.{h, c} 2024-08-11 12:31:05 +02:00
Alexander Heldt
9b131a3c24 makefile: Add target to run GUI debugger client 2024-08-11 12:31:05 +02:00
Alexander Heldt
c84cf622f1 makefile: Run clean before running build 2024-08-11 12:31:05 +02:00
Alexander Heldt
d9389b4eb8 Configure system clock to run at 96Mhz 2024-08-11 12:31:04 +02:00
Alexander Heldt
0fec3d6a6c Add clock configuration registers to rcc.h 2024-08-03 11:56:22 +02:00
Alexander Heldt
318ed20061 Add flash.h 2024-08-03 11:56:22 +02:00
Alexander Heldt
271f3a3a64 Add ability to debug the microcontroller 2024-08-03 11:56:22 +02:00
Alexander Heldt
278d3cfb9d makefile: Add ability to flash binary to microcontroller 2024-08-03 11:55:39 +02:00
Alexander Heldt
5b5da238d5 Blink LED with spin function 2024-08-03 11:55:27 +02:00
Alexander Heldt
a8a5e21b77 Add gpio.{h, c} 2024-08-03 11:55:27 +02:00
Alexander Heldt
9b1e1b6f21 Add rcc.h 2024-08-03 11:55:27 +02:00
Alexander Heldt
11d10f41c2 Add all interrupt/exception handlers with default alias 2024-08-03 11:55:27 +02:00
Alexander Heldt
d23cb54d58 makefile: Add TARGET variable for final output file name 2024-08-03 11:55:27 +02:00
Alexander Heldt
cc8380759b Add #define for main exit code 2024-08-03 11:55:27 +02:00
Alexander Heldt
8c8a72df71 Add linking step 2024-08-03 11:55:27 +02:00
Alexander Heldt
4c77450e47 Add assemble step 2024-08-03 11:55:26 +02:00
Alexander Heldt
f5ce434891 Add compilation step 2024-08-03 11:55:08 +02:00
Alexander Heldt
3dab4aece3 Add preprocessing step 2024-08-03 11:54:31 +02:00
Alexander Heldt
297a507a3a Initial commit 2024-06-17 20:02:36 +02:00