<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/libmaple/wirish/stm32f1, branch master</title>
<subtitle>Working copy of Leaflabs libmaple</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/libmaple/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/libmaple/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/'/>
<updated>2013-05-02T16:31:45+00:00</updated>
<entry>
<title>Reverted work change</title>
<updated>2013-05-02T16:31:45+00:00</updated>
<author>
<name>mlundinse</name>
<email>lundin@mlu.mine.nu</email>
</author>
<published>2013-05-02T16:31:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=63f3c453f8fd2a7fe1c2dde9fdb22f1802681384'/>
<id>urn:sha1:63f3c453f8fd2a7fe1c2dde9fdb22f1802681384</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dont initialise SerialUSB by default</title>
<updated>2013-04-23T18:48:01+00:00</updated>
<author>
<name>mlundinse</name>
<email>lundin@mlu.mine.nu</email>
</author>
<published>2013-04-23T18:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=cd7f34a357c1035a2c69918131a923e4006544a0'/>
<id>urn:sha1:cd7f34a357c1035a2c69918131a923e4006544a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bring back and fix up util.c functionality.</title>
<updated>2012-06-26T22:03:40+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-26T22:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=139ea7c3534551b62f91349e6454a9751dea1ad1'/>
<id>urn:sha1:139ea7c3534551b62f91349e6454a9751dea1ad1</id>
<content type='text'>
Rip out the existing nonportable pieces, and shove them under
wirish/stm32f1, using weak symbols so users who only want libmaple
proper don't end up with build errors. Add stubbed-out (and only
partially functional) definitions for F2 targets under wirish/stm32f2.

The behavior on F103 targets is the same as it was before (though the
assertion framework has always been broken and badly needs
replacement, that awaits another commit). We additionally now skip
re-enabling USB on F1 targets without USB, to make things work on
value line MCUs.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Bring back &lt;wirish/wirish_debug.h&gt;.</title>
<updated>2012-06-08T22:34:33+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-08T22:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=93eb9368db5329799ced7ca56a708f053c217c2f'/>
<id>urn:sha1:93eb9368db5329799ced7ca56a708f053c217c2f</id>
<content type='text'>
Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>wirish: Weaken boards_private.h definitions.</title>
<updated>2012-06-07T07:38:29+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-05T19:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=cc28a31a5b266bdb350130e69a4d2446ed0ff5b5'/>
<id>urn:sha1:cc28a31a5b266bdb350130e69a4d2446ed0ff5b5</id>
<content type='text'>
This lets users override them conveniently if our decisions don't
suit.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Provide wirish::priv::series_init() on F1.</title>
<updated>2012-06-07T07:38:29+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-05T19:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=dbe91ade96a3f550462947314da79a08a6cf9e0a'/>
<id>urn:sha1:dbe91ade96a3f550462947314da79a08a6cf9e0a</id>
<content type='text'>
This lets us remove the weak definition in boards.cpp.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Remove a completed FIXME comment.</title>
<updated>2012-06-07T07:38:28+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-05T18:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=4d6905d298ed7e45ce67a387c05ad7e38f2e10ae'/>
<id>urn:sha1:4d6905d298ed7e45ce67a387c05ad7e38f2e10ae</id>
<content type='text'>
Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Slightly improve and generify the USB infrastructure.</title>
<updated>2012-06-04T02:40:39+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-03T10:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=8796a81efc61a7406625ee278125a52c62e626f4'/>
<id>urn:sha1:8796a81efc61a7406625ee278125a52c62e626f4</id>
<content type='text'>
The good news is that &lt;libmaple/usb.h&gt; and &lt;libmaple/usb_cdcacm.h&gt; did
turn out generic enough in what they specify to go on unchanged.

However, we can't just go on assuming that there's USB just because
we're on an F1. Now that there's value line in the tree, we need to be
more careful (value line F1s don't have USB peripherals). To that end,
make all the F1 board-includes/*.mk files specify what line their MCU
is with an MCU_F1_LINE variable. Use that to hack
libmaple/usb/rules.mk so we only try to build the USB module under
appropriate circumstances.

While we're at it, add a vector_symbols.inc for value line MCUs under
support/ld/. We need this to get the target-config.mk modifications
implied by the addition of MCU_F1_LINE. We'll fix up some other
performance-line-isms under libmaple/stm32f1 in a separate commit.

Also in libmaple/usb/:

- Move everything into a new stm32f1 directory. Due to aforementioned
  rules.mk hacks, there is no immediate need for an stm32f2
  directory (USB support doesn't exist there).

- Update the README for style and content.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Bring timer initialization back to init().</title>
<updated>2012-06-03T01:04:13+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-03T01:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=6c52b7e870ddb4308341cacf8c1cd60d47fa123a'/>
<id>urn:sha1:6c52b7e870ddb4308341cacf8c1cd60d47fa123a</id>
<content type='text'>
Turns out the F1 code was pretty portable after all, so take it from
the F1 boards_setup.cpp and stick it back into boards.cpp. The only
change needed was to add a call to the newly-minted
timer_has_cc_channel() (and this is necessary on F103 XL-density,
anyway).

Also assert LeafLabs copyright in boards.cpp. We really need to do
this throughout the library; it's basically been rewritten since
Perry.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>examples/blinky.cpp works on F2.</title>
<updated>2012-05-31T21:24:41+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-05-31T21:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=9d8a2d7d0ef11d0399c1c83b351468a82b3e7c00'/>
<id>urn:sha1:9d8a2d7d0ef11d0399c1c83b351468a82b3e7c00</id>
<content type='text'>
Only OUTPUT mode is tested; any other modes might work, but no
guarantees.

Bring back:

- wirish/wirish_digital.cpp
- wirish/cxxabi-compat.cpp
- wirish/wirish_time.cpp

Add new:

- wirish/stm32f1/wirish_digital.cpp
- wirish/stm32f2/wirish_digital.cpp

Move pinMode() from wirish/wirish_digital.cpp into the file by the
same basename in wirish/stm32f1. This implementation is tied to
F1. Add an F2 implementation in wirish/stm32f2/wirish_digital.cpp.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
</feed>
