-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #344 from lora-aprs/remove_board_finder
Remove board finder, add support for AXP2101 and T-Beam-S3-Core
- Loading branch information
Showing
40 changed files
with
682 additions
and
587 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 was deleted.
Oops, something went wrong.
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,25 @@ | ||
; Common settings for ESP targes, mixin with extends = esp32_base | ||
[esp32_base] | ||
extends = arduino_base | ||
platform = platformio/espressif32 @ 6.8.1 | ||
|
||
build_src_filter = | ||
${arduino_base.build_src_filter} | ||
|
||
upload_speed = 921600 | ||
monitor_filters = esp32_exception_decoder | ||
|
||
;board_build.filesystem = littlefs | ||
|
||
build_flags = | ||
${arduino_base.build_flags} | ||
-Wall | ||
; -Wextra | ||
-Isrc/platform/esp32 | ||
-std=c++2a | ||
-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG | ||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG | ||
-DAXP_DEBUG_PORT=Serial | ||
|
||
lib_deps = | ||
${arduino_base.lib_deps} |
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,2 @@ | ||
[esp32s3_base] | ||
extends = esp32_base |
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,45 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32s3_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DLILYGO_TBEAM_S3_CORE", | ||
"-DARDUINO_USB_CDC_ON_BOOT=1", | ||
"-DARDUINO_RUNNING_CORE=1", | ||
"-DARDUINO_EVENT_RUNNING_CORE=1" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"hwids": [ | ||
[ | ||
"0X303A", | ||
"0x1001" | ||
] | ||
], | ||
"mcu": "esp32s3", | ||
"variant": "tbeam-s3-core" | ||
}, | ||
"connectivity": [ | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino" | ||
], | ||
"name": "LilyGo TBeam-S3-Core", | ||
"upload": { | ||
"flash_size": "8MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 8388608, | ||
"require_upload_port": true, | ||
"speed": 921600 | ||
}, | ||
"url": "http://www.lilygo.cn/", | ||
"vendor": "LilyGo" | ||
} |
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,26 @@ | ||
#include "Board.h" | ||
|
||
String getBoardName() { | ||
#if defined(HELTEC_V1) | ||
return "Heltec V1"; | ||
#elif defined(HELTEC_V2_0) | ||
return "Heltec V2"; | ||
#elif defined(HELTEC_V3) | ||
return "Heltec V3"; | ||
#elif defined(T_INTERNET_POE) | ||
return "T-Internet PoE"; | ||
#elif defined(TBEAM_V10) | ||
return "T-Beam V1.0 and V1.1"; | ||
#elif defined(TBEAM_V12_AXP2101) | ||
return "T-Beam V1.2 AXP2101"; | ||
#elif defined(TBEAM_S3_CORE) | ||
return "T-Beam S3 Core"; | ||
#elif defined(TLORA_V1) | ||
return "T-LoRa32 V1"; | ||
#elif defined(TLORA_V2) | ||
return "T-LoRa32 V2"; | ||
#else | ||
#error "Board not defined!" | ||
#endif | ||
return ""; | ||
} |
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,8 @@ | ||
#ifndef BOARD_H_ | ||
#define BOARD_H_ | ||
|
||
#include <Arduino.h> | ||
|
||
String getBoardName(); | ||
|
||
#endif |
Oops, something went wrong.