Skip to content

Commit 10b9ca5

Browse files
committed
pin selection cleanup, tinyUSB update
1 parent 734012a commit 10b9ca5

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

lib/tinyusb

Submodule tinyusb updated 484 files

ports/stm32f4/peripherals/stm32f4/pins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ extern const mp_obj_type_t mcu_pin_type;
6565
#define NO_PIN 0xff
6666

6767
// Choose based on chip
68-
//#ifdef STM32F412ZG
68+
#ifdef STM32F412Zx
6969
#include "stm32f412zg/pins.h"
70-
//#endif
70+
#endif
7171

7272
#endif // __MICROPY_INCLUDED_STM32F4_PERIPHERALS_PINS_H__

ports/stm32f4/supervisor/port.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@
184184
#define LED2_Pin GPIO_PIN_1
185185
#define LED2_GPIO_Port GPIOE
186186

187-
UART_HandleTypeDef huart2;
188-
189187
/*
190188
#include "shared-module/gamepad/__init__.h"
191189
#include "common-hal/microcontroller/Pin.h"

0 commit comments

Comments
 (0)