Commit Graph

9463 Commits

Author SHA1 Message Date
Stephen Dwyer e06a57717a [makefile] on os x the default mktemp doesn't behave the same (older version), need to use gmktemp from the coreutils macport 2013-03-26 14:10:16 -06:00
Stephen Dwyer cf14957de8 [sim] need to include path to caml/*.h files for compiling c files on OS X 2013-03-26 14:06:42 -06:00
Stephen Dwyer fc82e6bb15 [joystick] need to statically link on OS X for the SDL joystick functionality unfortunately 2013-03-26 14:03:06 -06:00
Felix Ruess 0f70beafc4 [makefile] libpprz: remove double cmi target 2013-03-21 17:46:53 +01:00
Felix Ruess 77cd732702 [makefile] use mktemp to create unique temp files
This assumes that mktemp is available, but should provide a better solution for issue #229.

Also create a variable holding the tempfile name which is unique to each target.
This should prevent problems with parallel builds, since these variables are global.
2013-03-21 16:46:58 +01:00
Felix Ruess 7325f9fec8 [misc] davis2ivy: suppress unused var warning 2013-03-21 15:16:21 +01:00
Felix Ruess 9d44b45da5 [makefile] rename target lib to libpprz for clarity 2013-03-21 15:11:49 +01:00
Felix Ruess 5e1f491b45 [makefile] no explicit dependencies on libpprz 2013-03-21 15:11:25 +01:00
Felix Ruess 346fc0c416 [makefile] set OCAMLC and OCAMLOPT to use ocamlfind 2013-03-20 00:50:06 +01:00
Felix Ruess 57fdb92921 [makefile] fix ocaml native compilation
there is no -dllpath option for ocamlopt
2013-03-19 15:53:27 +01:00
Felix Ruess bcb56b8ea5 [makefile] ocaml: -threads is sufficient
no need to add the threads package explicitly or add gtkThread.cm[ox]
2013-03-19 15:53:22 +01:00
Felix Ruess 2f2a0fafcd [makefile] add LIBPPRZDIR to OCAMLPATH instead of replace 2013-03-19 14:55:04 +01:00
Gautier Hattenberger 390d02ab49 [makefile] use pprzlib has a proper ocaml package 2013-02-25 09:47:44 +01:00
Felix Ruess e838519192 [makefile] fix realtime plotter: link glibivy instead of ivy in logalizer 2013-02-24 00:52:40 +01:00
Felix Ruess 0912600549 [makefile] improvements to ocaml lib building
- quiet building of glade stuff
- remove some temporary glade files
2013-02-23 12:32:00 +01:00
Felix Ruess bdb608c3ae [makefile] fPIC for sim... 2013-02-23 12:32:00 +01:00
Gautier Hattenberger 847468e6ad [makefile] finaly make tools independant of ivy package 2013-02-23 12:32:00 +01:00
Felix Ruess 388a72a079 [makefile] minor fixes/cleanup for joystick 2013-02-23 12:32:00 +01:00
Felix Ruess 1811919fac [makefile] make joystick compile on 64bit 2013-02-23 12:31:59 +01:00
Felix Ruess 8c7429e555 [makefile] deduplication in mutimon makefile 2013-02-23 12:31:59 +01:00
Gautier Hattenberger 00018d3297 [makefile] seems to work fine now 2013-02-23 12:31:59 +01:00
Gautier Hattenberger d1bae05ca0 [makefile] multimon dll path 2013-02-23 12:31:59 +01:00
Gautier Hattenberger bea674efd3 [makefile] fix multimon makefile 2013-02-23 12:31:59 +01:00
Gautier Hattenberger 737d7d3c8b [makefile] silence clean target and add missing Makefile 2013-02-23 12:31:59 +01:00
Gautier Hattenberger 446231949b [makefile] more makefile cleaning and dynamic loading 2013-02-23 12:31:59 +01:00
Gautier Hattenberger b81ae24917 [makefile] most of the ocaml tools are compiling with shared lib
some issues with mixed static/shared lib
2013-02-23 12:31:59 +01:00
Gautier Hattenberger 69ddd2cabd [makefile] cleaning makefiles from -custom param for ocaml 2013-02-23 12:31:59 +01:00
Felix Ruess cf7121934f verbose option for building ocaml lib 2013-02-23 12:31:59 +01:00
Felix Ruess f662d2e818 [ocaml][tools] don't use custom runtime for ocaml, instead load shared libraries in ocamlrun
since the ivy-ocaml lib currently can't be found with ocamlfind and libpprz is not installed system-wide,
specify the paths directly with -dllpath
2013-02-23 12:31:58 +01:00
Felix Ruess 97389f00a3 [stm32][spi] select slave after configuring clock/phase, etc of peripheral
Also:
- replace tx_length_case by simpler use_dummy_tx_buf
- minor comment cleanup while here...
2013-02-22 00:52:31 +01:00
Felix Ruess eb6bce26b5 [peripherals] hmc58xx: fix typo in comment and make explict separate defines for Y,Z data regs for HMC5843/HMC5883 2013-02-21 13:46:52 +01:00
Felix Ruess a69420d469 [rotorcraft] print info if using FAILSAFE_GROUND_DETECT 2013-02-21 11:00:20 +01:00
Felix Ruess 52ad2ff99c [peripherals] adxl345_spi: set in/out length to fixed 7 again, mixed lenght not working reliably 2013-02-21 01:40:23 +01:00
Felix Ruess dcdff17aab [gps] update doxygen comment 2013-02-20 22:16:40 +01:00
Felix Ruess c3f095f7e7 [modules] minor cleanup of ezcurrent sensor 2013-02-20 20:18:24 +01:00
Gerard Toonstra 1d22dcee5a adjusted scaling of ezcurrent sensor 2013-02-20 19:39:51 +01:00
Gautier Hattenberger 9528a702ee [log/replay] this should allow to replay logs including procedures
fix #227
2013-02-20 18:26:12 +01:00
Gautier Hattenberger 8b9266fb46 [sim] fix symbolic link 2013-02-20 18:25:37 +01:00
Felix Ruess 32ec2b1b2a [conf] pass configured AHRS_x_FREQUENCY on for rotorcrafts as well 2013-02-20 15:22:09 +01:00
Felix Ruess 92e234d8d6 [stm32] update can for latest libopencm3 2013-02-19 21:59:15 +01:00
Felix Ruess 43ca4a4ab9 [sw/ext] only build stm32 targets of libopencm3 2013-02-19 21:59:15 +01:00
Felix Ruess 436ab37122 [sw/ext] update libopencm3 to latest master 2013-02-19 21:59:14 +01:00
Felix Ruess 95ae1375fc [tests] fix test_baro for lisa 2013-02-19 21:59:14 +01:00
Felix Ruess 073929c5b3 [electrical] fix missing defined 2013-02-19 21:59:14 +01:00
Felix Ruess 94eed97a91 [airframes] update imu/ahrs freq conf for aspirin in microjet lisa/m example 2013-02-19 19:31:18 +01:00
Felix Ruess 528b6f40ec [gps] fix skytraq binary parser: correct scaling and signed values, thx for reporting Gerard
while here clean up a little
hopefully finally closes #167
2013-02-18 20:47:31 +01:00
Gautier Hattenberger be67b4e7a7 [AOA] some cleaning of the angle of attack module 2013-02-18 18:54:54 +01:00
Felix Ruess 0da63010b1 [imu] enable sign/sens defaults for aspirin_v2.2 as well 2013-02-18 14:18:33 +01:00
Stephen Dwyer 1a15a4e34c [spi] added comment about buffer length requirements for stm32 2013-02-15 00:00:48 +01:00
Stephen Dwyer 4f9ae2a74b [spi][stm32] added better handling of different length cases between tx and rx buffers, use dummy buffer for tx 0 length transfer, now only need to make sure the tx buffer is at least as long as the rx buffer in the case that 0 < output_length < input_length, other cases should be handled fine regardless of buffer lengths 2013-02-15 00:00:47 +01:00