From 248ad92df15c0938008c08fd0d42e2fe918db9eb Mon Sep 17 00:00:00 2001 From: Jakub Duchniewicz Date: Wed, 21 Apr 2021 17:50:39 +0200 Subject: [PATCH 1/2] Add SAM usage options. --- INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 4e6664e..d156f6c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -160,6 +160,8 @@ Modify the `Makefile` to suit your needs: * So `BOARD_TAG = pro` and `BOARD_SUB = 8MHzatmega328` * `MONITOR_PORT` is the device full path (required if you want to upload to the board). An example is `/dev/tty.usbserial-A20356BI` +For the SAM (Arduino ARM boards), relevant informations can be found in the upstream Makefile [repository](https://github.com/sudar/Arduino-Makefile#arduino-arm-boards). It is important to use only the `BOARD_TAG` for board definitions which can be found in the `ARDUINO_PACKAGE_DIR` - which is generally located in the user's home location under '.arduino15/packages' directory. + ### 5. Compile and upload your code Then compile and upload your code to an **Arduino Uno**: From 790fca9674c319cd910a482713c47d7c18147851 Mon Sep 17 00:00:00 2001 From: Jakub Duchniewicz Date: Thu, 22 Apr 2021 11:08:06 +0200 Subject: [PATCH 2/2] Add MacOS instructions. --- INSTALL.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index d156f6c..3b344cf 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -160,7 +160,13 @@ Modify the `Makefile` to suit your needs: * So `BOARD_TAG = pro` and `BOARD_SUB = 8MHzatmega328` * `MONITOR_PORT` is the device full path (required if you want to upload to the board). An example is `/dev/tty.usbserial-A20356BI` -For the SAM (Arduino ARM boards), relevant informations can be found in the upstream Makefile [repository](https://github.com/sudar/Arduino-Makefile#arduino-arm-boards). It is important to use only the `BOARD_TAG` for board definitions which can be found in the `ARDUINO_PACKAGE_DIR` - which is generally located in the user's home location under '.arduino15/packages' directory. +For the SAM (Arduino ARM boards), relevant informations can be found in the upstream Makefile [repository](https://github.com/sudar/Arduino-Makefile#arduino-arm-boards). It is important to use only the `BOARD_TAG` for board definitions which can be found in the `ARDUINO_PACKAGE_DIR`. + +#### OS X +It is located at '/home/user/Library/Arduino15/packages'. + +#### Linux +It is located at '/home/user/.arduino15/packages'. ### 5. Compile and upload your code