Commit Graph

81 Commits

Author SHA1 Message Date
Felix Ruess d12572dcdc fix typo 2013-09-13 15:55:10 +02:00
Felix Ruess 06e69bcaea TELEMETRY_FREQUENCY defaults to PERIODIC_FREQUENCY
also default to 60Hz if PERIODIC_FREQUENCY is not configured
2013-09-13 14:37:11 +02:00
Felix Ruess 6ea53c5c15 [tools] generated MODULES_FREQUENCY defaults to PERIODIC_FREQUENCY 2013-09-13 11:28:41 +02:00
Felix Ruess de13525fd3 Merge branch 'ocamlfind_no_custom'
- Use findlib (ocamlfind) for ocaml packages.
- Create META file for pprz ocaml lib.
- Link dynamically instead of statically (no -custom), which also results in faster build times.
- Use mktemp to properly create temporary files.
- More makefile cleanup...

closes #274
2013-03-29 20:18:09 +01:00
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
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 ae48da938d [paparazzicenter] add checkbox to enable PRINT_CONFIG 2013-03-20 19:52:16 +01:00
Felix Ruess de3055e40b [makefile] print paparazzi_version when building sim, remove throwing error on old UART_NR configure 2013-02-28 17:15:44 +01:00
Felix Ruess f90a9b687f [build system] honor TMPDIR environment variable
closes #229
2013-02-08 18:58:59 +01:00
Felix Ruess 2010933572 [build system] removed some more old avr cruft in Makefiles 2013-01-24 23:35:28 +01:00
Gautier Hattenberger 1cde58928b [autopilot] AP is generated when autopilot node exists in airframe 2012-11-14 14:09:32 +01:00
Gautier Hattenberger 6cc88ba260 [autopilot] dig some old code to generate autopilots 2012-11-14 10:55:59 +01:00
Felix Ruess 5a80952830 [build] make difference between telemetry and main periodic freq more clear
define a default TELEMETRY_FREQUENCY of 60Hz _after_ including the generated airframe makefile
2012-11-10 22:49:14 +01:00
Felix Ruess 6037bc93dd [build] cleanup a bit more 2012-11-10 22:46:48 +01:00
Felix Ruess 8bff1b46c9 [build system] clean up makefiles and fix dependencies, parallel build with make -j 8 seems to work now 2012-11-10 19:45:22 +01:00
Felix Ruess 8e1f66d72b [build] mark some targets as phony 2012-09-29 13:45:22 +02:00
Felix Ruess 34e10040e2 [build] print paparazzi version when building 2012-09-28 10:52:11 +02:00
Felix Ruess 5cae44e2ea simplifly Makefiles a bit, use ?= instead of ifndef 2012-09-18 23:14:54 +02:00
Felix Ruess 167d9c6da3 removed demo makefile target, as it only starts paparazzi center and was not well named
closes #228
2012-06-30 15:13:53 +02:00
Gautier Hattenberger 2bd08efd44 [tools] remove unused gen_tuning.ml 2012-05-29 14:57:16 +02:00
Felix Ruess afe5c5b62c make telemetry settings the first tab 2012-04-02 19:03:17 +02:00
Gautier Hattenberger bb192c033a rename periodic.h to periodic_telemetry.h; remove channel/device at code generation (unused) 2012-02-10 18:56:11 +01:00
Gautier Hattenberger c30b7248dc the telemetry settings are automatically generated and included to the
settings list and the GCS (working with fixedwing and rotorcraft
firmwares)
2012-01-25 11:40:28 +01:00
Felix Ruess d198072226 also print LDFLAGS to var/ac/target_srcs.list 2011-10-24 16:35:43 +02:00
Felix Ruess 6d53c1314d don't attempt to (non-existing) copy map tiles on init 2011-01-19 14:16:10 +01:00
Gautier Hattenberger e945dc86be factorize most of the modules tools 2010-12-24 11:03:07 +01:00
Felix Ruess 7fd01bcbe2 put generated headers in a seperate generated dir and specifically include generated/xxx.h 2010-11-23 20:52:25 +01:00
Felix Ruess 8d02fa05f8 removed old booz generation of radio_control ppm 2010-10-27 14:56:13 +00:00
Felix Ruess 03a9ab6fc0 moved arm7 directory to arch/lpc21 and set most makefiles accordingly 2010-09-22 23:23:55 +00:00
Allen Ibara 0281d66d76 Use + for jobserver since gen_aircraft.out calles make directly 2010-09-15 04:46:19 +00:00
Allen Ibara 624a0809ed SETTINGS_MODULES aka settings_modules.xml is generated by gen_modules.h, therefore make it depend on MODULES_H 2010-09-15 04:41:23 +00:00
Allen Ibara f4b39881e4 ac_h depends on gen_aircraft.out 2010-09-14 20:28:24 +00:00
Christophe De Wagter 44357d59bd Makefile echo problem 2010-09-13 21:51:10 +00:00
Christophe De Wagter 2bf69fbe8a Fixedwing Autopilot Makefile Upgrade 2010-09-10 23:19:50 +00:00
Gautier Hattenberger 3a7ab4b0fa fixing compilation for target sim and jsbsim 2010-09-07 16:35:21 +00:00
Gautier Hattenberger acdf61f7d6 unload modules if the target is not supported (this may require a clean_ac) 2010-09-06 13:01:02 +00:00
Gautier Hattenberger 7367465889 add a "module" attribute in telemetry definition
a PERIODIC_SEND_XXX is generated only if the corresponding module is loaded
2010-08-31 16:24:28 +00:00
Gautier Hattenberger 906e17845d Add target jsbsim to compile both simulator independantly 2010-03-25 09:27:26 +00:00
Pascal Brisset b2faa4a5d0 remove generation of settings header in var/include/ 2010-03-02 10:50:16 +00:00
Gautier Hattenberger 5603ebb022 modules.c is not generated anymore 2010-02-09 13:01:15 +00:00
Pascal Brisset f0b11f7e2d fix bug for airframe file in subdirectory 2009-09-23 19:15:40 +00:00
Pascal Brisset d914f7fcbf add a temporary file for the flight plan to properly stop a wrong compilation 2009-08-28 16:29:13 +00:00
Gautier Hattenberger 1e2333c300 add settings to start and stop the modules 2009-07-21 17:04:49 +00:00
Antoine Drouin 7cda6a8b23 big arm7/sys_time_hw cleaning 2009-07-16 17:38:11 +00:00
Pascal Brisset 998a767934 - added dependency over .md5 file 2009-07-03 13:26:56 +00:00
Pascal Brisset 40c771d3ea makefile extraction moved to gen_aircraft. Better handling of modules dependencies 2009-06-17 20:04:28 +00:00
Pascal Brisset 8db4c1d7c4 radio attribute is now optional in aircraft config 2009-04-30 16:08:19 +00:00
Pascal Brisset e11b3e8ec1 Makefile.ac now generated before headers 2009-04-29 09:30:19 +00:00
Antoine Drouin f481c460fa changing telemetry frequency 2009-04-28 19:01:33 +00:00
Gautier Hattenberger 4b9b4f2e37 add dependencies for modules compilation and protection flags USE_MODULES to avoid compilation issues (some people report problems but I don't know exactly what) 2009-04-01 11:56:57 +00:00