now links
remembre to add extern "C" when including pure C files!!!!!
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# add a header directory
|
||||
include_directories(../include)
|
||||
include_directories(../libs/epaper/Config)
|
||||
include_directories(../libs/epaper/e-Paper)
|
||||
include_directories(../libs/epaper/GUI)
|
||||
@@ -7,19 +8,20 @@ include_directories(../libs/epaper/Fonts)
|
||||
#add executable for main
|
||||
add_executable(emon main.cpp)
|
||||
|
||||
# Pull in our pico_stdlib which aggregates commonly used features
|
||||
target_link_libraries(emon
|
||||
hardware_spi
|
||||
pico_stdlib
|
||||
ePaper
|
||||
GUI
|
||||
Fonts
|
||||
Config
|
||||
)
|
||||
|
||||
# enable usb output, disable uart output
|
||||
pico_enable_stdio_usb(emon 1)
|
||||
pico_enable_stdio_uart(emon 0)
|
||||
|
||||
# create map/bin/hex/uf2 file etc.
|
||||
pico_add_extra_outputs(emon)
|
||||
|
||||
# Pull in our pico_stdlib which aggregates commonly used features
|
||||
target_link_libraries(emon
|
||||
hardware_spi
|
||||
pico_stdlib
|
||||
Config
|
||||
ePaper
|
||||
GUI
|
||||
Fonts
|
||||
MyLibs
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user