diff options
Diffstat (limited to 'wirish/boards_private.h')
-rw-r--r-- | wirish/boards_private.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/wirish/boards_private.h b/wirish/boards_private.h index 49867ca..642a9ee 100644 --- a/wirish/boards_private.h +++ b/wirish/boards_private.h @@ -48,21 +48,30 @@ namespace wirish { namespace priv { /* - * Chip-specific initialization data + * Chip- and board-specific initialization data */ extern rcc_pll_cfg w_board_pll_cfg; + extern rcc_clk w_board_pll_in_clk; extern adc_prescaler w_adc_pre; extern adc_smp_rate w_adc_smp; /* - * Chip-specific initialization routines and helper functions. + * Chip- and board-specific initialization routines and helper + * functions. + * + * Some of these have default (weak) implementations in + * boards.cpp; define them in your board file to override. */ void board_reset_pll(void); void board_setup_clock_prescalers(void); void board_setup_gpio(void); void board_setup_usb(void); + void board_setup_flash(void); + void board_setup_adcs(void); + void board_setup_timers(void); + void board_setup_clocks(void); void series_init(void); } |