pin selection cleanup, tinyUSB update

crypto-aes
Hierophect 3 years ago
parent 734012aa8b
commit 10b9ca5a92
  1. 2
      lib/tinyusb
  2. 4
      ports/stm32f4/peripherals/stm32f4/pins.h
  3. 2
      ports/stm32f4/supervisor/port.c

@ -1 +1 @@
Subproject commit 0848c462b3e431a9da42e96537d2b597a4579636
Subproject commit ed6fa460e9a885bb84a6f1588763ea5fb3f4df49

@ -65,8 +65,8 @@ extern const mp_obj_type_t mcu_pin_type;
#define NO_PIN 0xff
// Choose based on chip
//#ifdef STM32F412ZG
#ifdef STM32F412Zx
#include "stm32f412zg/pins.h"
//#endif
#endif
#endif // __MICROPY_INCLUDED_STM32F4_PERIPHERALS_PINS_H__

@ -184,8 +184,6 @@
#define LED2_Pin GPIO_PIN_1
#define LED2_GPIO_Port GPIOE
UART_HandleTypeDef huart2;
/*
#include "shared-module/gamepad/__init__.h"
#include "common-hal/microcontroller/Pin.h"

Loading…
Cancel
Save