NordicSemiconductor / Nordic-Thingy52-FW

Nordic Thingy:52 software development kit. This kit is designed to assist users in developing their own custom firmware for Thingy. Please see http://www.nordicsemi.com/thingy for the latest news and software releases.
Other
210 stars 133 forks source link

Linux install: incorrect installation instructions for armgcc invensense library #5

Closed pabigot closed 7 years ago

pabigot commented 7 years ago

For gcc users README.md instructs:

Finally, unzip \motion_driver_6.12\mpl libraries\arm\gcc4.9.3\liblibmplmpu_m4_hardfp.zip and copy the newly created folder liblibmplmpu_m4_hardfp to <your Thingy folder>/libs.

This is incorrect: the supplied liblibmplmpu_m4_hardfp.zip doesn't wrap the library in a directory (folder) (at least not with the version I downloaded this morning). The commands that worked for me are:

cd /path/to/Nordic-Thingy52-FW
cd libs
unzip '/tmp/motion_driver_6.12/mpl libraries/arm/gcc4.9.3/liblibmplmpu_m4_hardfp.zip'
mkdir liblibmplmpu_m4_hardfp
mv liblibmplmpu.a liblibmplmpu_m4_hardfp
koffes commented 7 years ago

Thank you very much for the feedback. We retraced these steps in README.md. You are right, some unzip tools wrap the libraries in a folder and some don't. We will update the description.