Skip to content

Commit

Permalink
Added support for raspberry pi
Browse files Browse the repository at this point in the history
  • Loading branch information
lexus2k committed Jan 23, 2018
1 parent 06dabd0 commit 18045fd
Show file tree
Hide file tree
Showing 183 changed files with 1,784 additions and 1,051 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Prior to submitting pull request, create issue first.
without any issues. If you don't have a chance to run ssd1306_demo on the listed platforms, please, clearly inform about that
in your pull request.

**Trivial Pull Request Checklist**

For trivial pull requests, just check compilation for different platforms: Arduino Nano, Attiny85, ESP8266.

If accepted, your contribution may be heavily modified as needed prior to merging. You will likely retain author
attribution for your Git commits granted that the bulk of your changes remain intact.

Expand Down
94 changes: 0 additions & 94 deletions Makefile.avr

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ configurable through API.
* AVR (ssd1306 library can be compiled and used with plain avr-gcc/avr-libc without Arduino libraries)
* Attiny85, Attiny45
* Atmega328p, Atmega168
* Linux
* Raspberry Pi

Digispark users, please check compilation options in your Arduino prior to using this library.
Ssd1306 library requires at least c++11 and c99 (by default Digispark package misses the options
Expand Down
2 changes: 1 addition & 1 deletion docs/_r_e_a_d_m_e_8md_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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/annotated.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/arduino_2io_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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
4 changes: 2 additions & 2 deletions docs/arduino_2io_8h_source.html

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/avr_2io_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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down Expand Up @@ -71,7 +71,8 @@

<p><a href="avr_2io_8h_source.html">Go to the source code of this file.</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>SSD1306 AVR IO communication functions </p>
<div class="textblock"><p>SSD1306 AVR IO communication functions</p>
<p>SSD1306 LINUX IO communication functions </p>

<p class="definition">Definition in file <a class="el" href="avr_2io_8h_source.html">io.h</a>.</p>
</div></div><!-- contents -->
Expand Down
6 changes: 4 additions & 2 deletions docs/avr_2io_8h_source.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/class_nano_canvas-members.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_nano_canvas.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_sprite_pool-members.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
6 changes: 3 additions & 3 deletions docs/class_sprite_pool.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down Expand Up @@ -136,7 +136,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ad7f28dde3e55d7e57f685070
</tr>
</table>
</div><div class="memdoc">
<p>Creates empty <a class="el" href="class_sprite_pool.html">SpritePool</a> object. It is able to hold up to 8 sprites. </p>
<p>Creates empty <a class="el" href="class_sprite_pool.html">SpritePool</a> object. It is able to hold up to 10 sprites on AVR platforms and up to 32 sprites on ESP platforms. </p>

<p class="definition">Definition at line <a class="el" href="sprite__pool_8cpp_source.html#l00029">29</a> of file <a class="el" href="sprite__pool_8cpp_source.html">sprite_pool.cpp</a>.</p>

Expand Down Expand Up @@ -328,7 +328,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a685c20c2e1b762cf10fad3e8
</dd>
</dl>

<p class="definition">Definition at line <a class="el" href="sprite__pool_8h_source.html#l00093">93</a> of file <a class="el" href="sprite__pool_8h_source.html">sprite_pool.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="sprite__pool_8h_source.html#l00094">94</a> of file <a class="el" href="sprite__pool_8h_source.html">sprite_pool.h</a>.</p>

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_tiny_buffer-members.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_tiny_buffer.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_tiny_s_s_d1306-members.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/class_tiny_s_s_d1306.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/dir_0dafeca1bc133eccf2c7471514a9d97e.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/dir_29f961928ec4e18b13ad7a415d928772.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/dir_400ec9dfbcc5b99599a7a03cee71b7a7.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/dir_47f15062b722b912feb5ed80229be830.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
79 changes: 79 additions & 0 deletions docs/dir_4af18c85566ecbe396c2d377a6f6b6b9.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSD1306 OLED display driver: src/hal/linux Directory Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_4ce6a7f885e2866a554ba9e7335035f1.html">hal</a></li><li class="navelem"><a class="el" href="dir_4af18c85566ecbe396c2d377a6f6b6b9.html">linux</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">linux Directory Reference</div> </div>
</div><!--header-->
<div class="contents">
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/dir_4ce6a7f885e2866a554ba9e7335035f1.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">SSD1306 OLED display driver
&#160;<span id="projectnumber">1.4.2</span>
&#160;<span id="projectnumber">1.4.4</span>
</div>
<div id="projectbrief">This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display</div>
</td>
Expand Down
Loading

0 comments on commit 18045fd

Please sign in to comment.