<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Forum: The Lounge - Recent Topics</title>
		<link>http://forums.leaflabs.com/forum.php?id=9</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:01:16 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?forum=9&topics=1" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "New &#039;Arduino-Nano&#039; size STM32 Nucleo mbed&#039;s"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74453#post-105784</link>
			<pubDate>Mon, 19 Oct 2015 19:22:44 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105784@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;There are some interesting new ST-developed STM32 Nucleos, in a smaller, 'Arduino Nano' form-factor:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/web/catalog/tools/FM116/CL1620/SC959/SS1532/LN1847/PF262544?s_searchtype=partnumber&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/web/catalog/tools/FM116/CL1620/SC959/SS1532/LN1847/PF262544?s_searchtype=partnumber&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There are three so far, including an STM32F303&#60;/p&#62;
&#60;p&#62;They are available for £7.40 from UK Farnell:&#60;br /&#62;
&#60;a href=&#34;http://uk.farnell.com/stmicroelectronics/nucleo-f303k8/dev-board-stm32f303k8-nucleo-32/dp/2500224&#34; rel=&#34;nofollow&#34;&#62;http://uk.farnell.com/stmicroelectronics/nucleo-f303k8/dev-board-stm32f303k8-nucleo-32/dp/2500224&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also Mouser and Digikey are listing it.&#60;/p&#62;
&#60;p&#62;AFAICT it is an mbed, and so should support the 'flash drive upload' feature.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rogerclark on "New forum for Arduino on STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74431#post-105723</link>
			<pubDate>Mon, 27 Apr 2015 17:28:02 +0000</pubDate>
			<dc:creator>rogerclark</dc:creator>
			<guid isPermaLink="false">105723@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Guys,&#60;/p&#62;
&#60;p&#62;By popular demand I have created a new forum for anyone interested in STM32 on Arduino, especially the Maple and Maple mini, but also for generic STM32F103 boards&#60;/p&#62;
&#60;p&#62;Its early days, but the new forum is at&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.stm32duino.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.stm32duino.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So please take a look, or post if you have a question&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Roger Clark
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bigplik on "any OLED display working with maple?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74422#post-105692</link>
			<pubDate>Wed, 25 Mar 2015 07:53:16 +0000</pubDate>
			<dc:creator>bigplik</dc:creator>
			<guid isPermaLink="false">105692@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hi, is any OLED display working nicely with mapleIDE or let to use arduino libraries like ssd1306 or u8glib?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dbolgheroni on "Edit Post"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74410#post-105624</link>
			<pubDate>Wed, 14 Jan 2015 17:30:48 +0000</pubDate>
			<dc:creator>dbolgheroni</dc:creator>
			<guid isPermaLink="false">105624@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Is it possible to edit a post? Can't find an 'edit' link.&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gruvin on "Added EEPROM user-mdoule and now my rules.mk is being ignored?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74276#post-105245</link>
			<pubDate>Wed, 19 Feb 2014 22:26:32 +0000</pubDate>
			<dc:creator>gruvin</dc:creator>
			<guid isPermaLink="false">105245@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I'm perplexed. :-/&#60;/p&#62;
&#60;p&#62;I added a module &#34;EEPROM&#34; (files found from another forum contributor, based on ST AN2594) to my command line toolchain &#60;code&#62;~/libmaple/libraries/&#60;/code&#62; folder. &#60;/p&#62;
&#60;p&#62;I had to create a &#60;code&#62;rules.mk&#60;/code&#62; file. This is what I have for that ...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;~/libmaple/libraries/EEPROM/rules.mk:
---
# Standard things
sp := $(sp).x
dirstack_$(sp) := $(d)
d := $(dir)
BUILDDIRS += $(BUILD_PATH)/$(d)

# Local flags
CFLAGS_$(d) := $(WIRISH_INCLUDES) $(LIBMAPLE_INCLUDES)
CXXFLAGS_$(d) := $(WIRISH_INCLUDES) $(LIBMAPLE_INCLUDES)

# Local rules and targets
cSRCS_$(d) := flash_stm32.c

cppSRCS_$(d) := EEPROM.cpp

cFILES_$(d) := $(cSRCS_$(d):%=$(d)/%)
cppFILES_$(d) := $(cppSRCS_$(d):%=$(d)/%)

OBJS_$(d) := $(cFILES_$(d):%.c=$(BUILD_PATH)/%.o) \
             $(cppFILES_$(d):%.cpp=$(BUILD_PATH)/%.o)
DEPS_$(d) := $(OBJS_$(d):%.o=%.d)

$(OBJS_$(d)): TGT_CFLAGS := $(CFLAGS_$(d))
$(OBJS_$(d)): TGT_CXXFLAGS := $(CXXFLAGS_$(d))

TGT_BIN += $(OBJS_$(d))

# Standard things
-include $(DEPS_$(d))
d := $(dirstack_$(sp))
sp := $(basename $(sp))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now when I compile, it appears that my main project &#60;code&#62;rules.mk&#60;/code&#62; file is being ignored -- or at least the &#60;code&#62;cppSRCS&#60;/code&#62; part ...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;make
...
[CXX]       /Users/bryan/libmaple/libraries/FreeRTOS/MapleFreeRTOS.cpp
  [CC]        /Users/bryan/libmaple/libraries/EEPROM/flash_stm32.c
  [CXX]       /Users/bryan/libmaple/libraries/EEPROM/EEPROM.cpp
  [CXX]       main.cpp
  [LD]        maple_mini.elf&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Notice that there is no longer a  &#60;code&#62;real-main.cpp&#60;/code&#62;, as there normally is! Huh?!&#60;/p&#62;
&#60;p&#62;When I remove  the new EEPROM library from &#60;code&#62;~/libmaple/Makefile&#60;/code&#62; ...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;# User modules
###USER_MODULES := $(SRCROOT)/libraries/EEPROM &#38;lt;--- commented out

# User modules:
ifneq ($(USER_MODULES),)
LIBMAPLE_MODULES += $(USER_MODULES)
endif&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;... my &#60;code&#62;real-main.cpp&#60;/code&#62; gets compiled again and all is well -- except I don't have my new EEPROM library available, of course.&#60;/p&#62;
&#60;p&#62;- - -&#60;/p&#62;
&#60;p&#62;I've spent well over an hour trying to figure out what I've done wrong. I just can't see it for the looking. :-/&#60;/p&#62;
&#60;p&#62;Any ideas? Thanks!&#60;/p&#62;
&#60;p&#62;P.S: When I aded this same new EEPROM module to the IDE, by placing it in &#60;code&#62;~/Documents/MapleIDE/libraries&#60;/code&#62;, all worked as expected. That is, the Maple IDE compiler worked. But then, it doesn't use a &#60;code&#62;real-main.cpp&#60;/code&#62; anyway. Hmmm. {shrug}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "New independent libmaple fork/project: http://rambutan.cc"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74366#post-105502</link>
			<pubDate>Fri, 05 Sep 2014 23:46:18 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">105502@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello folks!&#60;/p&#62;
&#60;p&#62;I've started sketching out an independent fork/continuation of libmaple and supporting tools, which i'm calling &#34;rambutan&#34;. The premise is to drop all-in-one IDE support and focus on the core C library for peripheral and family completeness within the STM32 M3/M4 line. Being hardware-neutral and making development on custom boards easy is also a priority.&#60;/p&#62;
&#60;p&#62;This isn't an official leaflabs project. I'm also now not a leaflabs employee, just a friend and fellow traveler. But it does have their blessing and may get some patches and support from individual developers in the future.&#60;/p&#62;
&#60;p&#62;The current plan is to do a &#34;v0.1&#34; of librambutan that would largely backwards compatible with libmaple (master branch), including the build system, to make it easier to accept outstanding libmaple ports and patches. &#34;v1.0&#34; development could include refactoring of symbols and filenames, breaking compatibility.&#60;/p&#62;
&#60;p&#62;The project website (&#60;a href=&#34;http://rambutan.cc&#34; rel=&#34;nofollow&#34;&#62;http://rambutan.cc&#60;/a&#62;) links to forums, code, and documentation. There are probably some rough edges. I will be in transit (moving to Seattle! Wo!) for the next two weeks, but will try to keep up with discussion. Tooling, policy, and  documentation will probably take priority over development or merging code until early October.&#60;/p&#62;
&#60;p&#62;Comments, advice, cynicism, and patches are all welcomed! If this was to become the collective continuation of the leaflabs forum community as well i'd be really happy, though that may be presumptuous to propose.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paulj on "newlib and libmaple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74363#post-105474</link>
			<pubDate>Tue, 29 Jul 2014 14:57:55 +0000</pubDate>
			<dc:creator>paulj</dc:creator>
			<guid isPermaLink="false">105474@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am running Gentoo Linux, and I have the arm-none-eabi toolchain already installed. gcc is at version 4.7.2, and newlib at version 2.0.0. When compiling libmaple, I get the following error:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;build/./wirish/syscalls.o: In function

_exit&#38;#39;:
/home/paul/maple/libmaple/./wirish/syscalls.c:60: multiple definition of&#60;/code&#62;&#60;/pre&#62;
_sbrk'&#60;br /&#62;
/usr/lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/libc.a(lib_a-syscalls.o):/var/tmp/portage/cross-arm-none-eabi/newlib-2.0.0/work/newlib-2.0.0/newlib/libc/sys/arm/syscalls.c:482: first defined here&#60;br /&#62;
/usr/lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/libc.a(lib_a-syscalls.o): In function `_sbrk':&#60;br /&#62;
syscalls.c:(.text+0x6a8): undefined reference to `end'&#60;br /&#62;
collect2: error: ld returned 1 exit status&#60;br /&#62;
make: *** [build/maple.elf] Error 1&#60;br /&#62;
`&#60;/p&#62;
&#60;p&#62;This appears to be a clash between the newlib library and the libmaple library.&#60;/p&#62;
&#60;p&#62;So my question is this: what do I need to do to stop the compiler linking to the newlib code (assuming it is not necessary?). I compile following the instructions in the &#34;Command Line Tools&#34; section of the wiki.&#60;/p&#62;
&#60;p&#62;Alternatively, do I have to do something else, such as loading an earlier version of newlib, or compiling it with some options set when making the toolchain?&#60;/p&#62;
&#60;p&#62;Many thanks for your help!&#60;/p&#62;
&#60;p&#62;Rgds.,&#60;br /&#62;
Paul
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Community design - New improved Orone-mini: DIY, USB, power and PCB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74227#post-105128</link>
			<pubDate>Sat, 04 Jan 2014 23:13:43 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105128@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Folks, I've released a new design, &#60;a href=&#34;https://github.com/gbulmer/openstm32hw/tree/master/Orone-mini-v0/Orone-mini-S8J-v0r001&#34;&#62;Orone-mini-S8J&#60;/a&#62; at github.&#60;/p&#62;
&#60;p&#62;It is significantly improved over the earlier Orone-mini-S8H.&#60;/p&#62;
&#60;p&#62;Several people who built the earlier Orone-mini designs fed back on their experiences.  All identified the difficulty of assembling the board using the small NUF2042XV6 USB EMI/ESD. So I have adopted the much larger STF202-22. It is the same part as used on Siy's designs. However, that circuit leaves the USB +5 power line (Vusb) unprotected. So Orone-mini-S8J has a separate discrete Transient Voltage Suppression (TVS) diode protecting the Vusb connection.&#60;/p&#62;
&#60;p&#62;Ventosus ran some &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=10410&#38;amp;page=7#post-25373&#34;&#62;tests to measure the ADC noise performance&#60;/a&#62; of Orone-mini vs Maple. The test results indicated Orone-mini was worse than Maple analogue-power, but better than Maple digital power. As that generation of Orone-mini only connected the digital power supply to av+, and is only a two layer PCB, it was very encouraging.&#60;/p&#62;
&#60;p&#62;I've changed the design, so that Orone-mini-S8J now provides av+ from its analogue-power supply. &#60;/p&#62;
&#60;p&#62;&#60;em&#62;Note: the analogue supply is only useful to provide external power from av+ when Orone-mini is connected to, about, 9V or less. Several Maple-mini's had suffered voltage regulator failure, which was the reason the earlier Orone-mini's had av+ connected to Orone-mini's higher capacity digital power supply.  Just like Maple mini, the small analogue-PSU voltage regulator used for the analogue power supply is limited by its power dissipation. This should not effect Orone-mini when it's run from 5V, by powering it over USB&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;The board has been extensively reworked to improve the integrity of the ground plane and power distribution (i.e. fewer big holes :-). &#60;/p&#62;
&#60;p&#62;&#60;em&#62;Note:&#60;/em&#62;These changes necessitated changes to the pin-out of the extra signals and voltages that Orone-mini provides, but which are not available on Maple-mini. Hence Orone-mini-S8J is not pin identical to Orone-mini-S8H. However Orone-mini-S8J is pin identical to Maple-mini.&#60;/p&#62;
&#60;p&#62;The silk screen has been slightly updated to highlight the Serial Wire Debug (SWD) pins, making it easier to use with a JTAG-SWD debugger, for example an ST-Link/V2 or the even lower cost ST-Link/V2 on STM32FxDiscovery boards (under $10). These debuggers support hardware break-points, data watch points, single-stepping, etc. using gdb.&#60;/p&#62;
&#60;p&#62;Orone-mini is fully pin-compatible, and software compatible with Maple-mini if you assemble it with an STM32F103CB.&#60;/p&#62;
&#60;p&#62;Orone-mini can also be assembled using an STM32F303CC, doubling its Flash, and more than doubling SRAM, It could be used with Ventosus' initiated libmaple port for STM32F303. This would have similar performance to an Arduino Due for a similar cost to an eBay clone of an Arduino UNO.&#60;/p&#62;
&#60;p&#62;An STM32F303Cx has more, and better peripherals than an STM32F103CB.&#60;br /&#62;
For example:&#60;br /&#62;
- 4 ADCs vs 2 ADCs, and ADC's are 5msps vs 1Msps (potentially 20Msps vs 2Msps)&#60;br /&#62;
- Dual DAC vs none&#60;br /&#62;
- 3 SPI vs 2&#60;br /&#62;
- 2 advanced timers vs 1 (useful for e.g. brushless motor control)&#60;br /&#62;
- 2 I2S vs none&#60;br /&#62;
- 17 channel capacitive touch sensing vs none&#60;br /&#62;
- 7 analogue comparators vs none&#60;br /&#62;
- 4 programmable gain op amps vs none&#60;br /&#62;
etc.&#60;/p&#62;
&#60;p&#62;AFAIK, an STM32F303 has some much better peripherals than an Arduino Due's SAM3X8E, for example better ADC and analogue signal processing. Further, STM2F303 has 5V tolerant pins, though Due's SAM3X8E has more I/O.&#60;/p&#62;
&#60;p&#62;Orone-mini-S8J retains Orone-mini's benefits, described at github.&#60;/p&#62;
&#60;p&#62;Summary of changes:&#60;br /&#62;
- Larger, easier to assemble USB circuit, without sacrificing any ESD protection&#60;br /&#62;
- av+ from analogue power supply (aim is less electrical noise, and better ADC)&#60;br /&#62;
- reworked ground plane and crystal oscillator for better ground and lower noise&#60;/p&#62;
&#60;p&#62;This is an initial release; I have not yet updated the Bill of Materials. Please feedback any comments on this thread.&#60;/p&#62;
&#60;p&#62;Please do not use the design yet. It is not adequately quality assured.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>camguy on "STM32F429 EvoPrimer Features DMA2D Graphics Accelerator"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74051#post-104768</link>
			<pubDate>Sat, 12 Oct 2013 07:46:13 +0000</pubDate>
			<dc:creator>camguy</dc:creator>
			<guid isPermaLink="false">104768@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi All,&#60;br /&#62;
  Just FYI... there's a new &#60;strong&#62;STM32F429 EvoPrimer&#60;/strong&#62; development board available now.&#60;/p&#62;
&#60;p&#62;The demo application features what ST call the &#60;strong&#62; Chrom-ART Graphics Accelerator &#60;/strong&#62; a &#60;strong&#62;DMA2D&#60;/strong&#62; implementation for accelerated graphics handling. It facilitates bitmap encoding/decoding, management of multiple objects on the display, layering of objects and blending to include management of transparency.&#60;/p&#62;
&#60;p&#62;There's a video of the demo on YouTube:&#60;br /&#62;
&#60;a href&#62;http://www.youtube.com/watch?v=TJWeVvicvZk&#38;amp;hd=1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;And the sample apps are available at stm32circle.com (Direct link: &#60;a href&#62;http://www.stm32circle.com/resources/stm3242Iprimer.php&#60;/a&#62;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anthrolume on "HOWTO: drive WS2812 controller-on-LED strips"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74191#post-105034</link>
			<pubDate>Sat, 07 Dec 2013 21:22:26 +0000</pubDate>
			<dc:creator>anthrolume</dc:creator>
			<guid isPermaLink="false">105034@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi gang,&#60;/p&#62;
&#60;p&#62;I just did some work getting a Maple Mini to drive a strip of 120 WS28128-based LEDs and I thought I'd share the core code because it was pretty tedious.&#60;/p&#62;
&#60;p&#62;I looked at some code provided by Adafruit to come up with this implementation, including borrowing an inline-assembly delay function from them. The delay values were determined empirically using time cursors on a storage oscilloscope.&#60;/p&#62;
&#60;p&#62;This code uses three loops because I keep my frame buffers in RGB byte order, and the WS2812 wants data in GRB order. This method is part of one of my classes. The only external thing you'll need is a constant called kNumLEDs that says how many RGB-tuples are pointed to by the rgb argument (i.e. rgb is a pointer to an array of kNumLEDs * 3 bytes).&#60;/p&#62;
&#60;p&#62;Hope this helps someone out.&#60;/p&#62;
&#60;p&#62;-Bryan&#60;br /&#62;
&#60;a href=&#34;http://anthrolume.com&#34; rel=&#34;nofollow&#34;&#62;http://anthrolume.com&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// These values were determined empirically
#define	kSpinCountZeroBitHigh 4   // these give 330ns high and 800ns low
#define	kSpinCountZeroBitLow	9
#define	kSpinCountOneBitHigh	9   // these give 750 high and 360 low
#define	kSpinCountOneBitLow 	4

// WS2812 chip - NeoPixel, etc.
void Strand::_present(byte* rgb /* = NULL */)
{
  if (rgb == NULL) rgb = getWriteBuffer();

  // Be sure we leave 50+ microseconds for data latch
  while((micros() - _endTime) &#38;lt; 50L);

  volatile uint32 *setResetRegister = &#38;amp;(PIN_MAP[_pin].gpio_device-&#38;gt;regs-&#38;gt;BSRR);
  uint32 highValue = (1 &#38;lt;&#38;lt; PIN_MAP[_pin].gpio_bit);
  uint32 lowValue = (1 &#38;lt;&#38;lt; PIN_MAP[_pin].gpio_bit + 16);
  byte *end = rgb + 3 * kNumLEDs;
  byte r, g, b, mask;

  // Turn off interrupts until we&#38;#39;re done with our loop
  noInterrupts();

  while (rgb &#38;lt; end)
  {
    byte r = *rgb++;
    byte g = *rgb++;
    byte b = *rgb++;

    // Our frame buffers are RGB, but WS2812s want colors in GRB order, so we
    // do that reording here.

    // Emit green
    for (mask = 0x80; mask; mask &#38;gt;&#38;gt;= 1)
    {
      *setResetRegister = highValue;
      if (g &#38;amp; mask)
      {
        spinDelay(kSpinCountOneBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountOneBitLow);
      }
      else
      {
        spinDelay(kSpinCountZeroBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountZeroBitLow);
      }
    }

    // Emit red
    for (mask = 0x80; mask; mask &#38;gt;&#38;gt;= 1)
    {
      *setResetRegister = highValue;
      if (r &#38;amp; mask)
      {
        spinDelay(kSpinCountOneBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountOneBitLow);
      }
      else
      {
        spinDelay(kSpinCountZeroBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountZeroBitLow);
      }
    }

    // Emit blue
    for (mask = 0x80; mask; mask &#38;gt;&#38;gt;= 1)
    {
      *setResetRegister = highValue;
      if (b &#38;amp; mask)
      {
        spinDelay(kSpinCountOneBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountOneBitLow);
      }
      else
      {
        spinDelay(kSpinCountZeroBitHigh);
        *setResetRegister = lowValue;
        spinDelay(kSpinCountZeroBitLow);
      }
    }
  }

  interrupts();
  _endTime = micros();
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>breadbread1984 on "cant run freertos demo"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74266#post-105199</link>
			<pubDate>Mon, 27 Jan 2014 07:25:09 +0000</pubDate>
			<dc:creator>breadbread1984</dc:creator>
			<guid isPermaLink="false">105199@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I try to run a freertos demo on maple. After I upload the firmware, the /dev/ttyACM0 disappear as soon as the maple completes booting. I think there should be some problem with the firmware. There is the source of the firmware. Could someone find the problem of the source for me. thanks in advance.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;wirish.h&#38;quot;
#include &#38;quot;FreeRTOS.h&#38;quot;
#include &#38;quot;task.h&#38;quot;

#define PWM_PIN 2

void setup()
{
    /* Set up the LED to blink  */
    pinMode(BOARD_LED_PIN, OUTPUT);

    /* Turn on PWM on pin PWM_PIN */
    pinMode(PWM_PIN, PWM);
    pwmWrite(PWM_PIN, 0x8000);

    /* Send a message out USART2  */
    Serial2.begin(9600);
}

/*  Multi-task example */

void vTaskCodePing( void * pvParameters )
{
	while(1) {
		SerialUSB.print(&#38;quot;Ping\n&#38;quot;);
		delay(900);
	}
}

void vTaskCodePang( void * pvParameters )
{
	while(1) {
		SerialUSB.print(&#38;quot;PANG\n&#38;quot;);
		delay(900);
	}
}

#define STACK_SIZE 200
/* Please Do Not Remove &#38;amp; Edit Following Code */
int main(void) {

    setup();

	/* Create two tasks Ping and Pang */
	xTaskCreate(vTaskCodePing, (const signed char*)&#38;quot;Ping&#38;quot;, STACK_SIZE, NULL, 1, NULL);
	xTaskCreate(vTaskCodePang, (const signed char*)&#38;quot;Pang&#38;quot;, STACK_SIZE, NULL, 1, NULL);

	vTaskStartScheduler();

    return 0;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>cbrunschen on "ARMstrap - &#34;ARMing the Next-Generation Engineer&#34;"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74053#post-104780</link>
			<pubDate>Mon, 14 Oct 2013 12:22:01 +0000</pubDate>
			<dc:creator>cbrunschen</dc:creator>
			<guid isPermaLink="false">104780@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I came across this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://armstrap.org/&#34; rel=&#34;nofollow&#34;&#62;http://armstrap.org/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.adafruit.com/blog/2013/10/14/armstrap-arming-the-next-generation-engineer/&#34; rel=&#34;nofollow&#34;&#62;http://www.adafruit.com/blog/2013/10/14/armstrap-arming-the-next-generation-engineer/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;// Christian
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Smallest USB serial code?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74185#post-105018</link>
			<pubDate>Fri, 06 Dec 2013 17:42:14 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105018@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I want to make a little gizmo, with no more than a couple of KBytes of specific code. I'd like it to be a USB serial device.&#60;br /&#62;
I'd like to squish everything into the lowest-cost 16 kB Flash STM32F103.&#60;/p&#62;
&#60;p&#62;Has anyone experience with, or done any experiments to find the smallest practical size for USB serial device code on an STM32F103?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Where can I get my hands on a Maple Native?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74067#post-</link>
			<pubDate>Thu, 21 Jan 2016 19:01:16 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">@http://forums.leaflabs.com/</guid>
			<description></description>
		</item>
		<item>
			<title>BlackBelt2025 on "Where can I get my hands on a Maple Native?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74067#post-104796</link>
			<pubDate>Sat, 19 Oct 2013 21:35:18 +0000</pubDate>
			<dc:creator>BlackBelt2025</dc:creator>
			<guid isPermaLink="false">104796@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am working on a research project where we are using a Maple-powered embedded system.  However, we have an issue where the Maple does not have DAC.  I did notice that the Maple Native does have its own DAC, which would be very valuable to this project?&#60;/p&#62;
&#60;p&#62;Is there any way I can get my hands on a Maple Native?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
