Started with a blank main file
- Added GPIO handling - Added a logger class with additional static debug log handling Tested, functional
This commit is contained in:
@@ -5,7 +5,10 @@ idf_component_register(
|
||||
SRCS # list the source files of this component
|
||||
"main.cpp"
|
||||
# "old/src/bmp280.cpp"
|
||||
# "old/src/gpio.cpp"
|
||||
"hal/src/gpio.cpp"
|
||||
"hal/src/uart.cpp"
|
||||
|
||||
"platform/src/logger.cpp"
|
||||
# "old/src/i2c.cpp"
|
||||
# "old/src/wifi.cpp"
|
||||
# "old/src/logger.cpp"
|
||||
@@ -18,6 +21,8 @@ idf_component_register(
|
||||
# "old/src/temperaturewordmap.cpp"
|
||||
# "old/src/temperature.cpp"
|
||||
INCLUDE_DIRS # optional, add here public include directories
|
||||
"./"
|
||||
"hal/inc"
|
||||
"platform/inc"
|
||||
"application/inc"
|
||||
PRIV_INCLUDE_DIRS # optional, add here private include directories
|
||||
@@ -25,4 +30,4 @@ idf_component_register(
|
||||
PRIV_REQUIRES # optional, list the private requirements
|
||||
)
|
||||
|
||||
component_compile_definitions("ESP_LWIP_COMPONENT_BUILD" "RELEASE=\"0.1\"")
|
||||
component_compile_definitions("ESP_LWIP_COMPONENT_BUILD" "MAJORRELEASE=0" "MINORRELEASE=1")
|
||||
|
||||
Reference in New Issue
Block a user