-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into zerostats
- Loading branch information
Showing
99 changed files
with
20,836 additions
and
44 deletions.
There are no files selected for viewing
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,46 @@ | ||
{ | ||
"build": { | ||
"arduino":{ | ||
"ldscript": "esp32s3_out.ld", | ||
"memory_type": "qio_opi", | ||
"partitions": "default_16MB.csv" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DARDUINO_USB_MODE=1" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"hwids": [ | ||
[ | ||
"0X303A", | ||
"0x1001" | ||
] | ||
], | ||
"mcu": "esp32s3", | ||
"variant": "esp32s3" | ||
}, | ||
"connectivity": [ | ||
"wifi", | ||
"bluetooth" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "LILYGO T-HMI", | ||
"upload": { | ||
"flash_size": "16MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 16777216, | ||
"require_upload_port": true, | ||
"speed": 921600 | ||
}, | ||
"url": "https://www.adafruit.com/product/5290", | ||
"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
41 changes: 41 additions & 0 deletions
41
lib/TFT_eSPI/User_Setups/Setup303_WaveShare ESP32S3_GEEK.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,41 @@ | ||
// ST7789 135 x 240 display | ||
|
||
#define USER_SETUP_ID 303 | ||
|
||
#define ST7789_DRIVER // Configure all registers | ||
|
||
#define TFT_WIDTH 135 | ||
#define TFT_HEIGHT 240 | ||
|
||
#define CGRAM_OFFSET // Library will add offsets required | ||
|
||
#define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red | ||
|
||
#define TFT_INVERSION_ON | ||
|
||
// Generic ESP32 setup | ||
//#define TFT_MISO 19 | ||
#define TFT_MOSI 11 | ||
#define TFT_SCLK 12 | ||
#define TFT_CS 10 | ||
#define TFT_DC 8 | ||
#define TFT_RST 9 | ||
#define TFT_BL 7 | ||
|
||
|
||
#define LOAD_GLCD // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH | ||
#define LOAD_FONT2 // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters | ||
#define LOAD_FONT4 // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters | ||
#define LOAD_FONT6 // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters 1234567890:-.apm | ||
#define LOAD_FONT7 // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters 1234567890:. | ||
#define LOAD_FONT8 // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters 1234567890:-. | ||
//#define LOAD_FONT8N // Font 8. Alternative to Font 8 above, slightly narrower, so 3 digits fit a 160 pixel TFT | ||
#define LOAD_GFXFF // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts | ||
|
||
#define SMOOTH_FONT | ||
|
||
|
||
// #define SPI_FREQUENCY 27000000 | ||
#define SPI_FREQUENCY 40000000 | ||
|
||
// #define SUPPORT_TRANSACTIONS |
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,21 @@ | ||
SET(SOURCES screens/ui_SplashScreen.c | ||
screens/ui_HomeScreen.c | ||
screens/ui_StatsScreen.c | ||
screens/ui_ClockScreen.c | ||
ui.c | ||
components/ui_comp_hook.c | ||
ui_helpers.c | ||
ui_events.c | ||
images/ui_img_sky_png.c | ||
images/ui_img_1552732429.c | ||
images/ui_img_metal2_png.c | ||
fonts/ui_font_calculator128.c | ||
fonts/ui_font_calculator16.c | ||
fonts/ui_font_calculator24.c | ||
fonts/ui_font_calculator32.c | ||
fonts/ui_font_calculator48.c | ||
fonts/ui_font_star24.c | ||
fonts/ui_font_star32.c | ||
fonts/ui_font_start16.c) | ||
|
||
add_library(ui ${SOURCES}) |
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,5 @@ | ||
// This file was generated by SquareLine Studio | ||
// SquareLine Studio version: SquareLine Studio 1.4.0 | ||
// LVGL version: 8.3.6 | ||
// Project name: nostresp | ||
|
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,19 @@ | ||
screens/ui_SplashScreen.c | ||
screens/ui_HomeScreen.c | ||
screens/ui_StatsScreen.c | ||
screens/ui_ClockScreen.c | ||
ui.c | ||
components/ui_comp_hook.c | ||
ui_helpers.c | ||
ui_events.c | ||
images/ui_img_sky_png.c | ||
images/ui_img_1552732429.c | ||
images/ui_img_metal2_png.c | ||
fonts/ui_font_calculator128.c | ||
fonts/ui_font_calculator16.c | ||
fonts/ui_font_calculator24.c | ||
fonts/ui_font_calculator32.c | ||
fonts/ui_font_calculator48.c | ||
fonts/ui_font_star24.c | ||
fonts/ui_font_star32.c | ||
fonts/ui_font_start16.c |
Oops, something went wrong.