Skip to content
/ hydrafw Public
forked from hydrabus/hydrafw

HydraFW official firmware for HydraBus/HydraNFC

Notifications You must be signed in to change notification settings

biot/hydrafw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HydraFW official firmware for HydraBus/HydraNFC

HydraFW is a native C (and asm) open source firmware for HydraBus board with support of HydraNFC Shield.

You can Buy HydraBus/HydraNFC Online in Seeed Studio Online Shop: https://www.seeedstudio.com/depot/HydraBus-m-132.html

HydraBus+HydraNFC board

HydraFW default pin assignment

##How to build, flash and use hydrafw on Windows:

###Prerequisites for Windows:

    git clone https://github.com/bvernoux/hydrafw.git hydrafw
    cd hydrafw/
    git submodule init
    git submodule update
    cd ./scripts
    python get-pip.py
    python -m pip install GitPython
    python -m pip install intelhex --allow-external intelhex --allow-unverified intelhex
Note: 
For get-pip.py if you need a proxy for internet access set following variables before to launch
python get-pip.py:
set http_proxy=https://proxy.myproxy.com
set https_proxy=https://proxy.myproxy.com

###To build hydrafw firmware (with mingw):

MinGW (https://www.mingw.org) is required. The firmware is set up for compilation with the GCC toolchain GNU_ARM_4_7_2013q3.

    cd in root directory(which contains directories common, fatfs, hydrabus, hydranfc ...)
    make clean
    make

###To build hydrafw firmware (with Em::Blocks):

  • Install Em::Blocks (tested with Em::Blocks 2.30) from https://www.emblocks.org/web/downloads-main
  • Launch Em::Blocks and choose from Menu File => Open... Ctrl-O with file hydrafwEm.ebp which is in root of hydrafw/
  • Build the code with Menu Build => Rebuild all target files

###Flash and use hydrafw on Windows: See the wiki https://github.com/bvernoux/hydrafw/wiki/Getting-Started-with-HydraBus

##How to build, flash and use hydrafw on Linux (Debian/Ubuntu):

###Prerequisites for Linux:

cd ~
sudo apt-get install git dfu-util python putty
wget https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2
tar xjf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2
echo 'PATH=$PATH:~/gcc-arm-none-eabi-4_7-2013q3/bin' >> ~/.bashrc
git clone https://github.com/bvernoux/hydrafw.git hydrafw
cd ~/hydrafw
git submodule init
git submodule update
cd ./scripts
python get-pip.py
python -m pip install GitPython
python -m pip install intelhex --allow-external intelhex --allow-unverified intelhex
cd ..
Note: 
For get-pip.py if you need a proxy for internet access set following variables before to launch
python get-pip.py:
export http_proxy=https://proxy.myproxy.com
export https_proxy=https://proxy.myproxy.com
sudo -E python get-pip.py

###Build hydrafw on Linux:

cd ~/hydrafw
make clean
make

###Flash and use hydrafw on Linux: See the wiki https://github.com/bvernoux/hydrafw/wiki/Getting-Started-with-HydraBus

About

HydraFW official firmware for HydraBus/HydraNFC

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.6%
  • Python 16.2%
  • C++ 1.7%
  • Objective-C 0.2%
  • Makefile 0.2%
  • CSS 0.1%