-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #712 from Gadgetoid/picosystem-audio
PicoSystem bleepy audio
- Loading branch information
Showing
15 changed files
with
380 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#pragma once | ||
#include <cstdint> | ||
|
||
void init_audio(); | ||
void update_audio(); | ||
void update_audio(uint32_t time); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
cmake_minimum_required(VERSION 3.9) | ||
project (hardware-test) | ||
find_package (32BLIT CONFIG REQUIRED PATHS ../..) | ||
|
||
if(32BLIT_PICO) | ||
# PicoSystem has its own picosystem-hardware-test | ||
return() | ||
endif() | ||
|
||
blit_executable (hardware-test hardware-test.cpp) | ||
blit_metadata (hardware-test metadata.yml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
cmake_minimum_required(VERSION 3.9) | ||
project (picosystem-hardware-test) | ||
find_package (32BLIT CONFIG REQUIRED PATHS ../..) | ||
|
||
if(NOT 32BLIT_PICO) | ||
# Hooks into the Pico SDK to get battery charge and VBUS status | ||
return() | ||
endif() | ||
|
||
blit_executable (picosystem-hardware-test hardware-test.cpp) | ||
blit_metadata (picosystem-hardware-test metadata.yml) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.