<feed xmlns='http://www.w3.org/2005/Atom'>
<title>feurig/libmaplemidi-cma/examples/test-fsmc.cpp, branch master</title>
<subtitle>C and C++ library for STM32 ARM Cortex-M3 development boards.</subtitle>
<id>https://git.suspectdevices.com/feurig/libmaplemidi-cma/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/'/>
<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.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=954f9e5065b39fe4c683f4d216b54326d876f51b'/>
<id>urn:sha1:954f9e5065b39fe4c683f4d216b54326d876f51b</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>test-fsmc.cpp: Fixup; wait for user input before running test.</title>
<updated>2011-09-26T18:48:25+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-09-26T18:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=46782d312beee1841071aaf449221976d88f0bbd'/>
<id>urn:sha1:46782d312beee1841071aaf449221976d88f0bbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test-fsmc.cpp: Switch to SerialUSB</title>
<updated>2011-09-26T18:39:30+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-09-26T18:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=2ca5a89e5501b51ad8232892286833ff3d67a784'/>
<id>urn:sha1:2ca5a89e5501b51ad8232892286833ff3d67a784</id>
<content type='text'>
This messes with timing a little, but makes it faster to test.  The
timing was never perfect anyway, due to incrementing count.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>test-fsmc.cpp: Fix incorrect sram_end.</title>
<updated>2011-09-12T18:56:19+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-09-12T18:56:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=8b522ee8ed37e1a2b8dccf2cf1100d2cbdc520d1'/>
<id>urn:sha1:8b522ee8ed37e1a2b8dccf2cf1100d2cbdc520d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test-fsmc.cpp: Tweak output.</title>
<updated>2011-08-30T22:22:07+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-08-30T22:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=8b3eedadc0a21dd01fa78b5ead1b7a2fa3f7320c'/>
<id>urn:sha1:8b3eedadc0a21dd01fa78b5ead1b7a2fa3f7320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Converting all files to UNIX newlines.</title>
<updated>2011-05-10T20:41:37+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-05-10T20:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=ff5ae825d61a091afaa8cf4b929f4e67e59aa088'/>
<id>urn:sha1:ff5ae825d61a091afaa8cf4b929f4e67e59aa088</id>
<content type='text'>
Committing the results of running the following on the libmaple root
directory:

$ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .`
</content>
</entry>
<entry>
<title>FSMC refactor; SRAM test code</title>
<updated>2011-03-17T05:49:40+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-03-16T00:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=009b229d54de0d0e40ed668919dde5e13d9a6c68'/>
<id>urn:sha1:009b229d54de0d0e40ed668919dde5e13d9a6c68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Brought examples/ up to date; PIN_MAP bugfix for D24.</title>
<updated>2011-03-05T04:16:32+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-03-05T01:25:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=f217acb73d94f0a88bf33a42684e6e988dcb3685'/>
<id>urn:sha1:f217acb73d94f0a88bf33a42684e6e988dcb3685</id>
<content type='text'>
</content>
</entry>
<entry>
<title>FSMC tweaks</title>
<updated>2010-08-08T01:25:51+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-08-08T01:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=b2dd49c3141d8a21a4e7c7ef51dee7329f847c30'/>
<id>urn:sha1:b2dd49c3141d8a21a4e7c7ef51dee7329f847c30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Partially working!</title>
<updated>2010-08-06T01:47:47+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-08-06T00:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaplemidi-cma/commit/?id=314846bee32479f8fd6aae46c508fdc7ff8e0a95'/>
<id>urn:sha1:314846bee32479f8fd6aae46c508fdc7ff8e0a95</id>
<content type='text'>
Documented; see ./notes/fsmc.txt. Not yet integrated into .ld scripts or
fully tested
</content>
</entry>
</feed>
