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

Compilation in Arduino 1.6.0? #5

Open
CanisLatrans opened this issue Feb 13, 2015 · 1 comment
Open

Compilation in Arduino 1.6.0? #5

CanisLatrans opened this issue Feb 13, 2015 · 1 comment

Comments

@CanisLatrans
Copy link

Any chance that you can get the code to compile in the new 1.6.0 environment?
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"

D:\Arduino\libraries\RBL_nRF8001\RBL_nRF8001.cpp:25:23: error: setup_msgs causes a section type conflict with __c
static hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM = SETUP_MESSAGES_CONTENT;

                   ^

In file included from D:\Arduino\libraries\BLE/hal_platform.h:32:0,
from D:\Arduino\libraries\BLE/lib_aci.h:34,
from D:\Arduino\libraries\RBL_nRF8001\RBL_nRF8001.h:17,
from D:\Arduino\libraries\RBL_nRF8001\RBL_nRF8001.cpp:14:
D:\Arduino\hardware\arduino\avr\cores\arduino/WString.h:38:74: note: '__c' was declared here
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
^
D:\Arduino\libraries\RBL_nRF8001\RBL_nRF8001.cpp:388:32: note: in expansion of macro 'F'
Serial.println(F("Advertising started"));

                            ^

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

@webventil
Copy link

This fork provides a fix for it: https://github.com/sandeepmistry/nRF8001 (#6)

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