Rename project to tactility (#7)

* wifi wip

* renamed project to Tactility

* renamed code files and defines

* changed prefixes to tt_

* removed wifi wip code
This commit is contained in:
Ken Van Hoeylandt
2024-01-06 12:24:38 +01:00
committed by GitHub
parent b0ffa04d78
commit 28bd80c1f1
64 changed files with 92 additions and 89 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
# Yellow Board only runs on ESP32
set(project_components nanobake)
set(project_components tactility)
if("${IDF_TARGET}" STREQUAL "esp32")
list(APPEND project_components yellow_board)
+6 -6
View File
@@ -1,14 +1,14 @@
# Kconfig file for NanoBake example app
menu "NanoBake App"
# Kconfig file for Tactility example app
menu "Tactility App"
choice
prompt "Board"
default NB_BOARD_CUSTOM
default TT_BOARD_CUSTOM
config NB_BOARD_CUSTOM
config TT_BOARD_CUSTOM
bool "Custom"
config NB_BOARD_YELLOW_BOARD_24_CAP
config TT_BOARD_YELLOW_BOARD_24_CAP
bool "Yellow Board (2.4\" capacitive)"
config NB_BOARD_LILYGO_TDECK
config TT_BOARD_LILYGO_TDECK
bool "LilyGo T-Deck"
endchoice
endmenu
+1 -1
View File
@@ -4,4 +4,4 @@ dependencies:
espressif/esp_lcd_touch_gt911: "^1.0.0"
espressif/esp_lcd_touch: "1.1.1"
esp_lvgl_port: '1.4.0'
idf: '>=5.1'
idf: '>=5.1.2'
+9 -8
View File
@@ -1,14 +1,15 @@
#pragma once
#include "sdkconfig.h"
// Supported hardware:
#if defined(CONFIG_NB_BOARD_LILYGO_TDECK)
#if defined(CONFIG_TT_BOARD_LILYGO_TDECK)
#include "lilygo_tdeck.h"
#define NB_BOARD_HARDWARE &lilygo_tdeck
#elif defined(CONFIG_NB_BOARD_YELLOW_BOARD_24_CAP)
#define TT_BOARD_HARDWARE &lilygo_tdeck
#elif defined(CONFIG_TT_BOARD_YELLOW_BOARD_24_CAP)
#include "yellow_board.h"
#define NB_BOARD_HARDWARE &yellow_board_24inch_cap
#elif defined(CONFIG_NB_BOARD_CUSTOM)
#define NB_BOARD_HARDWARE furi_crash( \
"Replace NB_BOARD_HARDWARE in main.c with your own, or use \"idf.py menuconfig\" to select a supported board." \
)
#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
+3 -3
View File
@@ -1,4 +1,4 @@
#include "nanobake.h"
#include "tactility.h"
#include "board_config.h"
// Apps
@@ -10,12 +10,12 @@ __attribute__((unused)) void app_main(void) {
* Auto-select a board based on the ./sdkconfig.board.* file
* that you copied to ./sdkconfig before you opened this project.
*/
.hardware = NB_BOARD_HARDWARE,
.hardware = TT_BOARD_HARDWARE,
.apps = {
&hello_world_app
},
.services = { },
};
nanobake_start(&config);
tactility_start(&config);
}