Skip to content

Commit

Permalink
Major ASHA changes
Browse files Browse the repository at this point in the history
Run BTStack on core 1
Remove test tone
Stream audio from USB
  • Loading branch information
shermp committed Jun 15, 2024
1 parent e20a7f8 commit 71f225b
Show file tree
Hide file tree
Showing 6 changed files with 764 additions and 1,401 deletions.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ set(PICO_BOARD pico_w)
pico_sdk_init()

add_executable(asha
src/main.c
src/pcm_audio.c
src/asha.cpp
src/usb_audio.c
src/usb_descriptors.c
src/perf_test.c
lib/g722/g722_encode.cc
)

target_include_directories(asha PUBLIC "src/" "lib/")
target_include_directories(asha PUBLIC src/ lib/)
# target_compile_definitions(asha PUBLIC CFG_TUSB_DEBUG=1)
# target_compile_definitions(asha PUBLIC ASHA_PERF_TEST)

pico_add_extra_outputs(asha)

Expand All @@ -25,9 +29,12 @@ target_link_libraries(asha
pico_btstack_ble
pico_btstack_cyw43
pico_cyw43_arch_none
pico_multicore
tinyusb_device
tinyusb_board
)

target_link_options(asha PUBLIC -Wl,--print-memory-usage)

pico_enable_stdio_usb(asha 0)
pico_enable_stdio_uart(asha 1)
2 changes: 1 addition & 1 deletion LICENCE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023, Sherman Perry
Copyright (c) 2023-2024, Sherman Perry

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
Loading

0 comments on commit 71f225b

Please sign in to comment.