<feed xmlns='http://www.w3.org/2005/Atom'>
<title>librambutan/main.cpp.example, branch stm32f4discovery</title>
<subtitle>[no description]</subtitle>
<id>https://git.bnewbold.net/librambutan/atom?h=stm32f4discovery</id>
<link rel='self' href='https://git.bnewbold.net/librambutan/atom?h=stm32f4discovery'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/'/>
<updated>2012-04-11T20:56:50+00:00</updated>
<entry>
<title>Move public headers to include directories; related cleanups.</title>
<updated>2012-04-11T20:56:50+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-11-15T17:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=f36fae273ec84ee2c53a33caa2dddea2d79db0da'/>
<id>urn:sha1:f36fae273ec84ee2c53a33caa2dddea2d79db0da</id>
<content type='text'>
Move libmaple/*.h to (new) libmaple/include/libmaple/. The new
accepted way to include a libmaple header foo.h is with:

    #include &lt;libmaple/foo.h&gt;

This is more polite in terms of the include namespace. It also allows
us to e.g. implement the Arduino SPI library at all (which has header
SPI.h; providing it was previously impossible on case-insensitive
filesystems due to libmaple's spi.h).

Similarly for Wirish.

The old include style (#include "header.h") is now deprecated.

libmaple/*.h:

- Change include guard #defines from _FOO_H_ to _LIBMAPLE_FOO_H_.
- Add license headers where they're missing
- Add conditional extern "C" { ... } blocks where they're missing
  (they aren't always necessary, but we might was well do it against
  the future, while we're at it.).
- Change includes from #include "foo.h" to #include &lt;libmaple/foo.h&gt;.
- Move includes after extern "C".
- Remove extra trailing newlines

Note that this doesn't include the headers under libmaple/usb/ or
libmaple/usb/usb_lib. These will get fixed later.

libmaple/*.c:

- Change includes from #include "foo.h" to #include &lt;libmaple/foo.h&gt;.

Makefile:

- Add I$(LIBMAPLE_PATH)/include/libmaple to GLOBAL_FLAGS.  This allows
  for users (including Wirish) to migrate their code, but should go
  away ASAP, since it slows down compilation.

Wirish:

- Move wirish/**/*.h to (new) wirish/include/wirish/.  This ignores
  the USB headers, which, as usual, are getting handled after
  everything else.

- Similarly generify wirish/boards/ structure. For each supported
  board "foo", move wirish/boards/foo.h and wirish/boards/foo.cpp to
  wirish/boards/foo/include/board/board.h and
  wirish/boards/foo/board.cpp, respectively. Also remove the #ifdef
  hacks around the .cpp files.

- wirish/rules.mk: put wirish/boards/foo/include in the include path
  (and add wirish/boards/foo/board.cpp to the list of sources to be
  compiled). This allows saying:

      #include &lt;board/board.h&gt;

  instead of the hack currently in place. We can allow the user to
  override this setting later to make adding custom board definitions
  easier.

- Disable -Werror in libmaple/rules.mk, as the current USB warnings
  don't let the olimex_stm32_h103 board compile. We can re-enable
  -Werror once we've moved the board-specific bits out of libmaple
  proper.

libraries, examples:

- Update includes accordingly.
- Miscellaneous cosmetic fixups.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Trivial main.cpp.example cleanup.</title>
<updated>2011-04-08T22:58:58+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-04-08T16:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=5329ec3089b4fb6b3023d7f6a44eabcc30e3c9dd'/>
<id>urn:sha1:5329ec3089b4fb6b3023d7f6a44eabcc30e3c9dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixing typo in main.cpp.example.</title>
<updated>2011-03-02T05:07:10+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-03-02T05:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=4c8ab9d1717002d5faad9c2af6db6d12da761ec9'/>
<id>urn:sha1:4c8ab9d1717002d5faad9c2af6db6d12da761ec9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Function examples/test-session.cpp on Native</title>
<updated>2011-02-10T22:50:26+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-02-09T03:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=05bb1e666f9542d5636645cf69df5d3741f2bc2e'/>
<id>urn:sha1:05bb1e666f9542d5636645cf69df5d3741f2bc2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Call init before static constructors</title>
<updated>2010-06-26T01:42:48+00:00</updated>
<author>
<name>Perry Hung</name>
<email>iperry@alum.mit.edu</email>
</author>
<published>2010-06-26T01:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=6f82321248c2482784ce5a5e0715b62909d1ab76'/>
<id>urn:sha1:6f82321248c2482784ce5a5e0715b62909d1ab76</id>
<content type='text'>
Commit 70a18f96b6d55d23ce58ab40ffb61f172c8f6c73 forces init() to be
called before any statically allocated object constructors for the IDE.

This adds the change to the examples for users not using the IDE.
</content>
</entry>
<entry>
<title>example updates...</title>
<updated>2010-06-05T00:01:34+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-06-05T00:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=767bf60238435be10b7197dc4300b9e678f18c72'/>
<id>urn:sha1:767bf60238435be10b7197dc4300b9e678f18c72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preliminary wirish USBSerial implementation.</title>
<updated>2010-06-04T04:43:21+00:00</updated>
<author>
<name>Perry Hung</name>
<email>iperry@alum.mit.edu</email>
</author>
<published>2010-06-04T04:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=88d4b095e4590ab9bbafcf76e134d168f66c41b1'/>
<id>urn:sha1:88d4b095e4590ab9bbafcf76e134d168f66c41b1</id>
<content type='text'>
-updated examples
-removed HardwareUSB
-cleaned up a handful of includes
</content>
</entry>
<entry>
<title>removed another depricated reference to old usb shit</title>
<updated>2010-05-21T03:47:29+00:00</updated>
<author>
<name>AJM</name>
<email>poslathian@poslathian.(none)</email>
</author>
<published>2010-05-21T03:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=7ee6a800d97e2dfeb5cbc4041df431941648b512'/>
<id>urn:sha1:7ee6a800d97e2dfeb5cbc4041df431941648b512</id>
<content type='text'>
removed HardwareUsb usb in example main, as that class hasnt been defined yet
also modded the makefile to actually compile main.cpp
</content>
</entry>
<entry>
<title>Adjusted the makefile and example main</title>
<updated>2010-05-21T03:42:00+00:00</updated>
<author>
<name>AJM</name>
<email>poslathian@poslathian.(none)</email>
</author>
<published>2010-05-21T03:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=ceffba70ebdeb53bea139d343f2d6cb88888515c'/>
<id>urn:sha1:ceffba70ebdeb53bea139d343f2d6cb88888515c</id>
<content type='text'>
for some odd reason the main file in the makefile was set to main.c not main.cpp  corrected this as there is no main.c anywhere in this repo. Also removed references to HardwareUsb.h, since those files dont exist yet (the originals were depricated and removed)
</content>
</entry>
<entry>
<title>Fixed examples, added spi example, moved pure virtual function handler</title>
<updated>2010-04-29T05:14:03+00:00</updated>
<author>
<name>Perry Hung</name>
<email>iperry@alum.mit.edu</email>
</author>
<published>2010-04-29T05:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=b5ddce7dc81a0ae313cce635bce02028db32d5de'/>
<id>urn:sha1:b5ddce7dc81a0ae313cce635bce02028db32d5de</id>
<content type='text'>
out of main to cxxabi-compat.cpp.
</content>
</entry>
</feed>
