2017-01-24 01:01:53 -05:00
|
|
|
#include "py/mphal.h"
|
|
|
|
|
|
|
|
void STM32L476DISC_board_early_init(void) {
|
|
|
|
// set SPI flash WP and HOLD pins high
|
2018-03-28 01:22:43 -04:00
|
|
|
mp_hal_pin_output(pin_E14);
|
|
|
|
mp_hal_pin_output(pin_E15);
|
|
|
|
mp_hal_pin_write(pin_E14, 1);
|
|
|
|
mp_hal_pin_write(pin_E15, 1);
|
2017-01-24 01:01:53 -05:00
|
|
|
}
|