C++ conversion (#80)

Converted project to C++
This commit is contained in:
Ken Van Hoeylandt
2024-11-22 20:26:08 +01:00
committed by GitHub
parent 6d80144e12
commit 85e26636a3
488 changed files with 6017 additions and 39466 deletions
+33
View File
@@ -0,0 +1,33 @@
#include "Boards.h"
// Apps
#include "Tactility.h"
namespace tt::service::wifi {
extern void wifi_main(void*);
}
extern const tt::AppManifest hello_world_app;
extern "C" {
void app_main() {
static const tt::Configuration 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 = nullptr
};
tt::init(&config);
tt::service::wifi::wifi_main(nullptr);
}
} // extern