This project is part of Wakaama_Ethernet project.
Project could be compiled both on Windows and Linux.
Firstly, you need to install:
- for both Windows and Linux:
- only for Windows:
- only for Linux:
Secondly, you should update the PATH environment variable. To accomplish that (only for current command line instance), enter (with paths adequate to your installation directories):
- Windows:
set PATH=%PATH%;C:\Program Files\GNU Tools ARM Embedded\5.4 2016q3\bin
set PATH=%PATH%;C:\Program Files\GNU ARM Eclipse\Build Tools\2.8-201611221915\bin
set PATH=%PATH%;C:\Program Files\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility
- Linux:
export PATH=$PATH:/opt/gcc-arm-none-eabi-6-2017-q2-update/bin
export PATH=$PATH:/opt/gnu-mcu-eclipse/openocd/0.10.0-4-20171004-0812-dev/bin
You can also use predefined scripts (but first you need to update them with adequate paths):
- Windows:
set_path.bat
- Linux:
source set_path.sh
To compile project and create .hex
and .bin
files in obj
directory, enter:
make all
- Windows:
make program_windows
- Linux:
make program_linux