Buildscript and kernel improvements (#280)

- Implemented `constexpr long int getMicros()` in `Kernel.h`
- Changed `secondsToTicks()`, `minutesToTicks()` and `bool isIsr()` to `constexpr`
- Added more relevant build info
This commit is contained in:
Ken Van Hoeylandt
2025-05-24 17:27:37 +02:00
committed by GitHub
parent 870924229a
commit 74eb830870
6 changed files with 73 additions and 28 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ if (DEFINED ENV{ESP_IDF_VERSION})
idf_component_register(
SRCS ${SOURCE_FILES}
INCLUDE_DIRS "Include/"
REQUIRES mbedtls nvs_flash esp_rom
REQUIRES mbedtls nvs_flash esp_rom esp_timer
)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")