Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compiling for Feather M0+ #5

Closed
RadJaz opened this issue Feb 11, 2016 · 2 comments
Closed

Not compiling for Feather M0+ #5

RadJaz opened this issue Feb 11, 2016 · 2 comments

Comments

@RadJaz
Copy link

RadJaz commented Feb 11, 2016

When trying to compile for the Feather M0+ using the Arduino IDE, I get an error message:

Warning: platform.txt from core 'Adafruit SAMD Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core. /home/jaz/Arduino/libraries/Adafruit_SHARP_Memory_Display/Adafruit_SharpMem.cpp: In constructor 'Adafruit_SharpMem::Adafruit_SharpMem(uint8_t, uint8_t, uint8_t)': /home/jaz/Arduino/libraries/Adafruit_SHARP_Memory_Display/Adafruit_SharpMem.cpp:64:15: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment clkport = portOutputRegister(digitalPinToPort(_clk)); ^ /home/jaz/Arduino/libraries/Adafruit_SHARP_Memory_Display/Adafruit_SharpMem.cpp:66:15: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment dataport = portOutputRegister(digitalPinToPort(_mosi)); ^ exit status 1 Error compiling.

I'd assume these lines that are inducing the error are some AVR specific stuff. I'm not sure though because I've had this library compile on a Teensy 3.2.

@RadJaz
Copy link
Author

RadJaz commented Mar 5, 2016

Pull request #6 fixes this issue and #7 is a fork of that that also includes color depth functionality.

@ladyada
Copy link
Member

ladyada commented May 15, 2017

try now should be fixed! with latest commit!

@ladyada ladyada closed this as completed May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants