Ken Van Hoeylandt d25603166a
Merge develop into main (#365)
### TactilityC
- Create UART HAL
- Refactor locking APIs
- Bind new C++ functionality
- Bind new LVGL functionality

### Apps
- Remove Serial Console as it has been ported as an external app
2025-10-08 23:16:45 +02:00

27 lines
421 B
C++

#include <tt_kernel.h>
#include <Tactility/lvgl/Lvgl.h>
#include <Tactility/lvgl/LvglSync.h>
extern "C" {
bool tt_lvgl_is_started() {
return tt::lvgl::isStarted();
}
void tt_lvgl_start() {
tt::lvgl::start();
}
void tt_lvgl_stop() {
tt::lvgl::stop();
}
void tt_lvgl_lock(TickType timeout) {
tt::lvgl::getSyncLock()->lock(timeout);
}
void tt_lvgl_unlock() {
tt::lvgl::getSyncLock()->unlock();
}
}