8000 stm32/boards/PYBD_SFx: Automatically turn on EN_3V3 when powering SD/MMC · micropython/micropython@c1a8c7f · GitHub
[go: up one dir, main page]

Skip to content

Commit c1a8c7f

Browse files
committed
stm32/boards/PYBD_SFx: Automatically turn on EN_3V3 when powering SD/MMC
1 parent 7f33f15 commit c1a8c7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/stm32/boards/PYBD_SF2/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#define MICROPY_BOARD_ENTER_STOP board_sleep(1);
4545
#define MICROPY_BOARD_LEAVE_STOP board_sleep(0);
4646
#define MICROPY_BOARD_ENTER_STANDBY board_sleep(1);
47+
#define MICROPY_BOARD_SDCARD_POWER mp_hal_pin_high(pyb_pin_EN_3V3);
4748
void board_early_init(void);
4849
void board_sleep(int value);
4950

0 commit comments

Comments
 (0)
0