Revert "fix for flash size in default config"

This reverts commit 38e7a35910.
This commit is contained in:
Ken Van Hoeylandt
2024-01-17 20:52:08 +01:00
parent 38e7a35910
commit 622c9f780c
164 changed files with 0 additions and 0 deletions
-16
View File
@@ -1,16 +0,0 @@
set(project_components tactility)
if("${IDF_TARGET}" STREQUAL "esp32")
list(APPEND project_components yellow_board)
endif()
# T-Deck is an S3 platform
if("${IDF_TARGET}" STREQUAL "esp32s3")
list(APPEND project_components lilygo_tdeck)
endif()
idf_component_register(
SRC_DIRS "src"
"src/hello_world"
REQUIRES ${project_components}
)
-14
View File
@@ -1,14 +0,0 @@
# Kconfig file for Tactility example app
menu "Tactility App"
choice
prompt "Board"
default TT_BOARD_CUSTOM
config TT_BOARD_CUSTOM
bool "Custom"
config TT_BOARD_YELLOW_BOARD_24_CAP
bool "Yellow Board (2.4\" capacitive)"
config TT_BOARD_LILYGO_TDECK
bool "LilyGo T-Deck"
endchoice
endmenu
-7
View File
@@ -1,7 +0,0 @@
dependencies:
espressif/esp_lcd_ili9341: "^2.0.0"
espressif/esp_lcd_touch_cst816s: "^1.0.3"
espressif/esp_lcd_touch_gt911: "^1.0.0"
espressif/esp_lcd_touch: "1.1.1"
esp_lvgl_port: '1.4.0'
idf: '>=5.1.2'
-15
View File
@@ -1,15 +0,0 @@
#pragma once
#include "sdkconfig.h"
// Supported hardware:
#if defined(CONFIG_TT_BOARD_LILYGO_TDECK)
#include "lilygo_tdeck.h"
#define TT_BOARD_HARDWARE &lilygo_tdeck
#elif defined(CONFIG_TT_BOARD_YELLOW_BOARD_24_CAP)
#include "yellow_board.h"
#define TT_BOARD_HARDWARE &yellow_board_24inch_cap
#else
#define TT_BOARD_HARDWARE NULL
#error Replace TT_BOARD_HARDWARE in main.c with your own. Or copy one of the ./sdkconfig.board.* files into ./sdkconfig.
#endif
-24
View File
@@ -1,24 +0,0 @@
#include "hello_world.h"
#include "services/gui/gui.h"
#include "services/loader/loader.h"
static void app_show(App app, lv_obj_t* parent) {
UNUSED(app);
lv_obj_t* label = lv_label_create(parent);
lv_label_set_recolor(label, true);
lv_obj_set_width(label, 200);
lv_obj_set_style_text_align(label, LV_TEXT_ALIGN_CENTER, 0);
lv_label_set_text(label, "Hello, world!");
lv_obj_align(label, LV_ALIGN_CENTER, 0, 0);
}
const AppManifest hello_world_app = {
.id = "helloworld",
.name = "Hello World",
.icon = NULL,
.type = AppTypeUser,
.on_start = NULL,
.on_stop = NULL,
.on_show = &app_show
};
-5
View File
@@ -1,5 +0,0 @@
#pragma once
#include "app_manifest.h"
extern const AppManifest hello_world_app;
-22
View File
@@ -1,22 +0,0 @@
#include "tactility.h"
#include "board_config.h"
// Apps
#include "hello_world/hello_world.h"
__attribute__((unused)) void app_main(void) {
static const Config config = {
/**
* Auto-select a board based on the ./sdkconfig.board.* file
* that you copied to ./sdkconfig before you opened this project.
*/
.hardware = TT_BOARD_HARDWARE,
.apps = {
&hello_world_app
},
.services = { },
.auto_start_app_id = NULL
};
tactility_start(&config);
}