MultiWii 2.2 Compiling errors

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
teddybear3238
Posts: 3
Joined: Mon Apr 22, 2013 9:42 pm

MultiWii 2.2 Compiling errors

Post by teddybear3238 »

Hello all!
I am having issues getting the 2.2 code to compile properly. I keep getting errors:

Code: Select all







MultiWii.ino: In function 'void setup()':
MultiWii:716: error: 'readEEPROM' was not declared in this scope
MultiWii:718: error: 'readGlobalSet' was not declared in this scope
MultiWii:720: error: 'blinkLED' was not declared in this scope
MultiWii.ino: In function 'void go_arm()':
MultiWii:826: error: 'blinkLED' was not declared in this scope
MultiWii.ino: In function 'void loop()':
MultiWii:1015: error: 'writeParams' was not declared in this scope
Sensors.ino: In function 'void GYRO_Common()':
Sensors:303: error: 'blinkLED' was not declared in this scope
Sensors.ino: In function 'void ACC_Common()':
Sensors:375: error: 'writeGlobalSet' was not declared in this scope
Sensors.ino: In function 'uint8_t Mag_getADC()':
Sensors:1092: error: 'writeGlobalSet' was not declared in this scope
Serial.ino: In function 'void evaluateCommand()':
Serial:491: error: 'LoadDefaults' was not declared in this scope
Serial:509: error: 'writeParams' was not declared in this scope


Ive configured all that I think i need to in the config.h so im struggling to find out the issue.

Also i seem to be having an issue where the Pitch and Roll commands are not being sent to the motors. in the GUI it shows that the values are being recieved but for the motor values they do not move for pitch and roll, only throttle and yaw work.

teddybear3238
Posts: 3
Joined: Mon Apr 22, 2013 9:42 pm

Re: MultiWii 2.2 Compiling errors

Post by teddybear3238 »

Any ideas? or am I just missing parts in the config.h file?

TextZombie
Posts: 24
Joined: Mon Nov 14, 2011 2:05 pm
Location: Sheffield, UK
Contact:

Re: MultiWii 2.2 Compiling errors

Post by TextZombie »

The only time I've seen these kind of errors is if I've got the wrong board selected in the the Tools | Board menu. Might be worth a look?
If not maybe try a fresh install of the Arduino IDE

P

teddybear3238
Posts: 3
Joined: Mon Apr 22, 2013 9:42 pm

Re: MultiWii 2.2 Compiling errors

Post by teddybear3238 »

This is just during compiling, i cant even get it to upload to the board

TextZombie
Posts: 24
Joined: Mon Nov 14, 2011 2:05 pm
Location: Sheffield, UK
Contact:

Re: MultiWii 2.2 Compiling errors

Post by TextZombie »

Compilation relies on having the correct board selected. For example you can't compile code that writes to eeprom if you have a board selected that doesn't have eeprom, you get errors similar to the ones you are describing.

P

ardot
Posts: 4
Joined: Fri Oct 11, 2013 3:41 am

Re: MultiWii 2.2 Compiling errors

Post by ardot »

Any follow up on this? I am facing the same issue, which is strange because just moments ago everything was compiling just fine!

odem
Posts: 14
Joined: Wed Sep 11, 2013 2:07 pm

Re: MultiWii 2.2 Compiling errors

Post by odem »

Had the same issue once, was pulling my hair out until I found that I was missing the hash (#) in front of the define statement for the board type.

Check your board type. Maybe replace the entire config.h with a fresh one just to be sure.

scrat
Posts: 925
Joined: Mon Oct 15, 2012 9:47 am
Location: Slovenia

Re: MultiWii 2.2 Compiling errors

Post by scrat »

Did you do eeprom_clear in Arduino software? File/Examples/EEPROM/eeprom_clear

Post Reply