mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 23:53:02 +03:00
Update for CLI compiling.
Add function declarations for the inline capture functions and add a note to the README explaining how to compile from the CLI using the ‘arduino-mk’ package. Known to work on Debian 8, but untested elsewhere.
This commit is contained in:
18
README
18
README
@@ -47,6 +47,24 @@ is generally only useful for development, while the DEBUG_MENU option is
|
|||||||
good for troubleshooting when the logic_analyzer sketch isn't working for you.
|
good for troubleshooting when the logic_analyzer sketch isn't working for you.
|
||||||
Both are disabled by default to conserve RAM for improved stability.
|
Both are disabled by default to conserve RAM for improved stability.
|
||||||
|
|
||||||
|
CLI compiling
|
||||||
|
=============
|
||||||
|
|
||||||
|
If you want to use the 'arduino-mk' package (on Debian for example ) to compile
|
||||||
|
this using the Makefile, you'll need to make a couple of changes since the
|
||||||
|
Makefile only supports a single .ino file. Basically you just need to append
|
||||||
|
the other two files to the main .ino and then remove them.
|
||||||
|
|
||||||
|
$ cat logic_analyzer_inline_4mhz.ino >> logic_analyzer.ino
|
||||||
|
$ cat logic_analyzer_inline_2mhz.ino >> logic_analyzer.ino
|
||||||
|
$ rm logic_analyzer_inline_4mhz.ino logic_analyzer_inline_2mhz.ino
|
||||||
|
$ make
|
||||||
|
|
||||||
|
This will make GIT unhappy so if you need to revert it to run 'git pull' do
|
||||||
|
this:
|
||||||
|
$ git reset --hard origin/master
|
||||||
|
|
||||||
|
|
||||||
Older Notes
|
Older Notes
|
||||||
===========================================================================
|
===========================================================================
|
||||||
NOTE: With v0.11 you can now sample at 4MHz & 2MHz rates in addition to the
|
NOTE: With v0.11 you can now sample at 4MHz & 2MHz rates in addition to the
|
||||||
|
|||||||
@@ -82,7 +82,8 @@ void get_metadata(void);
|
|||||||
void debugprint(void);
|
void debugprint(void);
|
||||||
void debugdump(void);
|
void debugdump(void);
|
||||||
void prettydump(void);
|
void prettydump(void);
|
||||||
|
void captureInline4mhz(void);
|
||||||
|
void captureInline2mhz(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Should we use PORTD or PORTB? (default is PORTB)
|
* Should we use PORTD or PORTB? (default is PORTB)
|
||||||
|
|||||||
Reference in New Issue
Block a user