-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry picked commits pulled from baruch/nRF24LE1_Programmer
- Loading branch information
1 parent
42e0067
commit c01392a
Showing
6 changed files
with
309 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**/.directory | ||
**/build-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# STANDARD ARDUINO WORKFLOW | ||
# | ||
# Given a normal sketch directory, all you need to do is to create | ||
# a small Makefile which defines a few things, and then includes this one. | ||
# | ||
# For example: | ||
# | ||
# ARDUINO_LIBS = Ethernet Ethernet/utility SPI | ||
# BOARD_TAG = uno | ||
# ARDUINO_PORT = /dev/cu.usb* | ||
# | ||
# include /usr/share/arduino/Arduino.mk | ||
# | ||
# Hopefully these will be self-explanatory but in case they're not: | ||
# | ||
# ARDUINO_LIBS - A list of any libraries used by the sketch (we | ||
# assume these are in $(ARDUINO_DIR)/hardware/libraries | ||
# or your sketchbook's libraries directory) | ||
# | ||
# ARDUINO_PORT - The port where the Arduino can be found (only needed | ||
# when uploading) | ||
# | ||
# BOARD_TAG - The ard-parse-boards tag for the board e.g. uno or mega | ||
# 'make show_boards' shows a list | ||
# | ||
# If you have your additional libraries relative to your source, rather | ||
# than in your "sketchbook", also set USER_LIB_PATH, like this example: | ||
# | ||
# USER_LIB_PATH := $(realpath ../../libraries) | ||
# | ||
# If you've added the Arduino-Makefile repository to your git repo as a | ||
# submodule (or other similar arrangement), you might have lines like this | ||
# in your Makefile: | ||
# | ||
# ARDMK_DIR := $(realpath ../../tools/Arduino-Makefile) | ||
# include $(ARDMK_DIR)/arduino-mk/Arduino.mk | ||
# | ||
# In any case, once this file has been created the typical workflow is just | ||
# | ||
# $ make upload | ||
# | ||
# All of the object files are created in the build-{BOARD_TAG} subdirectory | ||
# All sources should be in the current directory and can include: | ||
# - at most one .pde or .ino file which will be treated as C++ after | ||
# the standard Arduino header and footer have been affixed. | ||
# - any number of .c, .cpp, .s and .h files | ||
# | ||
# Included libraries are built in the build-{BOARD_TAG}/libs subdirectory. | ||
# | ||
# Besides make upload you can also | ||
# make - no upload | ||
# make clean - remove all our dependencies | ||
# make depends - update dependencies | ||
# make reset - reset the Arduino by tickling DTR on the serial port | ||
# make raw_upload - upload without first resetting | ||
# make show_boards - list all the boards defined in boards.txt | ||
# make monitor - connect to the Arduino's serial port | ||
# make size - show the size of the compiled output (relative to | ||
# resources, if you have a patched avr-size) | ||
# make disasm - generate a .lss file in build-cli that contains | ||
# disassembly of the compiled file interspersed | ||
# with your original source code. | ||
# make verify_size - Verify that the size of the final file is less than | ||
# the capacity of the micro controller. | ||
# make eeprom - upload the eep file | ||
# make raw_eeprom - upload the eep file without first resetting | ||
# | ||
######################################################################## | ||
# | ||
# SERIAL MONITOR | ||
# | ||
# The serial monitor just invokes the GNU screen program with suitable | ||
# options. For more information see screen (1) and search for | ||
# 'character special device'. | ||
# | ||
# The really useful thing to know is that ^A-k gets you out! | ||
# | ||
# The fairly useful thing to know is that you can bind another key to | ||
# escape too, by creating $HOME{.screenrc} containing e.g. | ||
# | ||
# bindkey ^C kill | ||
# | ||
# If you want to change the baudrate, just set MONITOR_BAUDRATE. If you | ||
# don't set it, it tries to read from the sketch. If it couldn't read | ||
# from the sketch, then it defaults to 9600 baud. | ||
# | ||
######################################################################## | ||
|
||
ARDUINO_LIBS = SPI SoftwareSerial | ||
BOARD_TAG = uno | ||
ARDUINO_PORT = /dev/ttyACM* | ||
include /usr/share/arduino/Arduino.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# STANDARD ARDUINO WORKFLOW | ||
# | ||
# Given a normal sketch directory, all you need to do is to create | ||
# a small Makefile which defines a few things, and then includes this one. | ||
# | ||
# For example: | ||
# | ||
# ARDUINO_LIBS = Ethernet Ethernet/utility SPI | ||
# BOARD_TAG = uno | ||
# ARDUINO_PORT = /dev/cu.usb* | ||
# | ||
# include /usr/share/arduino/Arduino.mk | ||
# | ||
# Hopefully these will be self-explanatory but in case they're not: | ||
# | ||
# ARDUINO_LIBS - A list of any libraries used by the sketch (we | ||
# assume these are in $(ARDUINO_DIR)/hardware/libraries | ||
# or your sketchbook's libraries directory) | ||
# | ||
# ARDUINO_PORT - The port where the Arduino can be found (only needed | ||
# when uploading) | ||
# | ||
# BOARD_TAG - The ard-parse-boards tag for the board e.g. uno or mega | ||
# 'make show_boards' shows a list | ||
# | ||
# If you have your additional libraries relative to your source, rather | ||
# than in your "sketchbook", also set USER_LIB_PATH, like this example: | ||
# | ||
# USER_LIB_PATH := $(realpath ../../libraries) | ||
# | ||
# If you've added the Arduino-Makefile repository to your git repo as a | ||
# submodule (or other similar arrangement), you might have lines like this | ||
# in your Makefile: | ||
# | ||
# ARDMK_DIR := $(realpath ../../tools/Arduino-Makefile) | ||
# include $(ARDMK_DIR)/arduino-mk/Arduino.mk | ||
# | ||
# In any case, once this file has been created the typical workflow is just | ||
# | ||
# $ make upload | ||
# | ||
# All of the object files are created in the build-{BOARD_TAG} subdirectory | ||
# All sources should be in the current directory and can include: | ||
# - at most one .pde or .ino file which will be treated as C++ after | ||
# the standard Arduino header and footer have been affixed. | ||
# - any number of .c, .cpp, .s and .h files | ||
# | ||
# Included libraries are built in the build-{BOARD_TAG}/libs subdirectory. | ||
# | ||
# Besides make upload you can also | ||
# make - no upload | ||
# make clean - remove all our dependencies | ||
# make depends - update dependencies | ||
# make reset - reset the Arduino by tickling DTR on the serial port | ||
# make raw_upload - upload without first resetting | ||
# make show_boards - list all the boards defined in boards.txt | ||
# make monitor - connect to the Arduino's serial port | ||
# make size - show the size of the compiled output (relative to | ||
# resources, if you have a patched avr-size) | ||
# make disasm - generate a .lss file in build-cli that contains | ||
# disassembly of the compiled file interspersed | ||
# with your original source code. | ||
# make verify_size - Verify that the size of the final file is less than | ||
# the capacity of the micro controller. | ||
# make eeprom - upload the eep file | ||
# make raw_eeprom - upload the eep file without first resetting | ||
# | ||
######################################################################## | ||
# | ||
# SERIAL MONITOR | ||
# | ||
# The serial monitor just invokes the GNU screen program with suitable | ||
# options. For more information see screen (1) and search for | ||
# 'character special device'. | ||
# | ||
# The really useful thing to know is that ^A-k gets you out! | ||
# | ||
# The fairly useful thing to know is that you can bind another key to | ||
# escape too, by creating $HOME{.screenrc} containing e.g. | ||
# | ||
# bindkey ^C kill | ||
# | ||
# If you want to change the baudrate, just set MONITOR_BAUDRATE. If you | ||
# don't set it, it tries to read from the sketch. If it couldn't read | ||
# from the sketch, then it defaults to 9600 baud. | ||
# | ||
######################################################################## | ||
|
||
ARDUINO_LIBS = SPI SoftwareSerial | ||
BOARD_TAG = uno | ||
ARDUINO_PORT = /dev/ttyACM* | ||
include /usr/share/arduino/Arduino.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.