-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update m5stack boards define (#9086)
* update m5stack boards define * update pins define * add M5Dial Board * build.board modify uppercase
- Loading branch information
1 parent
9aae6f5
commit a1c86ae
Showing
23 changed files
with
4,641 additions
and
1,349 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define USB_VID 0x303a | ||
#define USB_PID 0x1001 | ||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t TXD2 = 1; | ||
static const uint8_t RXD2 = 2; | ||
|
||
static const uint8_t SDA = 13; | ||
static const uint8_t SCL = 15; | ||
|
||
static const uint8_t SS = 11; | ||
static const uint8_t MOSI = 12; | ||
static const uint8_t MISO = 39; | ||
static const uint8_t SCK = 14; | ||
|
||
static const uint8_t G0 = 0; | ||
static const uint8_t G1 = 1; | ||
static const uint8_t G2 = 2; | ||
static const uint8_t G3 = 3; | ||
static const uint8_t G4 = 4; | ||
static const uint8_t G5 = 5; | ||
static const uint8_t G6 = 6; | ||
static const uint8_t G7 = 7; | ||
static const uint8_t G8 = 8; | ||
static const uint8_t G9 = 9; | ||
static const uint8_t G10 = 10; | ||
static const uint8_t G11 = 11; | ||
static const uint8_t G12 = 12; | ||
static const uint8_t G13 = 13; | ||
static const uint8_t G14 = 14; | ||
static const uint8_t G15 = 15; | ||
static const uint8_t G39 = 39; | ||
static const uint8_t G40 = 40; | ||
static const uint8_t G41 = 41; | ||
static const uint8_t G42 = 42; | ||
static const uint8_t G43 = 43; | ||
static const uint8_t G44 = 44; | ||
static const uint8_t G46 = 46; | ||
|
||
static const uint8_t ADC1 = 7; | ||
static const uint8_t ADC2 = 8; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define USB_VID 0x303a | ||
#define USB_PID 0x1001 | ||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t TXD2 = 1; | ||
static const uint8_t RXD2 = 2; | ||
|
||
static const uint8_t SDA = 13; | ||
static const uint8_t SCL = 15; | ||
|
||
static const uint8_t SS = 12; | ||
static const uint8_t MOSI = 14; | ||
static const uint8_t MISO = 39; | ||
static const uint8_t SCK = 40; | ||
|
||
static const uint8_t G0 = 0; | ||
static const uint8_t G1 = 1; | ||
static const uint8_t G2 = 2; | ||
static const uint8_t G3 = 3; | ||
static const uint8_t G4 = 4; | ||
static const uint8_t G5 = 5; | ||
static const uint8_t G6 = 6; | ||
static const uint8_t G7 = 7; | ||
static const uint8_t G8 = 8; | ||
static const uint8_t G9 = 9; | ||
static const uint8_t G10 = 10; | ||
static const uint8_t G11 = 11; | ||
static const uint8_t G12 = 12; | ||
static const uint8_t G13 = 13; | ||
static const uint8_t G14 = 14; | ||
static const uint8_t G15 = 15; | ||
static const uint8_t G39 = 39; | ||
static const uint8_t G40 = 40; | ||
static const uint8_t G41 = 41; | ||
static const uint8_t G42 = 42; | ||
static const uint8_t G43 = 43; | ||
static const uint8_t G44 = 44; | ||
static const uint8_t G46 = 46; | ||
|
||
static const uint8_t ADC1 = 7; | ||
static const uint8_t ADC2 = 8; | ||
|
||
|
||
|
||
#endif /* Pins_Arduino_h */ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define USB_VID 0x303a | ||
#define USB_PID 0x1001 | ||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t TXD2 = 1; | ||
static const uint8_t RXD2 = 2; | ||
|
||
static const uint8_t SDA = 13; | ||
static const uint8_t SCL = 15; | ||
|
||
static const uint8_t SS = 12; | ||
static const uint8_t MOSI = 14; | ||
static const uint8_t MISO = 39; | ||
static const uint8_t SCK = 40; | ||
|
||
static const uint8_t G0 = 0; | ||
static const uint8_t G1 = 1; | ||
static const uint8_t G2 = 2; | ||
static const uint8_t G3 = 3; | ||
static const uint8_t G4 = 4; | ||
static const uint8_t G5 = 5; | ||
static const uint8_t G6 = 6; | ||
static const uint8_t G7 = 7; | ||
static const uint8_t G8 = 8; | ||
static const uint8_t G9 = 9; | ||
static const uint8_t G10 = 10; | ||
static const uint8_t G11 = 11; | ||
static const uint8_t G12 = 12; | ||
static const uint8_t G13 = 13; | ||
static const uint8_t G14 = 14; | ||
static const uint8_t G15 = 15; | ||
static const uint8_t G39 = 39; | ||
static const uint8_t G40 = 40; | ||
static const uint8_t G41 = 41; | ||
static const uint8_t G42 = 42; | ||
static const uint8_t G43 = 43; | ||
static const uint8_t G44 = 44; | ||
static const uint8_t G46 = 46; | ||
|
||
static const uint8_t ADC1 = 7; | ||
static const uint8_t ADC2 = 8; | ||
|
||
|
||
|
||
#endif /* Pins_Arduino_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
#define TX2 14 | ||
#define RX2 13 | ||
|
||
static const uint8_t TX = 1; | ||
static const uint8_t RX = 3; | ||
|
||
static const uint8_t SDA = 25; | ||
static const uint8_t SCL = 32; | ||
|
||
static const uint8_t SS = 15; | ||
static const uint8_t MOSI = 12; | ||
static const uint8_t MISO = 13; | ||
static const uint8_t SCK = 14; | ||
|
||
static const uint8_t G25 = 25; | ||
static const uint8_t G32 = 32; | ||
|
||
static const uint8_t G26 = 26; | ||
static const uint8_t G33 = 33; | ||
|
||
static const uint8_t G18 = 18; | ||
static const uint8_t G19 = 19; | ||
|
||
static const uint8_t G21 = 21; | ||
static const uint8_t G22 = 22; | ||
|
||
static const uint8_t G36 = 36; | ||
static const uint8_t G2 = 2; | ||
static const uint8_t G4 = 4; | ||
static const uint8_t G5 = 5; | ||
static const uint8_t G23 = 23; | ||
|
||
static const uint8_t G37 = 37; | ||
static const uint8_t G38 = 38; | ||
static const uint8_t G39 = 39; | ||
|
||
static const uint8_t DAC1 = 25; | ||
static const uint8_t DAC2 = 26; | ||
|
||
static const uint8_t ADC1 = 35; | ||
static const uint8_t ADC2 = 36; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
static const uint8_t TX = 1; | ||
static const uint8_t RX = 3; | ||
|
||
static const uint8_t SDA = 25; | ||
static const uint8_t SCL = 33; | ||
|
||
// Modified elsewhere | ||
static const uint8_t SS = -1; | ||
static const uint8_t MOSI = -1; | ||
static const uint8_t MISO = -1; | ||
static const uint8_t SCK = -1; | ||
|
||
static const uint8_t G23 = 23; | ||
static const uint8_t G25 = 25; | ||
static const uint8_t G27 = 27; | ||
static const uint8_t G22 = 22; | ||
static const uint8_t G26 = 26; | ||
static const uint8_t G21 = 21; | ||
static const uint8_t G32 = 32; | ||
static const uint8_t G35 = 35; | ||
static const uint8_t G34 = 34; | ||
static const uint8_t G5 = 5; | ||
static const uint8_t G39 = 39; | ||
static const uint8_t G18 = 18; | ||
static const uint8_t G36 = 36; | ||
static const uint8_t G19 = 19; | ||
static const uint8_t G15 = 15; | ||
|
||
static const uint8_t G2 = 2; | ||
static const uint8_t G33 = 33; | ||
|
||
static const uint8_t G13 = 13; | ||
static const uint8_t G4 = 4; | ||
|
||
static const uint8_t G0 = 0; | ||
|
||
static const uint8_t DAC1 = 25; | ||
static const uint8_t DAC2 = 26; | ||
|
||
static const uint8_t ADC1 = 35; | ||
static const uint8_t ADC2 = 36; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
static const uint8_t TX = 21; | ||
static const uint8_t RX = 20; | ||
|
||
static const uint8_t SDA = 8; | ||
static const uint8_t SCL = 9; | ||
|
||
static const uint8_t SS = 7; | ||
static const uint8_t MOSI = 6; | ||
static const uint8_t MISO = 5; | ||
static const uint8_t SCK = 4; | ||
|
||
static const uint8_t A0 = 0; | ||
static const uint8_t A1 = 1; | ||
static const uint8_t A2 = 2; | ||
static const uint8_t A3 = 3; | ||
static const uint8_t A4 = 4; | ||
static const uint8_t A5 = 5; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.