As for the time of the 0.1 release there are some requirements you need to fulfill in order to use this software:
Arduino 1.8.5 for Linux 64 bits
Arduino-core 2:1.0.5
Arduino-mk 1.5-2
Arduino 1.8.5
It's included in the downloaded project bundle.
Arduino-core 2:1.0.5
As per Linux Mint 18.3 this version is installed from the official repositories. It's known that for Linux Mint XFCE 17.3 the installed version is :1.0.5 which will not work.
Arduino-mk 1.5-2
As per Linux Mint 18.3 this version is installed from the official repositories. Arduino-core is installed along Arduino.mk. It's recommended to install the "screen" package as well: sudo apt install arduino.mk screen
Testing
Locate the testing project: /your/arduino1.8.5/installation_folder/Libraries/FreeRTOS/examples/Blink_DynamicTask
Modify the ARDUINO_DIR variable in the Makefile to point to your arduino1.8.5 installation: ARDUINO_DIR = /your/arduino1.8.5/installation_folder
Open a terminal and type: make
The test program should build.
If you want to test the other example you must first set to 1 the FreeRTOS flag configSUPPORT_STATIC_ALLOCATION
which is located at /your/arduino1.8.5/installation_folder/Libraries/FreeRTOS/src
Then in the terminal move to the folder Blink_StaticTask and type again: make
Clean the mess
Type make clean
Uploading your program
If your chip already have the bootloader then you can upload your program typing:
make upload
Serial terminal
Type make monitor
to open a serial terminal. Type ^a + k to exit.
** Requirements and dependencies**
As for the time of the 0.1 release there are some requirements you need to fulfill in order to use this software:
Arduino 1.8.5
It's included in the downloaded project bundle.
Arduino-core 2:1.0.5
As per Linux Mint 18.3 this version is installed from the official repositories. It's known that for Linux Mint XFCE 17.3 the installed version is :1.0.5 which will not work.
Arduino-mk 1.5-2
As per Linux Mint 18.3 this version is installed from the official repositories. Arduino-core is installed along Arduino.mk. It's recommended to install the "screen" package as well:
sudo apt install arduino.mk screenTesting
Locate the testing project:
/your/arduino1.8.5/installation_folder/Libraries/FreeRTOS/examples/Blink_DynamicTaskModify the ARDUINO_DIR variable in the Makefile to point to your arduino1.8.5 installation:
ARDUINO_DIR = /your/arduino1.8.5/installation_folderOpen a terminal and type:
makeThe test program should build.
If you want to test the other example you must first set to 1 the FreeRTOS flag
configSUPPORT_STATIC_ALLOCATIONwhich is located at
/your/arduino1.8.5/installation_folder/Libraries/FreeRTOS/srcThen in the terminal move to the folder Blink_StaticTask and type again:
makeClean the mess
Type
make cleanUploading your program
If your chip already have the bootloader then you can upload your program typing:
make upload
Serial terminal
Type
make monitorto open a serial terminal. Type ^a + k to exit.
Uploading the program with USBASP
If you don't have or don't want to use the bootloader, then you can upload the .hex executable right away through the USBASP interface. For more information you can follow my tutorial (in spanish):
https://fjrg76.wordpress.com/2017/07/06/arduino-desde-la-linea-de-comando-de-linux-y-usbasp/