update pin map for feather52840

This commit is contained in:
hathach 2018-06-27 14:06:15 +07:00
parent 8d065fe0e6
commit ecd3993d43
7 changed files with 11044 additions and 14 deletions

1
.gitattributes vendored
View File

@ -12,6 +12,7 @@
*.dxf binary
*.mpy binary
*.deb binary
*.zip binary
# These should also not be modified by git.
tests/basics/string_cr_conversion.py -text

View File

@ -44,27 +44,25 @@
#define MICROPY_HW_ENABLE_DAC (0)
#define MICROPY_HW_ENABLE_CAN (0)
#define MICROPY_HW_LED_COUNT (4)
#define MICROPY_HW_LED_COUNT (2)
#define MICROPY_HW_LED_PULLUP (1)
#define MICROPY_HW_LED1 (13) // LED1
#define MICROPY_HW_LED2 (14) // LED2
#define MICROPY_HW_LED3 (15) // LED3
#define MICROPY_HW_LED4 (16) // LED4
#define MICROPY_HW_LED1 (pin_P1_02) // LED1
#define MICROPY_HW_LED2 (pin_P1_10) // LED2
// UART config
#define MICROPY_HW_UART1_RX (pin_P0_08)
#define MICROPY_HW_UART1_TX (pin_P0_06)
#define MICROPY_HW_UART1_CTS (pin_P0_07)
#define MICROPY_HW_UART1_RTS (pin_P0_05)
#define MICROPY_HW_UART1_HWFC (1)
#define MICROPY_HW_UART1_RX (pin_P1_00)
#define MICROPY_HW_UART1_TX (pin_P0_24)
#define MICROPY_HW_UART1_CTS (NULL)
#define MICROPY_HW_UART1_RTS (NULL)
#define MICROPY_HW_UART1_HWFC (0)
// SPI0 config
#define MICROPY_HW_SPI0_NAME "SPI0"
#define MICROPY_HW_SPI0_SCK (pin_P1_15)
#define MICROPY_HW_SPI0_MOSI (pin_P1_13)
#define MICROPY_HW_SPI0_MISO (pin_P1_14)
#define MICROPY_HW_SPI0_SCK (pin_P0_20)
#define MICROPY_HW_SPI0_MOSI (pin_P0_23)
#define MICROPY_HW_SPI0_MISO (pin_P0_22)
#define MICROPY_HW_PWM0_NAME "PWM0"
#define MICROPY_HW_PWM1_NAME "PWM1"

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
P0_00,P0_01
P0_00,P0_00
P0_01,P0_01
P0_02,P0_02
P0_03,P0_03

1 P0_00 P0_01 P0_00
2 P0_01 P0_01
3 P0_02 P0_02
4 P0_03 P0_03