this is a starter workspace for using libDaisy + DaisySP on the Daisy Seed using STM32Cube on PlatformIO. was largely uplifted from Zetaohm's repository, except with better compatibility and out-of-the-box user friendliness.
more info on : PlatformIO | Daisy Seed
since this project was specifically meant to faciliate development in VS Code with PlatformIO, you will need to install Visual Studio Code as well as the PlatformIO IDE extension.
currently this repo uses versions of libDaisy and DaisySP that were locally forked since they required adding some PlatformIO-relevant files. thus, they were added as Git submodules.
to install them, simply run the following commands:
git submodule init
git submodule update --remote
once this is done, you can compile the whole program like you would in PlatformIO by pressing the checkmark in the toolbar.
upon first compilation, you will have access to a custom build task that lets you upload the Daisy bootloader on the device directly from the library folder. it will be available in the Browser sidebar by clicking on the PlatformIO icon, navigating to the Project Tasks tab down in the electrosmith_daisy
environment, in the Custom folder. the task is named "Upload bootloader".
additionally, you can change the boot type (like you would in the regular Daisy toolchain) by editing the platformio.ini file, at line 41:
# BOOT TYPE
# flash | sram | qspi
boot_type = sram
memory sectors will automatically be reassigned depending on your choice.