Debian Codegraph @

ports/stm32/boards/SPARKFUN_MICROMOD_STM32/board_init.c

raw
1 #include "py/mphal.h"
2
3 void board_early_init(void) {
4
5 #if !MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE
6 // set external SPI flash CS pin high
7 mp_hal_pin_output(MICROPY_HW_SPIFLASH_CS);
8 mp_hal_pin_write(MICROPY_HW_SPIFLASH_CS, 1);
9 #endif
10
11 }