Tactility modules refactored (#13)
* refactor modules * moved esp_lvgl_port to libs/ * added missing file * fix for sim build * various sim/pc fixes * lvgl improvements * added missing cmake files
This commit is contained in:
committed by
GitHub
parent
a94baf0d00
commit
6bd65abbb4
@@ -11,26 +11,24 @@ target_sources(tactility-core
|
||||
PRIVATE ${SOURCES}
|
||||
PUBLIC ${HEADERS}
|
||||
)
|
||||
target_include_directories(tactility-core
|
||||
target_include_directories(tactility-core SYSTEM
|
||||
PRIVATE src/
|
||||
INTERFACE src/
|
||||
)
|
||||
|
||||
if (DEFINED ENV{ESP_IDF_VERSION})
|
||||
if (ESP_PLATFORM)
|
||||
add_definitions(-DESP_PLATFORM)
|
||||
target_link_libraries(tactility-core
|
||||
PUBLIC mlib
|
||||
PUBLIC idf::freertos
|
||||
PRIVATE idf::mbedtls
|
||||
PRIVATE idf::nvs_flash
|
||||
PRIVATE idf::esp_hw_support
|
||||
PUBLIC idf::mbedtls
|
||||
PRIVATE idf::nvs_flash # ESP-IDF // for secure.c
|
||||
)
|
||||
else()
|
||||
add_definitions(-D_Nullable=)
|
||||
add_definitions(-D_Nonnull=)
|
||||
target_link_libraries(tactility-core
|
||||
PRIVATE mlib
|
||||
PRIVATE mbedtls
|
||||
PRIVATE freertos-kernel
|
||||
PUBLIC mlib
|
||||
PUBLIC mbedtls
|
||||
PUBLIC freertos-kernel
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -8,14 +8,6 @@
|
||||
void tt_core_init() {
|
||||
TT_LOG_I(TAG, "core init start");
|
||||
tt_assert(!tt_kernel_is_irq());
|
||||
|
||||
#if defined(__ARM_ARCH_7A__) && (__ARM_ARCH_7A__ == 0U)
|
||||
/* Service Call interrupt might be configured before kernel start */
|
||||
/* and when its priority is lower or equal to BASEPRI, svc instruction */
|
||||
/* causes a Hard Fault. */
|
||||
NVIC_SetPriority(SVCall_IRQn, 0U);
|
||||
#endif
|
||||
|
||||
tt_service_registry_init();
|
||||
tt_app_manifest_registry_init();
|
||||
TT_LOG_I(TAG, "core init complete");
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "app.h"
|
||||
#include "check.h"
|
||||
#include "core.h"
|
||||
#include "core_defines.h"
|
||||
#include "core_extra_defines.h"
|
||||
#include "core_types.h"
|
||||
|
||||
Reference in New Issue
Block a user