-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hal: Expose only necessary headers in rofi::hal::esp32
- Loading branch information
Showing
20 changed files
with
22 additions
and
16 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
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
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,7 @@ | ||
file(GLOB_RECURSE SRC src/*.cpp) | ||
|
||
add_library(esp32++ ${SRC}) | ||
set_property(TARGET esp32++ PROPERTY CXX_STANDARD 17) | ||
target_include_directories(esp32++ PUBLIC include) | ||
target_link_libraries(esp32++ PUBLIC idf::driver atoms) | ||
target_compile_options(esp32++ PUBLIC -mtext-section-literals -mlongcalls) |
File renamed without changes.
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
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 |
---|---|---|
|
@@ -357,4 +357,4 @@ class Timer { | |
TimerHandle_t _t; | ||
}; | ||
|
||
} // namespace rtos | ||
} // namespace rtos |
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 |
---|---|---|
|
@@ -52,4 +52,3 @@ void error(const std::string_view& message, | |
} | ||
|
||
} // namespace rofi::log | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...nents/rofiHalEsp32/src/espDriver/gpio.cpp → softwareComponents/esp32++/src/gpio.cpp
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
2 changes: 1 addition & 1 deletion
2
...onents/rofiHalEsp32/src/espDriver/spi.cpp → softwareComponents/esp32++/src/spi.cpp
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
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
file(GLOB_RECURSE SRC src/*.cpp src/*.c) | ||
|
||
add_library(rofi_hal_esp32 ${SRC}) | ||
target_include_directories(rofi_hal_esp32 PUBLIC src) | ||
set_property(TARGET rofi_hal_esp32 PROPERTY CXX_STANDARD 17) | ||
target_link_libraries(rofi_hal_esp32 PUBLIC idf::driver atoms rofi::hal::inc) | ||
target_link_libraries(rofi_hal_esp32 PRIVATE esp32++ atoms) | ||
target_link_libraries(rofi_hal_esp32 PUBLIC rofi::hal::inc) | ||
target_compile_options(rofi_hal_esp32 PUBLIC -mtext-section-literals -mlongcalls) | ||
|
||
add_library(rofi::hal::esp32 ALIAS rofi_hal_esp32) |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
#include "bsp/v0.2.hpp" | ||
#else | ||
#error "Unsupported Universal Module board version" | ||
#endif | ||
#endif |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ inline std::string errorName( dynamixel::HardwareError e ) { | |
} | ||
|
||
|
||
}; // rofi::hal::bsp | ||
} // rofi::hal::bsp |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
wifi_init_config_t getDefaultWifiCfg() { | ||
wifi_init_config_t t = WIFI_INIT_CONFIG_DEFAULT(); | ||
return t; | ||
} | ||
} |
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
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
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
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