Skip to content

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

Open
samthetechie wants to merge 1 commit intoRedBearLab:masterfrom
opendroplet:master
Open

patch to prevent compilation error, examples now compile using arduioo 1...#2
samthetechie wants to merge 1 commit intoRedBearLab:masterfrom
opendroplet:master

Conversation

@samthetechie
Copy link
Copy Markdown

...: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
Copy Markdown
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