CMakeLists and Readme updates.

This version of the cmakelists includes a hal directory, but i haven't
yet figured out how to make that work, so this is fairly broken.
This commit is contained in:
Brian Bulkowski
2020-02-16 13:25:56 -08:00
parent e64b06f03f
commit 5b81ce6431
2 changed files with 98 additions and 4 deletions
+2 -1
View File
@@ -11,9 +11,10 @@ set(srcs
"platforms.cpp"
"power_mgt.cpp"
"wiring.cpp")
# everything needs the ESP32 flag, not sure why this won't work
# going to hack by adding the ESP32 define in the h file
#`target_compile_options(${COMPONENT_LIB} PRIVATE "-DESP32")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "." )
INCLUDE_DIRS "." "./hal" )