Skip to content
No description, website, or topics provided.
C Assembly HTML Objective-C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
Core
DSP
Drivers
Middlewares
Samples
Sequencer
.gdbinit
.gitignore
.mxproject
DrumMachine.ioc
Makefile
README.md
STM32F769NIHx_FLASH.ld
startup_stm32f769xx.s
tags

README.md

Flashing Samples

At the moment I'm flashing one wav to the board and then setting the start of each sample as a magic number.

st-flash write 808.wav 0x8010000

In the future we should make it so that you can flash an array of samples, plus some meta data that contains sample start, length, sampling freq?, file format? (add decoder? might have to be external codec)

E.g.

0x8000000

struct samples[8]

0x8001000

samples begin here

Also could consider using the external flash, or sd card? and then copying samples to flash when they're chosen

SD card would require handing FATFS - but could be very useful! http://elm-chan.org/fsw/ff/00index_e.html

Building

Dependencies should all be in git - might be better to remove the SDK / trim down other targets

./make

Flashing

Debug symbols are on so easiest is st-util and gdb

  • Open two terminals

  • In one run st-util

  • In the other run arm-none-eabi-gdb

    • The .gdbinit file in the repo should handle loading and setting a breakpoint at main()
    • Enter c to start the program
    • If you edit code: CTRL-C, make, load. Will load the new debug symbols and program
You can’t perform that action at this time.