<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7674/arduino-zero-pro-porting-the-library</link><description>Hi guys,
I have to port the current library that is working at the arduino uno for arduino zero pro but when I change the board type I get the following errors: 
 __file__.ino:39:69: note: in expansion of macro &amp;#39;SETUP_MESSAGES_CONTENT&amp;#39;
__file__.h:512</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jun 2015 13:16:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7674/arduino-zero-pro-porting-the-library" /><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27351?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 13:16:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f11f39d1-2021-42a2-9914-a3c1b052ec42</guid><dc:creator>mitko</dc:creator><description>&lt;p&gt;Arduino.org&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27350?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 12:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ceb797a-43b4-4f97-b725-e513c945d0ac</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Where do I get IDE version 1.7.3 , it says you need 1.6.5 or later to program the Arduino Zero.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27349?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 12:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a9c7ca7-14f7-4ee0-9de8-d79092972f6e</guid><dc:creator>mitko</dc:creator><description>&lt;p&gt;That name is to hide sensitive information if any exists.
I am using Arduino IDE 1.7.3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27348?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 12:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa31dbc3-2f66-4751-a15a-c2628386cc24</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Which version of the Arduino IDE are you working on ?
The IDE looks a bit broken as it is not expanding the &lt;strong&gt;FILE&lt;/strong&gt; , so perhaps you need to switch to an later version ?&lt;/p&gt;
&lt;p&gt;Let me know how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27347?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 11:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd8f4d8-d9af-4797-b234-7d8c4823839f</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The nRF8001 SDK for Arduino already supports ChipKIT, look at the #defines for ChipKIT in the SDK to see the methods that needed changes. Most changes are in the platform.h under the &lt;strong&gt;PIC32MX&lt;/strong&gt; definition.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27346?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 08:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f20a6d-4c35-4759-a260-a3f809a5b264</guid><dc:creator>mitko</dc:creator><description>&lt;p&gt;Can you please provide me a link to that library ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27345?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 08:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf80d18-33a1-4c37-9f11-75d47bec2c7b</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;avr/sleep.h is specific to the AVR and can be just be removed. The ChipKIT version of the port already does that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27344?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2015 07:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4867a25a-18f0-4933-9e91-d73eea51185e</guid><dc:creator>mitko</dc:creator><description>&lt;p&gt;Thanks for your comment.
I actually found a arm port already of this library -&amp;gt; &lt;a href="https://github.com/tato123/nrf8001_arm_support"&gt;github.com/.../nrf8001_arm_support&lt;/a&gt;
My probleem is that I am using arduino zero(ATSAMD21G18) and when I try to compile with it I get fatal error: avr/sleep.h: No such file or directory I double checked and that file is missing from the arduino enviroment or it&amp;#39;s not needed for it.
Also that error is comming from hal_aci_tl.cpp,can you please check it and advise me how to proceede.&lt;/p&gt;
&lt;p&gt;Regards,
Mitko&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Arduino Zero Pro porting the library</title><link>https://devzone.nordicsemi.com/thread/27343?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2015 11:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a54bb72-1b74-4b7b-91e5-75586a76f50b</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;If you are using the nRF8001 Arduino library, the Arduinos that are AVR based are low on RAM so the setup for the nRF8001 is stored in flash, this is done using the PROGMEM directive to place the nRF8001 Setup to RAM.&lt;/p&gt;
&lt;p&gt;The Arduino Zero should have more RAM so it should be possible to just remove the PROGMEM and just place the Setup data in the RAM and not in the flash.&lt;/p&gt;
&lt;p&gt;Let me know how this goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>