32-bit mpide.app libraries path

edited January 2015 in Software
Hi,
I am trying to upload firmware using your instructions for the 32bit board and run into a pathing error when trying to find  the "OpenBCI_32.h" file.  Then, in an effort to guess where mpide is expecting this path be, I move all the

Definitions_32.h
OpenBCI_32.cpp
OpenBCI_32.h

files over to the same place as the two running .pde files at

/Users/cere/Documents/mpide/OpenBCI_32bit_SD/.

That seems to move things forward a tad but then, after pressing upload, I encounter this error:
In file included from /Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/utility/Sd2Card.h:26:0,
                 from /Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/utility/SdFat.h:26,
                 from /Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/SD.h:20,
                 from OpenBCI_32bit_SD.cpp:37:
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/utility/Sd2PinMap.h:165:6: error: #error Boards with PPS must be specifically defined
OpenBCI_32bit_SD.cpp:530:29: error: no matching function for call to 'Sd2Card::Sd2Card(DSPI0*, int)'
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/utility/Sd2Card.h:157:3: note: candidates are: Sd2Card::Sd2Card()
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/SD/utility/Sd2Card.h:154:15: note:                 Sd2Card::Sd2Card(const Sd2Card&)

Argh!
According to the instructions, I am supposed to put these folders that contain these files in ~/Documents/Arduino/Libraries path, but it doesn't seem recognize them in that location.

Thanks,
Cere

Comments

  • Update:

    After just copying over the folders SD and OpenBCI_32 directly into the mpide library folder at: /Applications/mpide.app/Contents/Resources/Java/hardware/pic32/libraries
    and allowing the SD folder to clobber the original SD folder that already existed under that tree; then after restarting mpide.app, I was able to upload successfully.

    Now, on to see if my board still works ;)

    -Cere
Sign In or Register to comment.