-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support using lib as ESP IDF component.
ESP32 faster, we can lower delay. Use UART custom define pin when retry.
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
set(COMPONENT_SRCDIRS | ||
"src" | ||
) | ||
|
||
set(COMPONENT_ADD_INCLUDEDIRS | ||
"src" | ||
) | ||
|
||
set(COMPONENT_REQUIRES | ||
"arduino-esp32" | ||
) | ||
|
||
register_component() | ||
|
||
target_compile_definitions(${COMPONENT_TARGET} PUBLIC -DESP32) | ||
target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters