Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5 - support STM32duino, support F() for ESP8266, blacklist megaAVR #67

Merged
merged 15 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changelog

* Unreleased
* 1.5 (2021-01-18)
* Add support for STM32duino.
* Blacklist megaAVR boards due to incompatibility with new Arduino API.
See Issue #56 (https://github.com/bxparks/AUnit/issues/56).
* Blacklist SAMD21 boards using `arduino:samd` core version >= 1.8.10
due to incompatibility with new Arduino API. See Issue #66
(https://github.com/bxparks/AUnit/issues/66).
* Enable `F()` for ESP8266 since
https://github.com/esp8266/Arduino/issues/3369 seems to have been fixed
some time ago.
* 1.4.1 (2020-11-12)
* Add Table of Contents to README.md to help navigation.
* No functional change in this release.
Expand Down
280 changes: 209 additions & 71 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/doxygen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "AUnit"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.4.1
PROJECT_NUMBER = 1.5

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
47 changes: 24 additions & 23 deletions docs/html/AUnitVerbose_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">AUnit
&#160;<span id="projectnumber">1.4.1</span>
&#160;<span id="projectnumber">1.5</span>
</div>
<div id="projectbrief">Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.</div>
</td>
Expand Down Expand Up @@ -91,26 +91,27 @@
<div class="dyncontent">
<div class="center"><img src="AUnitVerbose_8h__incl.png" border="0" usemap="#_2home_2brian_2src_2AUnit_2src_2AUnitVerbose_8h" alt=""/></div>
<map name="_2home_2brian_2src_2AUnit_2src_2AUnitVerbose_8h" id="_2home_2brian_2src_2AUnit_2src_2AUnitVerbose_8h">
<area shape="rect" title=" " alt="" coords="701,5,864,47"/>
<area shape="rect" href="print64_8h.html" title=" " alt="" coords="48,95,165,121"/>
<area shape="rect" href="Verbosity_8h_source.html" title=" " alt="" coords="891,468,1021,495"/>
<area shape="rect" href="Compare_8h.html" title=" " alt="" coords="144,244,275,271"/>
<area shape="rect" href="Printer_8h_source.html" title=" " alt="" coords="211,319,325,345"/>
<area shape="rect" href="Test_8h_source.html" title=" " alt="" coords="1113,393,1210,420"/>
<area shape="rect" href="Assertion_8h_source.html" title=" " alt="" coords="1095,319,1227,345"/>
<area shape="rect" href="MetaAssertion_8h_source.html" title=" " alt="" coords="451,244,616,271"/>
<area shape="rect" href="TestOnce_8h_source.html" title=" " alt="" coords="365,169,496,196"/>
<area shape="rect" href="TestAgain_8h_source.html" title=" " alt="" coords="571,169,706,196"/>
<area shape="rect" href="TestRunner_8h_source.html" title=" " alt="" coords="1386,319,1529,345"/>
<area shape="rect" href="AssertVerboseMacros_8h.html" title=" " alt="" coords="1144,95,1355,121"/>
<area shape="rect" href="MetaAssertMacros_8h.html" title=" " alt="" coords="1043,244,1235,271"/>
<area shape="rect" href="TestMacros_8h.html" title=" " alt="" coords="711,95,855,121"/>
<area shape="rect" title=" " alt="" coords="136,543,211,569"/>
<area shape="rect" title=" " alt="" coords="5,169,69,196"/>
<area shape="rect" title=" " alt="" coords="845,543,915,569"/>
<area shape="rect" href="FCString_8h_source.html" title=" " alt="" coords="609,468,698,495"/>
<area shape="rect" href="Flash_8h.html" title=" " alt="" coords="1019,393,1088,420"/>
<area shape="rect" title=" " alt="" coords="833,169,917,196"/>
<area shape="rect" title=" " alt="" coords="772,5,935,47"/>
<area shape="rect" href="print64_8h.html" title=" " alt="" coords="5,95,123,121"/>
<area shape="rect" href="Verbosity_8h_source.html" title=" " alt="" coords="1023,468,1153,495"/>
<area shape="rect" href="Compare_8h.html" title=" " alt="" coords="95,244,225,271"/>
<area shape="rect" href="Printer_8h_source.html" title=" " alt="" coords="631,319,745,345"/>
<area shape="rect" href="Test_8h_source.html" title=" " alt="" coords="939,393,1037,420"/>
<area shape="rect" href="Assertion_8h_source.html" title=" " alt="" coords="821,319,953,345"/>
<area shape="rect" href="MetaAssertion_8h_source.html" title=" " alt="" coords="771,244,936,271"/>
<area shape="rect" href="TestOnce_8h_source.html" title=" " alt="" coords="669,169,800,196"/>
<area shape="rect" href="TestAgain_8h_source.html" title=" " alt="" coords="198,169,333,196"/>
<area shape="rect" href="TestRunner_8h_source.html" title=" " alt="" coords="1163,319,1306,345"/>
<area shape="rect" href="AssertVerboseMacros_8h.html" title=" " alt="" coords="1112,95,1323,121"/>
<area shape="rect" href="MetaAssertMacros_8h.html" title=" " alt="" coords="1397,244,1589,271"/>
<area shape="rect" href="TestMacros_8h.html" title=" " alt="" coords="451,95,595,121"/>
<area shape="rect" title=" " alt="" coords="123,543,197,569"/>
<area shape="rect" title=" " alt="" coords="59,169,123,196"/>
<area shape="rect" title=" " alt="" coords="849,543,919,569"/>
<area shape="rect" href="FCString_8h_source.html" title=" " alt="" coords="498,468,587,495"/>
<area shape="rect" href="Flash_8h.html" title=" " alt="" coords="845,393,915,420"/>
<area shape="rect" title=" " alt="" coords="821,468,947,495"/>
<area shape="rect" title=" " alt="" coords="409,169,493,196"/>
</map>
</div>
</div>
Expand All @@ -119,10 +120,10 @@
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a87cbb10969eff63f8ae66afc4e9457eb"><td class="memItemLeft" align="right" valign="top"><a id="a87cbb10969eff63f8ae66afc4e9457eb"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION</b>&#160;&#160;&#160;10401</td></tr>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION</b>&#160;&#160;&#160;10500</td></tr>
<tr class="separator:a87cbb10969eff63f8ae66afc4e9457eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70ade1487f0d9d7172f24897cd0f2dd5"><td class="memItemLeft" align="right" valign="top"><a id="a70ade1487f0d9d7172f24897cd0f2dd5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION_STRING</b>&#160;&#160;&#160;&quot;1.4.1&quot;</td></tr>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AUNIT_VERSION_STRING</b>&#160;&#160;&#160;&quot;1.5&quot;</td></tr>
<tr class="separator:a70ade1487f0d9d7172f24897cd0f2dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Expand Down
41 changes: 21 additions & 20 deletions docs/html/AUnitVerbose_8h__incl.map
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<map id="/home/brian/src/AUnit/src/AUnitVerbose.h" name="/home/brian/src/AUnit/src/AUnitVerbose.h">
<area shape="rect" id="node1" title=" " alt="" coords="701,5,864,47"/>
<area shape="rect" id="node2" href="$print64_8h.html" title=" " alt="" coords="48,95,165,121"/>
<area shape="rect" id="node5" href="$Verbosity_8h_source.html" title=" " alt="" coords="891,468,1021,495"/>
<area shape="rect" id="node7" href="$Compare_8h.html" title=" " alt="" coords="144,244,275,271"/>
<area shape="rect" id="node8" href="$Printer_8h_source.html" title=" " alt="" coords="211,319,325,345"/>
<area shape="rect" id="node9" href="$Test_8h_source.html" title=" " alt="" coords="1113,393,1210,420"/>
<area shape="rect" id="node11" href="$Assertion_8h_source.html" title=" " alt="" coords="1095,319,1227,345"/>
<area shape="rect" id="node13" href="$MetaAssertion_8h_source.html" title=" " alt="" coords="451,244,616,271"/>
<area shape="rect" id="node14" href="$TestOnce_8h_source.html" title=" " alt="" coords="365,169,496,196"/>
<area shape="rect" id="node15" href="$TestAgain_8h_source.html" title=" " alt="" coords="571,169,706,196"/>
<area shape="rect" id="node16" href="$TestRunner_8h_source.html" title=" " alt="" coords="1386,319,1529,345"/>
<area shape="rect" id="node17" href="$AssertVerboseMacros_8h.html" title=" " alt="" coords="1144,95,1355,121"/>
<area shape="rect" id="node18" href="$MetaAssertMacros_8h.html" title=" " alt="" coords="1043,244,1235,271"/>
<area shape="rect" id="node19" href="$TestMacros_8h.html" title=" " alt="" coords="711,95,855,121"/>
<area shape="rect" id="node3" title=" " alt="" coords="136,543,211,569"/>
<area shape="rect" id="node4" title=" " alt="" coords="5,169,69,196"/>
<area shape="rect" id="node6" title=" " alt="" coords="845,543,915,569"/>
<area shape="rect" id="node10" href="$FCString_8h_source.html" title=" " alt="" coords="609,468,698,495"/>
<area shape="rect" id="node12" href="$Flash_8h.html" title=" " alt="" coords="1019,393,1088,420"/>
<area shape="rect" id="node20" title=" " alt="" coords="833,169,917,196"/>
<area shape="rect" id="node1" title=" " alt="" coords="772,5,935,47"/>
<area shape="rect" id="node2" href="$print64_8h.html" title=" " alt="" coords="5,95,123,121"/>
<area shape="rect" id="node5" href="$Verbosity_8h_source.html" title=" " alt="" coords="1023,468,1153,495"/>
<area shape="rect" id="node7" href="$Compare_8h.html" title=" " alt="" coords="95,244,225,271"/>
<area shape="rect" id="node8" href="$Printer_8h_source.html" title=" " alt="" coords="631,319,745,345"/>
<area shape="rect" id="node9" href="$Test_8h_source.html" title=" " alt="" coords="939,393,1037,420"/>
<area shape="rect" id="node11" href="$Assertion_8h_source.html" title=" " alt="" coords="821,319,953,345"/>
<area shape="rect" id="node14" href="$MetaAssertion_8h_source.html" title=" " alt="" coords="771,244,936,271"/>
<area shape="rect" id="node15" href="$TestOnce_8h_source.html" title=" " alt="" coords="669,169,800,196"/>
<area shape="rect" id="node16" href="$TestAgain_8h_source.html" title=" " alt="" coords="198,169,333,196"/>
<area shape="rect" id="node17" href="$TestRunner_8h_source.html" title=" " alt="" coords="1163,319,1306,345"/>
<area shape="rect" id="node18" href="$AssertVerboseMacros_8h.html" title=" " alt="" coords="1112,95,1323,121"/>
<area shape="rect" id="node19" href="$MetaAssertMacros_8h.html" title=" " alt="" coords="1397,244,1589,271"/>
<area shape="rect" id="node20" href="$TestMacros_8h.html" title=" " alt="" coords="451,95,595,121"/>
<area shape="rect" id="node3" title=" " alt="" coords="123,543,197,569"/>
<area shape="rect" id="node4" title=" " alt="" coords="59,169,123,196"/>
<area shape="rect" id="node6" title=" " alt="" coords="849,543,919,569"/>
<area shape="rect" id="node10" href="$FCString_8h_source.html" title=" " alt="" coords="498,468,587,495"/>
<area shape="rect" id="node12" href="$Flash_8h.html" title=" " alt="" coords="845,393,915,420"/>
<area shape="rect" id="node13" title=" " alt="" coords="821,468,947,495"/>
<area shape="rect" id="node21" title=" " alt="" coords="409,169,493,196"/>
</map>
2 changes: 1 addition & 1 deletion docs/html/AUnitVerbose_8h__incl.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b93461aba3f04b7397bedda42f9b3e21
8350e4c6c7068d949e9846bc218ff24b
Binary file modified docs/html/AUnitVerbose_8h__incl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 29 additions & 20 deletions docs/html/AUnitVerbose_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">AUnit
&#160;<span id="projectnumber">1.4.1</span>
&#160;<span id="projectnumber">1.5</span>
</div>
<div id="projectbrief">Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.</div>
</td>
Expand Down Expand Up @@ -98,25 +98,34 @@
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#ifndef AUNIT_AUNIT_VERBOSE_H</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#define AUNIT_AUNIT_VERBOSE_H</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="print64_8h.html">aunit/print64.h</a>&quot;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &quot;aunit/Verbosity.h&quot;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Compare_8h.html">aunit/Compare.h</a>&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#include &quot;aunit/Printer.h&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#include &quot;aunit/Test.h&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &quot;aunit/Assertion.h&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#include &quot;aunit/MetaAssertion.h&quot;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &quot;aunit/TestOnce.h&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#include &quot;aunit/TestAgain.h&quot;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#include &quot;aunit/TestRunner.h&quot;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="AssertVerboseMacros_8h.html">aunit/AssertVerboseMacros.h</a>&quot;</span> <span class="comment">// verbose assertXxx() macros</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MetaAssertMacros_8h.html">aunit/MetaAssertMacros.h</a>&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="TestMacros_8h.html">aunit/TestMacros.h</a>&quot;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="comment">// Version format: xxyyzz == &quot;xx.yy.zz&quot;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#define AUNIT_VERSION 10401</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define AUNIT_VERSION_STRING &quot;1.4.1&quot;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// Blacklist boards using new Arduino API due to incompatibilities. This</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment">// currently includes all megaAVR boards and SAMD21 boards using arduino::samd</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment">// &gt;= 1.8.10. Boards using arduino:samd &lt;= 1.8.9 or SparkFun:samd are fine.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#if defined(ARDUINO_ARCH_MEGAAVR)</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#error MegaAVR not supported https://github.com/bxparks/AUnit/issues/56</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#elif defined(ARDUINO_ARCH_SAMD) &amp;&amp; defined(ARDUINO_API_VERSION)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#error SAMD21 with arduino:samd &gt;= 1.8.10 not supported, see https://github.com/bxparks/AUnit/issues/66</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="print64_8h.html">aunit/print64.h</a>&quot;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#include &quot;aunit/Verbosity.h&quot;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Compare_8h.html">aunit/Compare.h</a>&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#include &quot;aunit/Printer.h&quot;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#include &quot;aunit/Test.h&quot;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#include &quot;aunit/Assertion.h&quot;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#include &quot;aunit/MetaAssertion.h&quot;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#include &quot;aunit/TestOnce.h&quot;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#include &quot;aunit/TestAgain.h&quot;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#include &quot;aunit/TestRunner.h&quot;</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="AssertVerboseMacros_8h.html">aunit/AssertVerboseMacros.h</a>&quot;</span> <span class="comment">// verbose assertXxx() macros</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="MetaAssertMacros_8h.html">aunit/MetaAssertMacros.h</a>&quot;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="TestMacros_8h.html">aunit/TestMacros.h</a>&quot;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">// Version format: xxyyzz == &quot;xx.yy.zz&quot;</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#define AUNIT_VERSION 10500</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#define AUNIT_VERSION_STRING &quot;1.5&quot;</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aCompare_8h_html"><div class="ttname"><a href="Compare_8h.html">Compare.h</a></div></div>
<div class="ttc" id="aTestMacros_8h_html"><div class="ttname"><a href="TestMacros_8h.html">TestMacros.h</a></div></div>
Expand Down
Loading