Various fixes (#444)
- Add missing symbols for TactilitySDK - Disable display idle logic when there's no LVGL display
This commit is contained in:
committed by
GitHub
parent
fa544f9b3c
commit
2ca8ae62fb
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <private/elf_symbol.h>
|
||||
|
||||
extern const esp_elfsym string_symbols[];
|
||||
@@ -0,0 +1,14 @@
|
||||
#include <private/elf_symbol.h>
|
||||
#include <symbols/string.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
extern "C" void _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcjPKcjj(void*, char*, unsigned int, char const*, unsigned int, unsigned int);
|
||||
|
||||
const esp_elfsym string_symbols[] = {
|
||||
// Note: You have to use the mangled names here
|
||||
{ "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcjPKcjj", (void*)&_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcjPKcjj},
|
||||
// { "", (void*)&(std::) },
|
||||
// delimiter
|
||||
ESP_ELFSYM_END
|
||||
};
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "symbols/esp_http_client.h"
|
||||
#include "symbols/pthread.h"
|
||||
#include "symbols/stl.h"
|
||||
#include "symbols/string.h"
|
||||
#include "symbols/cplusplus.h"
|
||||
#include "symbols/freertos.h"
|
||||
#ifndef CONFIG_IDF_TARGET_ESP32P4
|
||||
@@ -633,10 +634,11 @@ uintptr_t tt_symbol_resolver(const char* symbolName) {
|
||||
#endif
|
||||
stl_symbols,
|
||||
cplusplus_symbols,
|
||||
esp_event_symbols,
|
||||
esp_http_client_symbols,
|
||||
pthread_symbols,
|
||||
freertos_symbols,
|
||||
string_symbols,
|
||||
esp_event_symbols,
|
||||
esp_http_client_symbols,
|
||||
};
|
||||
|
||||
for (const auto* symbols : all_symbols) {
|
||||
|
||||
Reference in New Issue
Block a user