-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add board definition for Wemos C3 Pico V1.0.0 - Lolin (#9442)
* Add board definition for Wemos C3 Pico V1.0.0 - Lolin Add board definition for Wemos C3 Pico V1.0.0 - Lolin https://www.wemos.cc/en/latest/c3/c3_pico.html * Add board definition for Wemos C3 Pico V1.0.0 - Lolin (9442) * feat(esp32): Add board definition for Wemos C3 Pico to boards.txt * Wemos C3 Pico V1.0.0 - Lolin: Add SS pin to fix CI build Wemos C3 Pico V1.0.0 - Lolin: Add SS pin to fix CI build * Update boards.txt
- Loading branch information
Showing
2 changed files
with
146 additions
and
0 deletions.
There are no files selected for viewing
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,32 @@ | ||
// https://www.wemos.cc/en/latest/c3/c3_pico.html | ||
|
||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
static const uint8_t LED_BUILTIN = 7; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN | ||
|
||
static const uint8_t TX = 21; | ||
static const uint8_t RX = 20; | ||
|
||
static const uint8_t SDA = 8; | ||
static const uint8_t SCL = 10; | ||
|
||
static const uint8_t VBAT = 3; | ||
|
||
static const uint8_t SCK = 2; | ||
static const uint8_t MISO = 0; | ||
static const uint8_t MOSI = 4; | ||
static const uint8_t SS = 5; | ||
|
||
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 */ |