Skip to content

Additional firmware for AudioMoth devices to implement a streaming USB microphone.

License

Notifications You must be signed in to change notification settings

OpenAcousticDevices/AudioMoth-USB-Microphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AudioMoth-USB-Microphone

Additional firmware for AudioMoth devices to implement a streaming USB microphone.

For more details, visit AudioMoth USB Microphone.

Compatible with the AudioMoth USB Microphone App.

Usage

Clone the contents of AudioMoth-Project.

Replace the src/main.c from AudioMoth-Project with the src/main.c from this repository. Put all the remaining src/*.c files and all the src/*.h files from this repository into the /src/ and /inc/ folders of the AudioMoth-Project repository.

The firmware implements two different USB configurations with a different number of end-points in each. This is not supported within the standard Silicon Labs USB library, so open em_usbd.c inside emnusb/src/ and comment out lines 433 to 437. This removes an internal validation of the number of end-points described in the USB configuration.

alt text

If building from the command line tools no further changes are necessary. However, if building using Simplicity Studio, open the project 'Properties' under the 'File' menu, navigate to the 'Linker' and 'Ordering' and make sure that the standard math library '-lm' is at the bottom of the list.

Documentation

See the Wiki for detailed description of the example code.

License

Copyright 2021 Open Acoustic Devices.

MIT license.

About

Additional firmware for AudioMoth devices to implement a streaming USB microphone.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages