update pin map for feather52840
This commit is contained in:
parent
8d065fe0e6
commit
ecd3993d43
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -12,6 +12,7 @@
|
|||||||
*.dxf binary
|
*.dxf binary
|
||||||
*.mpy binary
|
*.mpy binary
|
||||||
*.deb binary
|
*.deb binary
|
||||||
|
*.zip binary
|
||||||
|
|
||||||
# These should also not be modified by git.
|
# These should also not be modified by git.
|
||||||
tests/basics/string_cr_conversion.py -text
|
tests/basics/string_cr_conversion.py -text
|
||||||
|
Binary file not shown.
@ -44,27 +44,25 @@
|
|||||||
#define MICROPY_HW_ENABLE_DAC (0)
|
#define MICROPY_HW_ENABLE_DAC (0)
|
||||||
#define MICROPY_HW_ENABLE_CAN (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_LED_PULLUP (1)
|
||||||
|
|
||||||
#define MICROPY_HW_LED1 (13) // LED1
|
#define MICROPY_HW_LED1 (pin_P1_02) // LED1
|
||||||
#define MICROPY_HW_LED2 (14) // LED2
|
#define MICROPY_HW_LED2 (pin_P1_10) // LED2
|
||||||
#define MICROPY_HW_LED3 (15) // LED3
|
|
||||||
#define MICROPY_HW_LED4 (16) // LED4
|
|
||||||
|
|
||||||
// UART config
|
// UART config
|
||||||
#define MICROPY_HW_UART1_RX (pin_P0_08)
|
#define MICROPY_HW_UART1_RX (pin_P1_00)
|
||||||
#define MICROPY_HW_UART1_TX (pin_P0_06)
|
#define MICROPY_HW_UART1_TX (pin_P0_24)
|
||||||
#define MICROPY_HW_UART1_CTS (pin_P0_07)
|
#define MICROPY_HW_UART1_CTS (NULL)
|
||||||
#define MICROPY_HW_UART1_RTS (pin_P0_05)
|
#define MICROPY_HW_UART1_RTS (NULL)
|
||||||
#define MICROPY_HW_UART1_HWFC (1)
|
#define MICROPY_HW_UART1_HWFC (0)
|
||||||
|
|
||||||
// SPI0 config
|
// SPI0 config
|
||||||
#define MICROPY_HW_SPI0_NAME "SPI0"
|
#define MICROPY_HW_SPI0_NAME "SPI0"
|
||||||
|
|
||||||
#define MICROPY_HW_SPI0_SCK (pin_P1_15)
|
#define MICROPY_HW_SPI0_SCK (pin_P0_20)
|
||||||
#define MICROPY_HW_SPI0_MOSI (pin_P1_13)
|
#define MICROPY_HW_SPI0_MOSI (pin_P0_23)
|
||||||
#define MICROPY_HW_SPI0_MISO (pin_P1_14)
|
#define MICROPY_HW_SPI0_MISO (pin_P0_22)
|
||||||
|
|
||||||
#define MICROPY_HW_PWM0_NAME "PWM0"
|
#define MICROPY_HW_PWM0_NAME "PWM0"
|
||||||
#define MICROPY_HW_PWM1_NAME "PWM1"
|
#define MICROPY_HW_PWM1_NAME "PWM1"
|
||||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
P0_00,P0_01
|
P0_00,P0_00
|
||||||
P0_01,P0_01
|
P0_01,P0_01
|
||||||
P0_02,P0_02
|
P0_02,P0_02
|
||||||
P0_03,P0_03
|
P0_03,P0_03
|
||||||
|
|
Loading…
Reference in New Issue
Block a user