Skip to content

Commit acd61a8

Browse files
author
Quantum Leaps
committed
5.8.0
0 parents  commit acd61a8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+31270
-0
lines changed

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
*.obj
2+
*.o
3+
*.d
4+
*.lib
5+
*.a
6+
*.elf
7+
*.err
8+
*.hex
9+
*.exe
10+
*.EXE
11+
*.map
12+
*.dep
13+
*.pdf
14+
*.PDF
15+
*.Hbp
16+
*.nav
17+
*.tps
18+
*.tws
19+
*.tmp
20+
*.log
21+
*.chm
22+
*.zip
23+
*.pdb
24+
*.ncb
25+
*.suo
26+
*.chw
27+
*.sfr
28+
*.user
29+
*.avrsuo
30+
*.Debug
31+
*.Release
32+
lint*.txt
33+
*.Miro
34+
*.bak
35+
*.qlc
36+
JLink*.*
37+
38+
eclipse/
39+
test/
40+
test_ports/
41+
dbg/
42+
rel/
43+
spy/
44+
settings/
45+
.settings/
46+
targetConfigs/
47+
48+
Debug/
49+
Release/
50+
Spy/
51+
52+
lib/
53+
obj/
54+
output/
55+
56+
57+
doxygen/html/
58+
lint/*.txt
59+
lint/MISRA_Exemplar_Suite_test/*.txt

GPLv3.txt

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

QP-Arduino-Playground.url

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[InternetShortcut]
2+
URL=http://playground.arduino.cc/Code/QP
3+
IconFile=http://playground.arduino.cc/favicon.png

QP-Arduino_GPL_Exception.txt

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
QP-nano FRAMEWORK EXCEPTION FOR ARDUINO
2+
3+
Version 1.1, 22 June 2016
4+
5+
Copyright (c) Quantum Leaps, LLC. <http://state-machine.com/>
6+
7+
Everyone is permitted to copy and distribute verbatim copies of this
8+
license document, but changing it is not allowed.
9+
10+
This QP-nano Framework Exception for Arduino ("Exception") is an
11+
additional permission under section 7 of the GNU General Public
12+
License, version 3 ("GPLv3"). It applies to the QP-nano source code
13+
(the "QP-nano Framework") that is distributed as part of the
14+
QP-Arduino Support Package.
15+
16+
When you use QP-nano Framework inside your program, the QP-nano
17+
framework code is combined with your code of the program. The purpose
18+
of this Exception is to allow non-GPL (including proprietary)
19+
programs to use, in this way, the QP-nano Framework code covered
20+
by this Exception.
21+
22+
0. Definitions.
23+
"QP-nano Framework for Arduino" is a lightweight state machine
24+
framework as well as supporting build scripts and examples, as
25+
distributed in the QP-nano framework adaptation for Arduino at
26+
<https://sourceforge.net/projects/qpc/files/QP-nano_Arduino/>.
27+
28+
"Arduino-Certified Board" means any board with an Arduino-supported
29+
CPU that bears an official Arduino logo and/or is officially
30+
certified under the Arduino Certified Program
31+
(see <http://arduino.cc/en/ArduinoCertified>).
32+
33+
"Target Code" refers to output from any compiler and linker in
34+
executable form suitable for execution by an embedded microcontroller.
35+
36+
37+
1. Grant of Additional Permission
38+
As a special Exception, the copyright holder of QP-nano gives you
39+
permission to propagate a work of Target Code formed by combining
40+
the QP-nano Framework with your own source code without the requirement
41+
to expose your propriatory source code, provided that all Target Code
42+
will execute on Arduino-Certified Board(s).
43+
44+
2. No Weakening of GPL
45+
The availability of this Exception does not imply any general
46+
presumption that third-party software is unaffected by the copyleft
47+
requirements of the GPLv3 license.

README.txt

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
This README provides a quick overview of QP-nano for Arduino.
2+
Please refer to the companion webiste to this project at:
3+
4+
http://www.state-machine.com/arduino
5+
6+
7+
Software Installation
8+
=====================
9+
The QP-nano adaptation for Arduino is distributed in a single ZIP
10+
archive qpn-<ver>_arduino-1.6.x.zip, where <ver> stands for version of
11+
the QP-nano framework.
12+
13+
You need to unzip the qpn-<ver>_arduino-1.6.x.zip archive into your
14+
Arduino-Sketchbook folder. To find out where your Sketchbook folder is,
15+
or to configure a different location for your Sketchbook folder, you
16+
need to open the Arduino IDE and select File | Preferences menu. The
17+
sketchbook location will be shown at the top of the Preferences dialog
18+
box. Once you identify the Sketchbook folder, you simply unzip the whole
19+
archive to your Sketchbook.
20+
21+
****
22+
NOTE: Currently, the QP-nano for Arduino project is available only
23+
on Windows. If you are interested in other platforms, such as Linux
24+
or MacOS, please consider contribuing a tested port.
25+
****
26+
27+
28+
Building the Examples in the QM Modeling Tool
29+
=============================================
30+
31+
****
32+
NOTE: To start working with the freeware QM modeling tool, you need to
33+
download the tool from http://sourceforge.net/projects/qpc/files/QM.
34+
****
35+
36+
Each QP-nano example for Arduino (in the examples_avr folder) contains
37+
a QM model, which is a file with the extension .qm., such as
38+
<Sketchbook>\examples_avr\blinky\blinky.qm. These models and the QM
39+
modeling tool take Arduino programming to the next level. Instead of
40+
coding the state machines by hand, you draw them with the free QM
41+
modeling tool, attach simple action code to states and transitions, and
42+
you generate the complete Arduino sketch automatically-�literally by a
43+
press of a button.
44+
45+
46+
Licensing
47+
=========
48+
The QP-nano framework for Arduino is licensed under the modified GPLv3
49+
license (see file GPLv3.txt) with the QP-Arduino Exception (see file
50+
QP-Arduino_GPL_Exception.txt). Specifically, the Exception removes the
51+
requirement to expose your propriatory source code as long as you deploy
52+
it on an Arduino-Certified board.
53+
54+
The QM graphical modeling tool is freeware. The QM tool is provided
55+
under the terms of a simple End-User License Agreement (EULA).
56+
57+
58+
Documentation
59+
=============
60+
Please refer to the companion webiste to this project at:
61+
62+
http://www.state-machine.com/arduino
63+
64+
Specifically, the Application Note: "Event-Driven Arduino Programming
65+
with QP and QM" is available from:
66+
67+
http://www.state-machine.com/doc/AN_Event-Driven_Arduino-1.6.x.pdf
68+
69+
70+
Support Questions
71+
=================
72+
Please submit any questions or comments to the free QP support forum at:
73+
http://sourceforge.net/p/qpc/discussion/668726

README.url

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[InternetShortcut]
2+
URL=http://www.state-machine.com/arduino
3+
IconFile=http://www.state-machine.com/qp.ico
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<session version="3.3.0">
3+
<item name="license">GPL</item>
4+
<group name="locked"/>
5+
<group name="settings">
6+
<item name="tabs">1</item>
7+
<item name="windows">0</item>
8+
<item name="grid">3</item>
9+
</group>
10+
<group name="windows">
11+
<item id=".::blinky.ino">0,0,800,445</item>
12+
<item id="AOs::Blinky::SM">0,0,800,445,*</item>
13+
</group>
14+
<group name="search">
15+
<item name="options">4129280</item>
16+
<item name="replace">1</item>
17+
</group>
18+
<group name="vars">
19+
<item id="PROJECT">blinky</item>
20+
<item id="ARDUINO_HOME">C:\Program Files (x86)\Arduino</item>
21+
<item id="ARDUINO_SKETCHBOOK">C:\Users\Miro\Documents\Arduino</item>
22+
<item id="BOARD_MCU">atmega328p</item>
23+
<item id="BOARD_VARIANT">standard</item>
24+
<item id="BOARD_F_MHZ">16</item>
25+
<item id="BOARD_COM">COM5</item>
26+
<item id="BOARD_BAUD">115200</item>
27+
</group>
28+
<group name="tools">
29+
<group name="tool">
30+
<item name="icon">3</item>
31+
<item name="title">build</item>
32+
<item name="command">&quot;%ARDUINO_SKETCHBOOK%\tools\utils\tclsh.exe&quot;</item>
33+
<item name="args">&quot;%ARDUINO_SKETCHBOOK%\tools\scripts\build_avr.tcl&quot; %PROJECT% &quot;qpn_avr&quot;</item>
34+
<item name="initial">.</item>
35+
<item name="options">3</item>
36+
</group>
37+
<group name="tool">
38+
<item name="icon">5</item>
39+
<item name="title">clean</item>
40+
<item name="command">&quot;%ARDUINO_SKETCHBOOK%\tools\utils\rm.exe&quot;</item>
41+
<item name="args">bin\*</item>
42+
<item name="initial">.</item>
43+
<item name="options">2</item>
44+
</group>
45+
<group name="tool">
46+
<item name="icon">6</item>
47+
<item name="title">upload</item>
48+
<item name="command">&quot;%ARDUINO_SKETCHBOOK%\tools\scripts\upload_avr.bat&quot;</item>
49+
<item name="args">%PROJECT%</item>
50+
<item name="initial">.</item>
51+
<item name="options">2</item>
52+
</group>
53+
<group name="tool">
54+
<item name="icon">8</item>
55+
<item name="title">serialterm</item>
56+
<item name="command">&quot;%ARDUINO_SKETCHBOOK%\tools\utils\serialterm.exe&quot;</item>
57+
<item name="args">%BOARD_COM% %BOARD_BAUD%</item>
58+
<item name="initial"></item>
59+
<item name="options">4</item>
60+
</group>
61+
<group name="tool">
62+
<item name="icon">5</item>
63+
<item name="title">clean all</item>
64+
<item name="command">&quot;%ARDUINO_SKETCHBOOK%\tools\utils\rm.exe&quot;</item>
65+
<item name="args">bin\* lib\*</item>
66+
<item name="initial"></item>
67+
<item name="options">2</item>
68+
</group>
69+
</group>
70+
</session>

0 commit comments

Comments
 (0)