Skip to content

Release v2.1

Compare
Choose a tag to compare
@h4xxel h4xxel released this 14 Jan 16:24
· 5 commits to master since this release

Changes

  • mcb32 now contains libc and libm

Installation

Linux

  • Install the packages bzip2 and make from your distribution repository. For Debian/Ubuntu, run sudo apt-get install bzip2 make
  • Download the .run file for linux
  • Make the .run-file executable with chmod +x.
  • Run the file as root or with sudo
  • Enter the cross compiler by sourcing the environment
    . /opt/mcb32tools/environment

Windows

  • Install msys2 (http://msys2.github.io)
  • Follow the guide to update your msys2 installation
  • Install required packages
    pacman -S make bzip2 tar
  • Download the .run-file for windows. Make sure you download the correct version.
    The x86_64 version is for 64 bit MSYS2 installation and the i686 version for a 32 bit MSYS2 installation.
  • Run the .run-file inside the MSYS2 environment
  • Enter the cross compiler by sourcing the environment
    . /opt/mcb32tools/environment

Mac OS X

  • Download the .dmg-file for mac
  • Open the .dmg-file
  • Drag mcb32tools to your Applications folder
  • Open your applications folder and launch mcb32tools

Testing your installation

Connect your Uno32 board to the computer. A serial device should show up in /dev. This is normally /dev/ttyUSBx on Linux, /dev/tty.usbserial-xxxxxxxx on Mac and /dev/ttySx on Windows, replace 'x' with the actual value on your system.

  • git clone git://github.com/is1200-example-projects/hello-leds.git
  • cd hello-leds
  • make
  • make install TTYDEV=/dev/tty_dev_identified_above