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
+3
-16
@@ -1,17 +1,12 @@
|
||||
#include "nanobake.h"
|
||||
#include "record.h"
|
||||
#include "apps/services/loader/loader.h"
|
||||
|
||||
// Hardware
|
||||
#include "board_2432s024.h"
|
||||
#include "board_config.h"
|
||||
|
||||
// Apps
|
||||
#include "hello_world/hello_world.h"
|
||||
|
||||
__attribute__((unused)) void app_main(void) {
|
||||
static Config config = {
|
||||
.display_driver = &board_2432s024_create_display_driver,
|
||||
.touch_driver = &board_2432s024_create_touch_driver,
|
||||
static const Config config = {
|
||||
.hardware = NB_BOARD_HARDWARE,
|
||||
.apps = {
|
||||
&hello_world_app
|
||||
},
|
||||
@@ -19,12 +14,4 @@ __attribute__((unused)) void app_main(void) {
|
||||
};
|
||||
|
||||
nanobake_start(&config);
|
||||
|
||||
// FURI_RECORD_TRANSACTION(RECORD_LOADER, Loader*, loader, {
|
||||
// FuriString* error_message = furi_string_alloc();
|
||||
// if (loader_start_app(loader, hello_world_app.id, NULL, error_message) != LoaderStatusOk) {
|
||||
// FURI_LOG_E(hello_world_app.id, "%s\r\n", furi_string_get_cstr(error_message));
|
||||
// }
|
||||
// furi_string_free(error_message);
|
||||
// });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user