How to build the DSO Nano firmware using gcc
The DSO Nano firmware can be build with a gcc toolchain. The gcc-specific files reside in the project/gcc folder of the firmware source code tree.
Get a ARM cross-building gcc toolchain
The ARM toolchain most of us use is the GCC from ARM at <https://launchpad.net/gcc-arm-embedded>.
For Linux, you can choose the tarball or the installer. The latter is a much larger download than the former, for some reason. In any case make sure you have the toolchain's "bin" directory in your path. For example, if you extracted the tarball to /opt, type this in your shell, or add it to your .bashrc or .pam_environment:
Once you have the toolchain set up correctly, simply typing:
should list the compiler version and the options it was built with. If you instead get an error, please fix your toolchain installation before continuing.
If you can not find a pre-built ARM toolchain for your platform, or otherwise want to build the toolchain yourself, you can download the source or check out https://open-bldc.org/wiki/Building_ARM_Toolchain
Get and build the firmware source code
For now, get the code from Tormod's gitlab tree:
git clone https://gitlab.com/dsonano/dso-firmware.git
If you later want to update your tree to latest git:
Compile the application part
Compile the library part
Use Dfu-util to download the dso-lib.bin and dso-app.bin files to your Nano V1 or V2. For the Nano V3 model, copy the dso-lib.hex and dso-app.hex one at a time to the DFU virtual USB drive.
Tech Support & Product Discussion
Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.