lazybean / ardrone-tool Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ardrone-tool
Automatically exported from code.google.com/p/ardrone-tool
quick note - trying to install usb_flash i had to install sudo apt-get install
libusb-dev
and not libusb-1.2.2.0 to get to compile - works....
OS: Ubuntu x64 12.04 kernel 3.2.2, gcc 4.4, make 3.2
Original issue reported on code.google.com by [email protected]
on 10 Sep 2012 at 11:33
gcc -std=gnu99 -O2 -Wall -Werror -I../libplf -ggdb -o plftool.o -c plftool.c
plftool.c: In function ‘write_file’:
plftool.c:149:13: error: variable ‘retval’ set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
gcc -std=gnu99 -O2 -Wall -Werror -I../libplf -ggdb -o ini.o ini.c
ini.c: In function ‘ini_open’:
ini.c:55:12: error: variable ‘read_bytes’ set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Patch attached
Original issue reported on code.google.com by [email protected]
on 30 Jan 2012 at 1:44
Attachments:
What steps will reproduce the problem?
1. plftool --replace=kernel.plf --section=3 -ofirmware_new.plf
-ifirmware_old.plf
2. Check file header
What is the expected output? What do you see instead?
header.filesize should be == total size (bytes) of file
Original issue reported on code.google.com by [email protected]
on 21 Feb 2011 at 11:10
1. svn checkout libpdf
2. cd libplf
3. make
this results in:
alex@portable-alex:~/tmp/ArDrone/libplf$ make
gcc -std=gnu99 -O2 -Wall -Werror -MM plf.c > plf.dep
gcc -std=gnu99 -O2 -Wall -Werror -o plf.o -c plf.c
gcc -std=gnu99 -O2 -Wall -Werror -MM crc32.c > crc32.dep
gcc -std=gnu99 -O2 -Wall -Werror -o crc32.o -c crc32.c
gcc -std=gnu99 -O2 -Wall -Werror -MM gzip.c > gzip.dep
gcc -std=gnu99 -O2 -Wall -Werror -o gzip.o -c gzip.c
gcc -shared -o libplf.so plf.o crc32.o gzip.o -lz
/usr/bin/ld: plf.o: relocation R_X86_64_32 against `.rodata' can not be used
when making a shared object; recompile with -fPIC
plf.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libplf.so] Erreur 1
Attached is a trivial patch solving the issue.
Original issue reported on code.google.com by [email protected]
on 19 Jan 2011 at 11:09
Attachments:
good day
Writing you here to ask for little help ( don't know how to contact with you in
other way). Recently i try to adopt plf extractor for Parrots Bluetooth kit.
Looks like they have similar structure with some minor changes. Only one
problem that i have - is CRC.
I don't know with which range of data i should calculate for it. Below i added
image with cut of file from original Firmware, also attached that binary file.
Could you point me the range of bytes to obtain CRC ?
p/s/ sorry that using not suitable page for that query.
Thank you.
Original issue reported on code.google.com by [email protected]
on 18 Aug 2013 at 8:00
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.