udooboard / arduino-board-package Goto Github PK
View Code? Open in Web Editor NEWUDOO Boards Packages for Arduino IDE
License: GNU General Public License v2.0
UDOO Boards Packages for Arduino IDE
License: GNU General Public License v2.0
The (precompiled) fade example on the web-conf is working but when compiled from Arduino IDE on the Neo itself and web IDE it does not work. Tested with RC2 (and apparently also not working on RC1). Pinmode was out-commented.
See for more information the forum: http://www.udoo.org/forum/threads/fade-example-not-working-in-m4.3917/
Hello,
I'm new here, and also not totally sure I'm understanding the error I'm getting. But I think I found a bug in the Udoo arduino-board-package.
The macro at line 105 in
https://github.com/UDOOboard/arduino-board-package/blob/boardmanager/udoo/sam/cores/arduino/avr/pgmspace.h
seems to have something wrong with it. It's causing Paul Stoffgren's Time library to not compile.
I found another bug report here
adafruit/Adafruit_nRF52_Arduino#502
that gave me a better idea of what the error output means.
Below is the error I'm getting when I try to compile a sketch when I include <TimeLib.h>
In file included from /home/davidian/.arduino15/packages/UDOO/hardware/sam/1.6.7/cores/arduino/Arduino.h:31:0,
from /home/davidian/Arduino/libraries/Time/DateStrings.cpp:12:
/home/davidian/Arduino/libraries/Time/DateStrings.cpp: In function 'char* monthStr(uint8_t)':
/home/davidian/.arduino15/packages/UDOO/hardware/sam/1.6.7/cores/arduino/avr/pgmspace.h:105:49: error: 'const void*' is not a pointer-to-object type
#define pgm_read_ptr(addr) ((const void )(addr))
^
/home/davidian/.arduino15/packages/UDOO/hardware/sam/1.6.7/cores/arduino/avr/pgmspace.h:63:45: note: in definition of macro 'strcpy_P'
#define strcpy_P(dest, src) strcpy((dest), (src))
^
/home/davidian/Arduino/libraries/Time/DateStrings.cpp:72:29: note: in expansion of macro 'pgm_read_ptr'
strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(monthNames_P[month])));
^
/home/davidian/Arduino/libraries/Time/DateStrings.cpp: In function 'char dayStr(uint8_t)':
/home/davidian/.arduino15/packages/UDOO/hardware/sam/1.6.7/cores/arduino/avr/pgmspace.h:105:49: error: 'const void' is not a pointer-to-object type
#define pgm_read_ptr(addr) (*(const void *)(addr))
^
/home/davidian/.arduino15/packages/UDOO/hardware/sam/1.6.7/cores/arduino/avr/pgmspace.h:63:45: note: in definition of macro 'strcpy_P'
#define strcpy_P(dest, src) strcpy((dest), (src))
^
/home/davidian/Arduino/libraries/Time/DateStrings.cpp:86:28: note: in expansion of macro 'pgm_read_ptr'
strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(dayNames_P[day])));
^
exit status 1
Error compiling for board UDOO QDL (Arduino Due).
Like describe here when we want to use CAN on A9 side if there is a scketch on M4 , CAN is not working ... This needs to disable M4 processor ... Suppose need to disable ECSPI5 by default in M4 core.
Is there a workaround to use SPI in its up to date version? Apparently the interface changed and so all depending libraries will not work with the older outdated SPI interface.
If I compile a previously working sketch from a few years ago, the updated libraries will not work anymore because the interface changed.
Do I need to downgrade all used libraries or is there any update available?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.