mirror of
https://github.com/whowechina/mai_pico.git
synced 2024-11-24 04:00:09 +01:00
Integrating AIC pico library
This commit is contained in:
parent
dd2018ed1a
commit
f17a327766
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "aic_pico"]
|
||||
path = firmware/modules/aic_pico
|
||||
url = https://github.com/whowechina/aic_pico
|
@ -3,9 +3,12 @@ cmake_minimum_required(VERSION 3.12)
|
||||
# Pull in SDK (must set be before project)
|
||||
include(pico_sdk_import.cmake)
|
||||
|
||||
project(iidx_pico C CXX ASM)
|
||||
project(mai_pico C CXX ASM)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
pico_sdk_init()
|
||||
|
||||
add_subdirectory(modules/aic_pico/firmware aic)
|
||||
include_directories(modules/aic_pico/firmware/include)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
1
firmware/modules/aic_pico
Submodule
1
firmware/modules/aic_pico
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b69e562e40aa8ec944c7d31f154a7701ecfec881
|
@ -19,6 +19,7 @@ function(make_firmware board board_def)
|
||||
${LWIP_ROOT}/src/include)
|
||||
|
||||
target_link_libraries(${board} PRIVATE
|
||||
aic
|
||||
pico_multicore pico_stdlib hardware_pio hardware_pwm hardware_flash
|
||||
hardware_adc hardware_i2c hardware_watchdog pico_unique_id
|
||||
tinyusb_device tinyusb_board)
|
||||
|
Loading…
Reference in New Issue
Block a user