mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 23:53:02 +03:00
Move the main ATMega328P sketch into a sub-directory and add the Leonardo sketch to a sub-directory from the branch. Helps folks that download the repository via ZIP file and will allow different board support that is not easily done via ifdef checks.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* SUMP Protocol Implementation for Arduino boards.
|
||||
*
|
||||
* Copyright (c) 2011,2012,2013,2014,2015 Andrew Gillham
|
||||
* Copyright (c) 2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021 Andrew Gillham
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* SUMP Protocol Implementation for Arduino boards.
|
||||
*
|
||||
* Copyright (c) 2011,2012,2013,2014,2015 Andrew Gillham
|
||||
* Copyright (c) 2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021 Andrew Gillham
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* SUMP Protocol Implementation for Arduino boards.
|
||||
*
|
||||
* Copyright (c) 2011,2012,2013,2014,2015 Andrew Gillham
|
||||
* Copyright (c) 2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021 Andrew Gillham
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
24
logic_analyzer_leonardo/Makefile
Normal file
24
logic_analyzer_leonardo/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# Makefile for an Arduino based logic analyzer using the arduino-cli
|
||||
#
|
||||
|
||||
TARGET = logic_analyzer_leonardo
|
||||
FQBN = arduino:avr:leonardo
|
||||
SERIAL = /dev/ttyUSB*
|
||||
|
||||
|
||||
all:
|
||||
@echo ""
|
||||
@echo "---> run 'make build' to compile for Arduino Leonardo"
|
||||
@echo "---> run 'make upload' to upload to /dev/ttyUSB*"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
arduino-cli compile --fqbn $(FQBN) $(TARGET)
|
||||
|
||||
upload:
|
||||
arduino-cli upload --fqbn $(FQBN) --port $(SERIAL) $(TARGET)
|
||||
|
||||
#
|
||||
# end-of-file
|
||||
#
|
||||
14456
logic_analyzer_leonardo/logic_analyzer_inline_2mhz.ino
Normal file
14456
logic_analyzer_leonardo/logic_analyzer_inline_2mhz.ino
Normal file
File diff suppressed because it is too large
Load Diff
14456
logic_analyzer_leonardo/logic_analyzer_inline_4mhz.ino
Normal file
14456
logic_analyzer_leonardo/logic_analyzer_inline_4mhz.ino
Normal file
File diff suppressed because it is too large
Load Diff
1052
logic_analyzer_leonardo/logic_analyzer_leonardo.ino
Normal file
1052
logic_analyzer_leonardo/logic_analyzer_leonardo.ino
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user