![]() It seems like it is tracking a problem down to Printable.h, or stdlib.h ,… but here I cannot change anything. h is the Library they provide together with the demo sketch. The Arduino IDE gives me this message when I try to compile: In file included from c:\program files (x86)\arduino\hardware\tools\g _arm_none_eabi\bin\./lib/gcc/arm-none-eabi/4.4.1/././././arm-none-eabi/include/stdlib.h:21,įrom C:\Users\Pieter\Documents\Arduino\libraries\IOSControllerWiFi_PiR\/IOSControllerWiFi_PiR.h:33,Ĭ:\program files (x86)\arduino\hardware\tools\g _arm_none_eabi\bin\./lib/gcc/arm-none-eabi/4.4.1/././././arm-none-eabi/include/sys/reent.h:490: error: #if with no expression I have been trying some things, but at the end I did not find a solution. I changed this to noInterrupts() and interrupts() and the problem was gone. Next problem → cli() and sei() functions were used. I am not sure why the compiler from the UNO is able to use it, and the DUE’s compiler isn’t. Here I commented out everything what was using these functions. Next problem: it was using the functions “ltoa()” and “itoa()”. Ok, so the EEPROM which is not available on the DUE I fixed with commenting out everything which had to do with the “Alarm”-widget which is running on the App. Here an update trying to port the library from this App so it is compatible with the DUE: I suppose this is an include which only works for the AVR Arduino boards? Is here an easy fix to transform this library for the DUE processor? Can somebody help me crack the problem? What I saw is the following include: #include In attachment you can find the library for the Arduino Manager. In file included from c:\program files (x86)\arduino\hardware\tools\g _arm_none_eabi\bin…/lib/gcc/arm-none-eabi/4.4.1/…/…/…/…/arm-none-eabi/include/stdlib.h:21,įrom C:\Program Files (x86)\Arduino\hardware\arduino\sam\cores\arduino/Printable.h:23,įrom C:\Program Files (x86)\Arduino\hardware\arduino\sam\cores\arduino/IPAddress.h:29,įrom C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:11,įrom C:\Users\Pieter\Documents\Arduino\libraries\IOSControllerWiFi_PiR/IOSControllerWiFi_PiR.h:33,įrom C:\Users\Pieter\Documents\Arduino\libraries\IOSControllerWiFi_PiR\IOSControllerWiFi_PiR.cpp:23:Ĭ:\program files (x86)\arduino\hardware\tools\g _arm_none_eabi\bin…/lib/gcc/arm-none-eabi/4.4.1/…/…/…/…/arm-none-eabi/include/sys/reent.h:490: error: #if with no expressionĬ:\Users\Pieter\Documents\Arduino\libraries\IOSControllerWiFi_PiR\IOSControllerWiFi_PiR.cpp:24: fatal error: avr/eeprom.h: No such file or directory After installing the shield on the DUE and trying to compile it I got the following error:Īrduino: 1.5.5-r2 ( Windows 8 ), Board: “Arduino Due (Programming Port)” ![]() Now the next step for me is to try this on my Arduino DUE, here also using the Arduino WiFi shield. The result from this is that the data I am sending to the App is not updating continuously. I have put some counters in my code for debugging, and every second the UNO stops running for a short instance. But from the moment I connect my smartphone to the UNO the UNO is not running smoothly. I tried it with my UNO, and after commenting out some code because the memory from the UNO was too small for the ArduinoManager-Library, it was working. ![]() I have an Arduino WiFi Shield to connect the Arduino board with my Smartphone. Yesterday I downloaded the Android App “Arduino Manager” ( Arduino Manager - Laura Villani).
0 Comments
Leave a Reply. |