Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

theCore-embedded/example_cs43l22_audio

Repository files navigation

CS43L22 audio example for theCore embedded C++ framework

https://travis-ci.org/theCore-embedded/example_cs43l22_audio.svg?branch=master

This example is avaliable for STM32F4 Discovery board only.

Detailed description

See theCore documentation for CS43L22 audio example for more information.

Quick start

  1. Install theCore (this may take a while):

    pip3 install tcore
    tcore bootstrap
    
  2. Download this example:

    tcore init --remote https://github.com/theCore-embedded/example_cs43l22_audio
    
  3. Step into the project directory:

    cd example_cs43l22_audio
    
  4. Compile:

    tcore compile --target stm32f4_disc
    
  5. Connect your STM32 Discovery board.

  6. Connect headphones to audio jack on STM32 Discovery board.

  7. 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
      
  8. Listen to cool 8-bit music in your headphones.