Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
da193c42
Commit
da193c42
authored
Oct 01, 2023
by
iabdalkader
Committed by
Damien George
Oct 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ports: Rename Arduino board LED pins to be consistent.
Signed-off-by:
iabdalkader
<
i.abdalkader@gmail.com
>
parent
2772b88f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
24 deletions
+24
-24
ports/renesas-ra/boards/ARDUINO_PORTENTA_C33/pins.csv
ports/renesas-ra/boards/ARDUINO_PORTENTA_C33/pins.csv
+3
-3
ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/pins.csv
ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/pins.csv
+3
-3
ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h
ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h
+3
-3
ports/stm32/boards/ARDUINO_GIGA/pins.csv
ports/stm32/boards/ARDUINO_GIGA/pins.csv
+3
-3
ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
+3
-3
ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
+3
-3
ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
+3
-3
ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
+3
-3
No files found.
ports/renesas-ra/boards/ARDUINO_PORTENTA_C33/pins.csv
View file @
da193c42
...
...
@@ -147,6 +147,6 @@ D5,P210
LED1,P107
LED2,P400
LED3,P800
LED_R,P107
LED_G,P400
LED_B,P800
LED_R
ED
,P107
LED_G
REEN
,P400
LED_B
LUE
,P800
ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/pins.csv
View file @
da193c42
...
...
@@ -19,9 +19,9 @@ A2,GPIO28
A3,GPIO29
SDA,GPIO12
SCL,GPIO13
LED
R
,EXT_GPIO0
LED
G
,EXT_GPIO1
LED
B
,EXT_GPIO2
LED
_RED
,EXT_GPIO0
LED
_GREEN
,EXT_GPIO1
LED
_BLUE
,EXT_GPIO2
D18,EXT_GPIO3
D19,EXT_GPIO4
D20,EXT_GPIO5
...
...
ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.h
View file @
da193c42
...
...
@@ -184,9 +184,9 @@ extern struct _spi_bdev_t spi_bdev;
#define MICROPY_HW_USRSW_PRESSED (1)
// LEDs
#define MICROPY_HW_LED1 (pyb_pin_LED
R
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
G
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
B
) // yellow
#define MICROPY_HW_LED1 (pyb_pin_LED
_RED
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
_GREEN
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
_BLUE
) // yellow
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_low(pin))
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_high(pin))
...
...
ports/stm32/boards/ARDUINO_GIGA/pins.csv
View file @
da193c42
...
...
@@ -179,9 +179,9 @@ UART6_RX,PC7
BOOT0,BOOT0
DAC1,PA4
DAC2,PA5
LED
R
,PI12
LED
G
,PJ13
LED
B
,PE3
LED
_RED
,PI12
LED
_GREEN
,PJ13
LED
_BLUE
,PE3
I2C1_SDA,PB9
I2C1_SCL,PB8
I2C2_SDA,PB11
...
...
ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
View file @
da193c42
...
...
@@ -180,9 +180,9 @@ extern struct _spi_bdev_t spi_bdev;
#define MICROPY_HW_CAN_IS_RESERVED(id) (id != PYB_CAN_1)
// LEDs
#define MICROPY_HW_LED1 (pyb_pin_LED
R
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
G
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
B
) // yellow
#define MICROPY_HW_LED1 (pyb_pin_LED
_RED
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
_GREEN
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
_BLUE
) // yellow
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_low(pin))
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_high(pin))
...
...
ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
View file @
da193c42
...
...
@@ -180,9 +180,9 @@ BOOT0,BOOT0
OSCEN,PH1
DAC1,-PA4
DAC2,-PA5
LED
R
,PE3
LED
G
,PC13
LED
B
,-PF4
LED
_RED
,PE3
LED
_GREEN
,PC13
LED
_BLUE
,-PF4
I2C1_SCL,PB8
I2C1_SDA,PB9
I2C2_SCL,PF1
...
...
ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
View file @
da193c42
...
...
@@ -177,9 +177,9 @@ extern struct _spi_bdev_t spi_bdev;
#define MICROPY_HW_USRSW_PRESSED (1)
// LEDs
#define MICROPY_HW_LED1 (pyb_pin_LED
R
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
G
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
B
) // yellow
#define MICROPY_HW_LED1 (pyb_pin_LED
_RED
) // red
#define MICROPY_HW_LED2 (pyb_pin_LED
_GREEN
) // green
#define MICROPY_HW_LED3 (pyb_pin_LED
_BLUE
) // yellow
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_low(pin))
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_high(pin))
...
...
ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
View file @
da193c42
...
...
@@ -203,9 +203,9 @@ BOOT0,BOOT0
OSCEN,PH1
DAC1,PA4
DAC2,-PA5
LED
R
,PK5
LED
G
,PK6
LED
B
,PK7
LED
_RED
,PK5
LED
_GREEN
,PK6
LED
_BLUE
,PK7
I2C1_SDA,PB7
I2C1_SCL,PB6
I2C3_SDA,PH8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment