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

patch to prevent compilation error, examples now compile using arduioo 1... #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samthetechie
Copy link

...:1.0.5+dfsg2-2 (which is the version in the ubuntu and debian repositories).

Note: this bug has already been documented in various places:

find . -name ".ino" -print | xargs subl
find . -name "
.cpp" -print | xargs subl

find:
static hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM

replace:
static const hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM

find:
aci_state.aci_setup_info.setup_msgs = setup_msgs;

replace:
aci_state.aci_setup_info.setup_msgs = (hal_aci_data_t*)setup_msgs;

…o 1:1.0.5+dfsg2-2 (which is the version in the ubuntu and debian repositories).

Note: this bug has already been documented in various places:
* RedBearLab/BLEShield#5
* https://redbearlab.zendesk.com/entries/23440476-Getting-Started
* http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=38003

find . -name "*.ino" -print | xargs subl
find . -name "*.cpp" -print | xargs subl

find:
static hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM

replace:
static const hal_aci_data_t setup_msgs[NB_SETUP_MESSAGES] PROGMEM

find:
aci_state.aci_setup_info.setup_msgs = setup_msgs;

replace:
aci_state.aci_setup_info.setup_msgs = (hal_aci_data_t*)setup_msgs;
@RedBearLab
Copy link
Collaborator

Hi @samthetechie,

Thanks, but this doesn't work on Mac OSX with Arduino IDE 1.0.5

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

Successfully merging this pull request may close these issues.

5 participants