Commit Graph

8 Commits

Author SHA1 Message Date
Peter Barker bf6e137c87 Copter: bump version on master to 3.7.0 2018-08-13 10:11:37 +09:00
Randy Mackay 5a1c3cf5f4 Copter: firmware text to ArduCopter 2018-01-31 12:13:57 +09:00
Lucas De Marchi d213ccbbfc ArduCopter: protect version.h from inclusion and use ap_version.h 2017-09-23 21:37:45 -07:00
Peter Barker 470e790117 Copter: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
Randy Mackay 5497030ebf Copter: version to 3.6-dev 2017-03-30 08:19:18 +09:00
Randy Mackay be15fe4100 Copter: version to 3.5-dev 2016-10-29 14:33:44 +09:00
Lucas De Marchi fea084a596 Global: use ap_version.h
This header is used by waf to contain the generated version macros,
particularly using the git hash. For waf it's better to be in a separate
header since it then can keep track of changes on it a trigger
recompilation.

For the make build system, a dummy ap_version.h file has been added in
the missing/ folder so both implementations can co-exist.
2016-05-06 13:11:28 -03:00
Lucas De Marchi 352e103f1a ArduCopter: use separate header for version macro
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.

Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00