Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions cpu/stm32/include/clk/clk_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@

#if defined(CPU_FAM_STM32F0) || defined(CPU_FAM_STM32F1) || \
defined(CPU_FAM_STM32F3)
#include "f0f1f3/cfg_clock_default.h"
#include "f0f1f3/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32F2) || defined(CPU_FAM_STM32F4) || \
defined(CPU_FAM_STM32F7)
#include "f2f4f7/cfg_clock_default.h"
#include "f2f4f7/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32G0) || defined(CPU_FAM_STM32G4)
#include "g0g4/cfg_clock_default.h"
#include "g0g4/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32C0)
#include "c0/cfg_clock_default.h"
#include "c0/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1)
#include "l0l1/cfg_clock_default.h"
#include "l0l1/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32L4) || defined(CPU_FAM_STM32L5) || \
defined(CPU_FAM_STM32WB) || defined(CPU_FAM_STM32WL)
#include "l4l5wx/cfg_clock_default.h"
#include "l4l5wx/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32U5)
#include "u5/cfg_clock_default.h"
#include "u5/cfg_clock_default.h" /* IWYU pragma: export */
#elif defined(CPU_FAM_STM32MP1)
#include "mp1/cfg_clock_default.h"
#include "mp1/cfg_clock_default.h" /* IWYU pragma: export */
#else
#error "No clock configuration available"
#endif
Expand Down
1 change: 1 addition & 0 deletions cpu/stm32/periph/usbdev_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ static void _usbdev_init(usbdev_t *dev)
/* Block STOP/STANDBY */
pm_block(STM32_PM_STOP);
pm_block(STM32_PM_STANDBY);
pm_block(STM32_PM_IDLE);
Copy link
Contributor

@kaspar030 kaspar030 Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe update comment?


#if defined(RCC_CFGR_USBPRE)
/* If `RCC_CFGR_USBPRE` is defined, the USB device FS clock of 48 MHz is
Expand Down