5446477678
Updated README to include basic information about the project (Scraped from the Kickstarter page mostly) and relocated the Firmware Build Notes to be under the Source folder
1.9 KiB
1.9 KiB
Firmware Build Notes
- Install gcc-arm-none-eabi: apt-get install gcc-arm-none-eabi, or download from https://launchpad.net/gcc-arm-embedded/4.7
- Download Eclipse Kepler, v4.3 for C/C++ dev from https://eclipse.org/downloads/packages/release/Kepler/SR2
- Help -> Install New software
- add Name: GNU ARM, Location: http://gnuarmeclipse.sourceforge.net/updates
- Click the radio button, and hit next, next, agree to the license, finsh, Hit OK to allow unsigned contents
- Restart eclipse
- Help -> Install New Software
- same as before,add: Name: Zylin Embedded CDT, Location: http://opensource.zylin.com/zylincdt
- sudo apt-get install openocd
- File -> import -> Existing Projects into Workspace (May be a better way here!)
- Navigate to the PSDR/Source directory and add it.
- hit Build All
You should end up with PSDR/Source/Debug/PSDR.elf which is the binary firmware file
TODO: Flashing firmware to the PSDR instructions
New Architecture Build Instructions (WIP):
Windows:
- Install the GNU Tools ARM Embedded. Add bin (not arm-none-eabi/bin) to path?
- Navigate to firmware directory in shell and execute: make
- Use whatever editor you want for the files
For eclipse:
- File->New->Project...
- C/C++->Makefule Project with Existing Code, "Next"
- Browse to the root directory of the PSDR firmware
- I have been selecting "Cross ARM GCC" not sure if that's needed. "Next"
- Right click on the project in the Project Explorer and select settings. In C/C++ Build, uncheck "Use default build command" and type "make" (or "make VERBOSE=1") without the quotes. Clock "OK"
- Try to build the project: CTRL-B or Project Menu->Build-All or right click on the project->Build Project
- TODO: Set up debugging. Fix all the error messages that come up. For some reason this doesn't work for me unless I build it at least once from the command line. Also, if I do a make clean, I have to build from the command line. More to learn!