Skip to content

Commit 33b0c81

Browse files
committed
Firmware: fix the FPGA not booting when programming via TinyUF2
1 parent 44b22a3 commit 33b0c81

File tree

1 file changed

+3
-3
lines changed
  • Firmware/pico-ice-default

1 file changed

+3
-3
lines changed

Firmware/pico-ice-default/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ int main(void) {
115115
gpio_set_function(UART_TX_PIN, GPIO_FUNC_UART);
116116
gpio_set_function(UART_RX_PIN, GPIO_FUNC_UART);
117117

118-
// Configure the piping as defined in <tusb_config.h>
119-
ice_usb_init();
120-
121118
// Let the FPGA start
122119
ice_fpga_init(12);
123120
ice_fpga_start();
124121

122+
// Configure the piping as defined in <tusb_config.h>
123+
ice_usb_init();
124+
125125
// Prevent the LEDs from glowing slightly
126126
ice_led_init();
127127

0 commit comments

Comments
 (0)