Integrating AIC pico library

This commit is contained in:
whowechina 2024-04-04 11:01:37 +08:00
parent dd2018ed1a
commit f17a327766
4 changed files with 9 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "aic_pico"]
path = firmware/modules/aic_pico
url = https://github.com/whowechina/aic_pico

View File

@ -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)

@ -0,0 +1 @@
Subproject commit b69e562e40aa8ec944c7d31f154a7701ecfec881

View File

@ -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)