This is an old revision of the document!
Warning: This page under construction - no guarantee what soever that content is correct, fit for use. Use at your own peril
UHSDR development - Import UHSDR into eclipse
Preconditions, Assumptions, Scope
- …
Pull UHSDR source from Github, import into eclipse
- Goto https://github.com/df8oe/UHSDR and click button “clone or download”
- Unpack the downloaded .zip file on your hard disk. Do not change the name, do not change the internal zip structure
- In Eclipse, choose “File→Import”.
- .. then choose “General→Existing Projects into Workspace”.
- Then choose the folder “mchf-eclipse in the path where you just downloaded the zip file as “root-directory”
- The project is now recognized and can be imported
Build UHSDR using eclipse
- Project → Build Configurations → Set Active → DebugLibOVI40 (OVI49 DSP Library (STM32F7))
- Click on the “hammer” in the tool bar
- Watch Console window in Eclipse - if all ok console output ends with ” … Build finished …“
- Project → Build Configurations → Set Active → DebugOVI40 (OVI40 Firmware (STM32F7) …)
- Click on the “hammer” in the tool bar
- Watch Console window in Eclipse - if all ok console output ends with ” … Build finished …“
Newly built binary fw-ovi40.bin can be found in the eclipse project explorer (left sidebar): mchf-eclipse → DebugOVI40 → fw-ovi40.bin
Download new firmwar .bin to OVI40 UI
- UHSDR FW build should run.
- Hit switch “Menu”, then select “System Info” and “Build”. Check the build date and time corresponds to your compile time in eclipse approximatelly
Generate .dfu file from .bin file
The ST-Micro UM0412 manual on DfuSe can be found here. Original source is this.
Section 4.2.1 of UM0412 describes step-by-step the generation of a .dfu file.
You could leave a comment if you were logged in.