Added Lilygo T-Deck support & more (#4)
* added lilygo t-deck restructured boards implemented HardwareConfig implemented lilygo t-deck lcd and touch drivers added sdkconfig defaults for supported boards * cleanup * added esp32s3 job * build job names updated * wip * partial revert * update readme and build.yml * updated build.yaml with fix for quotes * use esp-idf 5.1.2 * improvements and fixes * fixes for display code * made config const * various improvements
This commit is contained in:
committed by
GitHub
parent
eed990217f
commit
8336316133
@@ -1,6 +1,7 @@
|
||||
## Overview
|
||||
|
||||
NanoBake is a front-end application platform for ESP32. It provides an application framework that is based on code from the [Flipper Zero](https://github.com/flipperdevices/flipperzero-firmware/) project.
|
||||
NanoBake is a front-end application platform for ESP32.
|
||||
It provides an application framework that is based on code from the [Flipper Zero](https://github.com/flipperdevices/flipperzero-firmware/) project.
|
||||
|
||||
Nanobake provides:
|
||||
- A hardware abstraction layer
|
||||
@@ -16,11 +17,11 @@ Requirements:
|
||||
|
||||
## Technologies
|
||||
|
||||
UI is created with [lvgl](https://github.com/lvgl/lvgl) via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port).
|
||||
|
||||
LCD and input drivers are based on [esp_lcd](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/lcd.html)
|
||||
and [esp_lcd_touch](https://components.espressif.com/components/espressif/esp_lcd_touch).
|
||||
|
||||
UI is created with [lvgl](https://github.com/lvgl/lvgl) via [esp_lvgl_port](https://github.com/espressif/esp-bsp/tree/master/components/esp_lvgl_port).
|
||||
|
||||
## Supported Hardware
|
||||
|
||||
**NOTE**: `sdkconfig.defaults` currently contains `CONFIG_LV_COLOR_16_SWAP=y`.
|
||||
@@ -28,33 +29,15 @@ You might have to remove this setting if you're not using the Yellow Board descr
|
||||
|
||||
### Devices
|
||||
|
||||
See below for the supported hardware.
|
||||
Predefined configurations are available for:
|
||||
- Yellow Board / 2432S024 (capacitive touch variant)
|
||||
- Yellow Board: 2.4" with capacitive touch (2432S024) (sources: AliExpress [1](https://www.aliexpress.com/item/1005005902429049.html), [2](https://www.aliexpress.com/item/1005005865107357.html))
|
||||
- LilyGo T-Deck
|
||||
- (more will follow)
|
||||
|
||||
### Drivers
|
||||
Other configurations can be supported, but they require you to set up the drivers yourself:
|
||||
|
||||
**Displays** (see [esp-bsp](https://github.com/espressif/esp-bsp/blob/master/LCD.md) and [Espressif Registry](https://components.espressif.com/components?q=esp_lcd)):
|
||||
- GC9503
|
||||
- GC9A01
|
||||
- ILI9341
|
||||
- RA8875
|
||||
- RM68120
|
||||
- SH1107
|
||||
- SSD1306
|
||||
- SSD1963
|
||||
- ST7262E43
|
||||
- ST7789
|
||||
- ST7796
|
||||
|
||||
**Touch** (see [Espressif Registry](https://components.espressif.com/components?q=esp_lcd_touch)):
|
||||
- CST8xx
|
||||
- FT5X06
|
||||
- GT1151
|
||||
- GT911
|
||||
- STMPE610
|
||||
- TT2100
|
||||
- Display drivers: [esp-bsp](https://github.com/espressif/esp-bsp/blob/master/LCD.md) and [Espressif Registry](https://components.espressif.com/components?q=esp_lcd).
|
||||
- Touch drivers: [Espressif Registry](https://components.espressif.com/components?q=esp_lcd_touch).
|
||||
|
||||
## Guide
|
||||
|
||||
@@ -63,6 +46,16 @@ Until there is proper documentation, here are some pointers:
|
||||
- [NanoBake](./components/nanobake/inc)
|
||||
- [Furi](./components/furi/src)
|
||||
|
||||
## Building Firmware
|
||||
|
||||
First we have to select the correct device:
|
||||
|
||||
1. If you use CLion, close it and delete the `cmake-build-debug` folder.
|
||||
2. If you have a `build` folder, then delete it or run `idf.py fullclean`
|
||||
3. Copy the `sdkconfig.board.YOUR_BOARD` into `sdkconfig`
|
||||
|
||||
Now you can run `idf.py flash monitor`
|
||||
|
||||
## License
|
||||
|
||||
[GNU General Public License Version 3](LICENSE.md)
|
||||
|
||||
Reference in New Issue
Block a user