This example is avaliable for STM32F4 Discovery board only.
See theCore documentation for CS43L22 audio example for more information.
Install theCore (this may take a while):
pip3 install tcore tcore bootstrap
Download this example:
tcore init --remote https://github.com/theCore-embedded/example_cs43l22_audio
Step into the project directory:
cd example_cs43l22_audio
Compile:
tcore compile --target stm32f4_disc
Connect your STM32 Discovery board.
Connect headphones to audio jack on STM32 Discovery board.
Run:
For old STM32F407G-DISC boards, with STLINK/V2:
tcore flash --sudo
For new STM32F407G-DISC1 boards, with STLINK/V2.1:
tcore flash --sudo --debugger-config stlink-v2.1
Listen to cool 8-bit music in your headphones.