Skip to content

Fixes REPL not booting on heltec_esp32s3_wifi_lora_v3 #10410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025
Merged
Changes from all 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
8 changes: 4 additions & 4 deletions ports/espressif/boards/heltec_esp32s3_wifi_lora_v3/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ uint8_t display_init_sequence[] = { // SSD1306
digitalio_digitalinout_obj_t display_on;

static void display_init(void) {
// Need to bring GPIO21 high or the screen doesn't get power
// Need to bring GPIO36 high or the screen doesn't get power
// & the board can't see the i2c bus at all.
common_hal_digitalio_digitalinout_construct(&display_on, &pin_GPIO21);
common_hal_digitalio_digitalinout_switch_to_output(&display_on, true, DRIVE_MODE_PUSH_PULL);
common_hal_digitalio_digitalinout_construct(&display_on, &pin_GPIO36);
common_hal_digitalio_digitalinout_switch_to_output(&display_on, false, DRIVE_MODE_PUSH_PULL);
common_hal_digitalio_digitalinout_never_reset(&display_on);

busio_i2c_obj_t *i2c = common_hal_board_create_i2c(0);
Expand All @@ -48,7 +48,7 @@ static void display_init(void) {
bus,
i2c,
0x3c,
NULL
&pin_GPIO21 // broken-out on V3
);

busdisplay_busdisplay_obj_t *display = &allocate_display()->display;
Expand Down