Skip to content

Commit

Permalink
stlinkv3: Enable CRC clock to support compare-sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Jun 30, 2024
1 parent b466471 commit d1af965
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platforms/stlinkv3/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ void platform_init(void)
rcc_periph_clock_enable(RCC_GPIOH);
rcc_periph_clock_enable(RCC_GPIOF);
rcc_periph_clock_enable(RCC_GPIOG);
rcc_periph_clock_enable(RCC_CRC);

/* Initialize ADC. */
gpio_mode_setup(GPIOA, GPIO_MODE_ANALOG, GPIO_PUPD_NONE, GPIO0);
Expand Down

0 comments on commit d1af965

Please sign in to comment.