Skip to content

Commit

Permalink
Integrating AIC pico library
Browse files Browse the repository at this point in the history
  • Loading branch information
whowechina committed Apr 4, 2024
1 parent dd2018e commit f17a327
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "aic_pico"]
path = firmware/modules/aic_pico
url = https://github.com/whowechina/aic_pico
5 changes: 4 additions & 1 deletion firmware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions firmware/modules/aic_pico
Submodule aic_pico added at b69e56
1 change: 1 addition & 0 deletions firmware/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f17a327

Please sign in to comment.