-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
186 changed files
with
6,999 additions
and
2,261 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-D ARDUINO_TTGO_LoRa32_v21new" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "40000000L", | ||
"flash_mode": "dio", | ||
"hwids": [ | ||
[ | ||
"0x1A86", | ||
"0x55D4" | ||
] | ||
], | ||
"mcu": "esp32", | ||
"variant": "ttgo-lora32-v21new" | ||
}, | ||
"connectivity": ["wifi", "bluetooth", "ethernet", "can"], | ||
"debug": { | ||
"openocd_board": "esp-wroom-32.cfg" | ||
}, | ||
"frameworks": ["arduino", "espidf"], | ||
"name": "LoRa32 V2.1_1.6 ESP32 433MHZ 0.96 Inch OLED SD Card WIFI Module", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://lilygo.cc/products/lora3?variant=42476923879605", | ||
"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
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,23 @@ | ||
/** @file | ||
General C language utility macro. | ||
Copyright (C) 2018 Christian W. Zuckschwerdt <[email protected]> | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
*/ | ||
|
||
#ifndef INCLUDE_C_UTIL_H_ | ||
#define INCLUDE_C_UTIL_H_ | ||
|
||
// Helper macros, collides with MSVC's stdlib.h unless NOMINMAX is used | ||
#ifndef MAX | ||
#define MAX(a,b) ((a) > (b) ? (a) : (b)) | ||
#endif | ||
#ifndef MIN | ||
#define MIN(a,b) ((a) < (b) ? (a) : (b)) | ||
#endif | ||
|
||
#endif /* INCLUDE_C_UTIL_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
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
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.