-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Heltec ESP32 Series boards update #9367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d69d21c
Heltec ESP32 Series boards update
Heltec-Aaron-Lee b728649
Merge branch 'master' into master
P-R-O-C-H-Y ea2281d
Update variants/heltec_capsule_sensor_v3/pins_arduino.h
Heltec-Aaron-Lee 3d8b586
Update variants/heltec_capsule_sensor_v3/pins_arduino.h
Heltec-Aaron-Lee ce852cb
Update variants/heltec_ht_de01/pins_arduino.h
Heltec-Aaron-Lee 7b1db53
Update variants/heltec_wireless_mini_shell/pins_arduino.h
Heltec-Aaron-Lee b49f56b
Update variants/heltec_wireless_mini_shell/pins_arduino.h
Heltec-Aaron-Lee 5761cfe
Fix board definition format
Heltec-Aaron-Lee 911337d
Merge branch 'master' of https://github.com/Heltec-Aaron-Lee/arduino-…
Heltec-Aaron-Lee 27bb6f8
Update Wireless Stick Lite V3 pin defintion
Heltec-Aaron-Lee 3f59dac
Update Heltec boards defintion
Heltec-Aaron-Lee 1de9574
Heltec Wireless Shell (V3) format update
Heltec-Aaron-Lee a6069a3
Heltec Capsule Sensor V3 information update
Heltec-Aaron-Lee 448e85e
Heltec E-Ink Driver board menu update
Heltec-Aaron-Lee 22c6386
Heltec E-Ink Driver board menu update
Heltec-Aaron-Lee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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,10 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x009000, 0x005000, | ||
otadata, data, ota, 0x00e000, 0x002000, | ||
app, app, ota_0, 0x010000, 0x250000, | ||
flashApp, app, ota_1, 0x260000, 0x0A0000, | ||
spiffs, data, spiffs, 0x300000, 0x100000, | ||
factory, app, factory, 0x400000, 0x100000, | ||
secondApp,app, ota_2, 0x500000, 0x2D0000, | ||
key_data, 0x40, 0x00, 0x7D0000, 0x020000, | ||
coredump, data, coredump,0x7F0000,0x10000, |
This file contains hidden or 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,93 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define HELTEC_CAPSULE_SENSOR_V3 true | ||
|
||
#define USB_VID 0x303a | ||
#define USB_PID 0x1001 | ||
|
||
#define EXTERNAL_NUM_INTERRUPTS 46 | ||
#define NUM_DIGITAL_PINS 48 | ||
#define NUM_ANALOG_INPUTS 20 | ||
|
||
// Some boards have too low voltage on this pin (board design bug) | ||
// Use different pin with 3V and connect with 48 | ||
// and change this setup for the chosen pin (for example 38) | ||
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN | ||
#define RGB_BUILTIN LED_BUILTIN | ||
#define RGB_BRIGHTNESS 64 | ||
|
||
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < 46) | ||
Heltec-Aaron-Lee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t SDA = 41; | ||
static const uint8_t SCL = 42; | ||
|
||
static const uint8_t SS = 8; | ||
static const uint8_t MOSI = 10; | ||
static const uint8_t MISO = 11; | ||
static const uint8_t SCK = 9; | ||
|
||
static const uint8_t A0 = 1; | ||
static const uint8_t A1 = 2; | ||
static const uint8_t A2 = 3; | ||
static const uint8_t A3 = 4; | ||
static const uint8_t A4 = 5; | ||
static const uint8_t A5 = 6; | ||
static const uint8_t A6 = 7; | ||
static const uint8_t A7 = 8; | ||
static const uint8_t A8 = 9; | ||
static const uint8_t A9 = 10; | ||
static const uint8_t A10 = 11; | ||
static const uint8_t A11 = 12; | ||
static const uint8_t A12 = 13; | ||
static const uint8_t A13 = 14; | ||
static const uint8_t A14 = 15; | ||
static const uint8_t A15 = 16; | ||
static const uint8_t A16 = 17; | ||
static const uint8_t A17 = 18; | ||
static const uint8_t A18 = 19; | ||
static const uint8_t A19 = 20; | ||
|
||
static const uint8_t T1 = 1; | ||
static const uint8_t T2 = 2; | ||
static const uint8_t T3 = 3; | ||
static const uint8_t T4 = 4; | ||
static const uint8_t T5 = 5; | ||
static const uint8_t T6 = 6; | ||
static const uint8_t T7 = 7; | ||
static const uint8_t T8 = 8; | ||
static const uint8_t T9 = 9; | ||
static const uint8_t T10 = 10; | ||
static const uint8_t T11 = 11; | ||
static const uint8_t T12 = 12; | ||
static const uint8_t T13 = 13; | ||
static const uint8_t T14 = 14; | ||
|
||
static const uint8_t Vext = 21; | ||
static const uint8_t LED0 = 33; | ||
static const uint8_t LED1 = 34; | ||
static const uint8_t USER_BUTTON = 18; | ||
|
||
static const uint8_t GPS_RX_PIN = 5; | ||
static const uint8_t GPS_TX_PIN = 4; | ||
static const uint8_t GPS_RESET_PIN = 3; | ||
static const uint8_t GPS_PPS_PIN = 1; | ||
|
||
static const uint8_t ADC_BATTERY_PIN = 7; | ||
static const uint8_t ADC_BATTERY_CTRL_PIN = 36; | ||
|
||
static const uint8_t RST_LoRa = 12; | ||
static const uint8_t BUSY_LoRa = 13; | ||
static const uint8_t DIO0 = 14; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains hidden or 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,78 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
#define HT_DE01 true | ||
|
||
#define EXTERNAL_NUM_INTERRUPTS 16 | ||
#define NUM_DIGITAL_PINS 40 | ||
#define NUM_ANALOG_INPUTS 16 | ||
|
||
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < 34) | ||
Heltec-Aaron-Lee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
static const uint8_t LED_BUILTIN = 35; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN | ||
|
||
static const uint8_t KEY_BUILTIN = 0; | ||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t SDA = 21; | ||
static const uint8_t SCL = 22; | ||
|
||
static const uint8_t SS = 8; | ||
static const uint8_t MOSI = 10; | ||
static const uint8_t MISO = 11; | ||
static const uint8_t SCK = 9; | ||
|
||
static const uint8_t A0 = 1; | ||
static const uint8_t A1 = 2; | ||
static const uint8_t A2 = 3; | ||
static const uint8_t A3 = 4; | ||
static const uint8_t A4 = 5; | ||
static const uint8_t A5 = 6; | ||
static const uint8_t A6 = 7; | ||
static const uint8_t A7 = 8; | ||
static const uint8_t A8 = 9; | ||
static const uint8_t A9 = 10; | ||
static const uint8_t A10 = 11; | ||
static const uint8_t A11 = 12; | ||
static const uint8_t A12 = 13; | ||
static const uint8_t A13 = 14; | ||
static const uint8_t A14 = 15; | ||
static const uint8_t A15 = 16; | ||
static const uint8_t A16 = 17; | ||
static const uint8_t A17 = 18; | ||
static const uint8_t A18 = 19; | ||
static const uint8_t A19 = 20; | ||
|
||
static const uint8_t T1 = 1; | ||
static const uint8_t T2 = 2; | ||
static const uint8_t T3 = 3; | ||
static const uint8_t T4 = 4; | ||
static const uint8_t T5 = 5; | ||
static const uint8_t T6 = 6; | ||
static const uint8_t T7 = 7; | ||
static const uint8_t T8 = 8; | ||
static const uint8_t T9 = 9; | ||
static const uint8_t T10 = 10; | ||
static const uint8_t T11 = 11; | ||
static const uint8_t T12 = 12; | ||
static const uint8_t T13 = 13; | ||
static const uint8_t T14 = 14; | ||
|
||
static const uint8_t Vext = 45; | ||
static const uint8_t LED = 18; | ||
static const uint8_t RST_EINK = 6; | ||
static const uint8_t BUSY_EINK = 7; | ||
static const uint8_t CLK_EINK = 3; | ||
static const uint8_t CS_EINK = 5; | ||
static const uint8_t DC_EINK = 4; | ||
static const uint8_t SDI_EINK = 2; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains hidden or 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 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
#define WIRELESS_BRIDGE true | ||
|
||
|
||
static const uint8_t LED_BUILTIN = 25; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
|
||
static const uint8_t KEY_BUILTIN = 0; | ||
|
||
static const uint8_t SDA = 21; | ||
static const uint8_t SCL = 22; | ||
|
||
static const uint8_t SS = 18; | ||
static const uint8_t MOSI = 27; | ||
static const uint8_t MISO = 19; | ||
static const uint8_t SCK = 5; | ||
|
||
static const uint8_t Vext = 21; | ||
static const uint8_t LED = 25; | ||
static const uint8_t BLE_LED = 25; | ||
static const uint8_t WIFI_LED = 23; | ||
static const uint8_t LoRa_LED = 22; | ||
static const uint8_t RST_LoRa = 14; | ||
static const uint8_t DIO0 = 26; | ||
static const uint8_t DIO1 = 35; | ||
static const uint8_t DIO2 = 34; | ||
|
||
#endif /* Pins_Arduino_h */ |
This file contains hidden or 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,40 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define WIRELESS_MINI_SHELL true | ||
#define EXTERNAL_NUM_INTERRUPTS 22 | ||
#define NUM_DIGITAL_PINS 22 | ||
#define NUM_ANALOG_INPUTS 6 | ||
Heltec-Aaron-Lee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+8; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN | ||
#define RGB_BUILTIN LED_BUILTIN | ||
#define RGB_BRIGHTNESS 64 | ||
|
||
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS) | ||
Heltec-Aaron-Lee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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 hidden or 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,70 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
#define WIRELESS_PAPER true | ||
#define DISPLAY_HEIGHT 64 | ||
#define DISPLAY_WIDTH 128 | ||
|
||
|
||
static const uint8_t LED_BUILTIN = 35; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN | ||
|
||
static const uint8_t KEY_BUILTIN = 0; | ||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t SDA = 21; | ||
static const uint8_t SCL = 22; | ||
|
||
static const uint8_t SS = 8; | ||
static const uint8_t MOSI = 10; | ||
static const uint8_t MISO = 11; | ||
static const uint8_t SCK = 9; | ||
|
||
static const uint8_t A0 = 1; | ||
static const uint8_t A1 = 2; | ||
static const uint8_t A2 = 3; | ||
static const uint8_t A3 = 4; | ||
static const uint8_t A4 = 5; | ||
static const uint8_t A5 = 6; | ||
static const uint8_t A6 = 7; | ||
static const uint8_t A7 = 8; | ||
static const uint8_t A8 = 9; | ||
static const uint8_t A9 = 10; | ||
static const uint8_t A10 = 11; | ||
static const uint8_t A11 = 12; | ||
static const uint8_t A12 = 13; | ||
static const uint8_t A13 = 14; | ||
static const uint8_t A14 = 15; | ||
static const uint8_t A15 = 16; | ||
static const uint8_t A16 = 17; | ||
static const uint8_t A17 = 18; | ||
static const uint8_t A18 = 19; | ||
static const uint8_t A19 = 20; | ||
|
||
static const uint8_t T1 = 1; | ||
static const uint8_t T2 = 2; | ||
static const uint8_t T3 = 3; | ||
static const uint8_t T4 = 4; | ||
static const uint8_t T5 = 5; | ||
static const uint8_t T6 = 6; | ||
static const uint8_t T7 = 7; | ||
static const uint8_t T8 = 8; | ||
static const uint8_t T9 = 9; | ||
static const uint8_t T10 = 10; | ||
static const uint8_t T11 = 11; | ||
static const uint8_t T12 = 12; | ||
static const uint8_t T13 = 13; | ||
static const uint8_t T14 = 14; | ||
|
||
static const uint8_t Vext = 45; | ||
static const uint8_t LED = 18; | ||
static const uint8_t RST_OLED = 21; | ||
static const uint8_t SCL_OLED = 18; | ||
static const uint8_t SDA_OLED = 17; | ||
|
||
#endif /* Pins_Arduino_h */ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.