BenjaminSoelberg / openchronos-ng-elf

Fully modular opensource firmware for the eZ430 chronos using TI's new msp430-elf-gcc
GNU General Public License v3.0
59 stars 22 forks source link

Builds fine under FreeBSD too #33

Open rmx-it opened 7 years ago

rmx-it commented 7 years ago

Hi, could you please add a FreeBSD section to the README.

One needs for currently for building: pkg install devel/gmake devel/mspdebug devel/gcc-msp430-ti-toolchain comms/py-serial

Compiling:

MSP430_TI=/usr/local/gcc-msp430-ti-toolchain-4.00.01.00/

export MSP430_TI

PATH="${MSP430_TI}/bin:${PATH}"

gmake config all

gmake usb-install

Installing wireless is currently untestet.

BenjaminSoelberg commented 7 years ago

That sounds great. Would you be able to make the changes to readme.md and send me either the file or a pull request ?

Regards Benjamin

On 16 Jan 2017, at 11.12, rmx-it notifications@github.com wrote:

pkg install devel/gmake devel/mspdebug devel/gcc-msp430-ti-toolchain comms/py-serial

Compiling:

MSP430_TI=/usr/local/gcc-msp430-ti-toolchain-4.00.01.00/

export MSP430_TI

PATH="${MSP430_TI}/bin:${PATH}"

gmake config all

gmake usb-install

Installing wireless is currently untestet.

rmx-it commented 7 years ago

Hi, I'll try a diff against README.md:

diff --git a/README.md b/README.md
index 2b2dbdc..05205cb 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,17 @@ If you are running on a 64 bit Fedora system you need to install some packages f

 ```sudo dnf install ncurses-libs.i686 zlib.i686 libstdc++.i686 python-urwid```

+FreeBSD compiler/tools installation
+--------------------------------
+```
+pkg install devel/git devel/gmake devel/mspdebug devel/gcc-msp430-ti-toolchain comms/py-serial
+MSP430_TI=/usr/local/gcc-msp430-ti-toolchain-4.00.01.00/
+export MSP430_TI
+PATH="${MSP430_TI}/bin:${PATH}"
+```
+
+Please replace `make` with `gmake` for compiling and installing the firmware.
+Like `gmake config all` for compiling and `gmake usb-install` for installing.

 Compiler and debugger installation
 ----------------------------------

Greetings .. Mike