Skip to content

Embedded software (firmware) for the laser system and components, including configuration files

Notifications You must be signed in to change notification settings

blinkingnoise/Firmware

 
 

Repository files navigation

Embedded software (firmware) for the laser system and components, including configuration files.

Build setup, using MBED library sources

(No GCC4MBED required)

Get your compiler

Download from: https://launchpad.net/gcc-arm-embedded (or use the one that comes with your distribution: apt-get install gcc-arm-none-eabi ). On Ubuntu 14.04 64 bit, you need to install libc6:i386.

Download LaosLaser source:

git clone --recursive https://github.com/LaosLaser/Firmware.git

Patch mbed libraries:

cd Firmware/mbed/
patch -p1 < ../laser/mbed.patch

Set your GCC path

Set the path to the gcc compiler in a workspace_tools/private_settings.py file. Make sure you end with the bin folder. For example using:

echo 'GCC_ARM_PATH = "home/usr/gcc-arm-none-eabi-4_8-2014q1/bin/"' > workspace_tools/private_settings.py

Build MBED libraries:

python workspace_tools/build.py -m LPC1768 -t GCC_ARM -r -e -u -c

Link LaOSlaser as an mbed example project

cd libraries/tests/net/protocols/
ln -s  ../../../../../laser .
cd ../../../..

Build LaosLaser:

python workspace_tools/make.py -m LPC1768 -t GCC_ARM -n laser

About

Embedded software (firmware) for the laser system and components, including configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.0%
  • C 33.0%