Support for building and running external apps (#112)

This commit is contained in:
Ken Van Hoeylandt
2024-12-08 16:46:19 +01:00
committed by GitHub
parent 42e843b463
commit 415442e410
74 changed files with 2901 additions and 126 deletions
+18
View File
@@ -0,0 +1,18 @@
# External Apps
## Building
Steps to build:
- Build the main project with `idf.py build` in the root folder of the project
- Open a terminal at `ExternalApps/${AppName}`
- The first time, run `./build.sh` (during consecutive runs, you can run `idf.py build`)
- Find the executable `build/${AppName}.app.elf` and copy it to an SD card.
## Developing apps
Currently, only C is supported. The `TactilityC` project converts Tactility's C++ code into C.
Methods need to be manually exposed to the ELF apps, by editing `TactilityC/Source/TactilityC.cpp`
You can put apps in `Data/config` or `Data/assets` during development, because putting it on an SD card takes more effort.