Hamish Willee
8236b8da81
Fix up doc links to point to master branch
2020-04-21 08:58:40 +02:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Julian Kent
911df49045
increase stacks in drivers identified by stackcheck builds
2019-04-09 17:20:50 +02:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Beat Küng
f0f88a3662
ver command: show the git branch name for 'ver all'
2018-10-03 10:30:10 +02:00
David Sidrane
66102adf43
ver:Removed UUID and MFGID
2018-10-03 10:30:10 +02:00
David Sidrane
ea1722274d
ver:Use Board identity API without ifdefs for overrides
2018-10-03 10:30:10 +02:00
David Sidrane
39a0021251
ver:Add PX4 GUID (MFGUID and UID will be deprecated later)
2018-10-03 10:30:10 +02:00
Hamish Willee
7402d8223b
Fix up references to pixhawk.org
2018-07-02 13:11:15 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Beat Küng
e1b970c30d
ver hwcmp: allow to specify multiple hardware identifiers
...
E.g: ver hwcmp PX4FMU_V4 PX4FMU_V5
2017-10-09 09:34:31 +02:00
David Sidrane
e967e02c4d
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
Daniel Agar
414b4d4a40
ver silence hwcmp
2017-09-25 10:30:22 -04:00
David Sidrane
4832ad3191
ver:Add support for HW versioning
...
1) Add hwtypecmp command to allow rc to further enumerate PX4FMU_V2
for sub types of 'V2' -FMUv2 'V2M' PixhawkMini, 'V30' Cube
2) Extend hw to report to display
HW type
HW version
HW revision
2017-08-05 19:26:20 +02:00
Beat Küng
a4ca3fc607
ver: add documentation
2017-07-14 11:57:11 +02:00
David Sidrane
b5275ecd52
ver:The recent changes to version.c return values in base10
...
This is part 2 of the fix. The tool that extracts the nuttx
git tag was broken by a new tag added the did not match
the form nuttx-M.mm. To the value was printed as
OS: NuttX
OS version: 0.0.0 c0 (192)
Once that issue was fixed, it was apparent that recent
changes to version.c return the values as base 10, before
it was hex. This fixes the formatting.
2017-07-14 10:46:30 +02:00
David Sidrane
f66f024e3a
ver:Print vMM.mm.pp format
2017-05-03 08:18:47 +02:00
David Sidrane
53df80881a
ver uses simpler common board indentity api and displays mfguid
2017-02-04 22:27:04 +01:00
Beat Küng
91416fc49a
ver.c: fix hwcmp to match exact string
...
Previously for example 'ver hwcmp PX4FMU_V4PRO' matched on PX4FMU_V4
hardware too.
2017-01-28 15:18:35 +01:00
David Sidrane
4be19b26b0
ver uses common board api for mcu_version
2017-01-26 08:39:12 +01:00
David Sidrane
d0ebc183c9
ver uses common board api for uuid
2017-01-25 07:43:11 +01:00
Beat Küng
5e9bdff205
version: remove FW_GIT & FW_BUILD_URI, use the correct methods instead
...
This is cleanup after rebasing
2016-12-21 11:35:10 +01:00
Beat Küng
41dc34204c
version cleanup: move all version information into version.c and use a common API
...
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
c662113527
board_name.c: remove the file and HW_ARCH macro, use px4_board_name() instead
...
boards define BOARD_NAME, so board_name() is not necessary. HW_ARCH was
just a wrapper around board_name().
This patch simplifies to having only one common method px4_board_name().
2016-12-21 11:35:10 +01:00
David Sidrane
d09cd77777
Adding hardfault logging application
2016-12-21 08:34:20 +01:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Nate Weibley
22d286b9ce
Fix version generation for release builds, #5308 ( #5422 )
2016-08-31 22:03:00 +02:00
Lorenz Meier
88cf8f23f6
Fix ver command
2016-07-02 12:08:30 +02:00
Lorenz Meier
fd17c87eb4
Fix release parsing
2016-07-02 12:00:56 +02:00
Lorenz Meier
972a6f7be8
Fix MAVLink reporting of Firmware version, implement dev / release version reporting
2016-07-02 11:43:24 +02:00
Beat Küng
8a12dee125
cmake: remove all module.mk files & cmake conversion script ( #4918 )
...
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
Lorenz Meier
e9fb929f50
Annotate build type classes for ver command
2016-06-26 21:38:14 +02:00
Julian Oes
5f3332e429
ver: less verbose on startup
2016-06-07 22:10:56 +02:00
Lorenz Meier
6fa446b465
Format fix
2016-05-28 00:10:02 +02:00
Lorenz Meier
7be5ae9b93
Version: Report in common MAVLink format
2016-05-27 23:12:51 +02:00
Daniel Agar
27f6b60169
fix pixhawk errata URL
2016-05-13 13:01:42 +02:00
Lorenz Meier
4c61f52269
Code style fixes
2016-05-03 11:42:28 +02:00
Lorenz Meier
ff3e17df0d
Systemlib: Add FW and OS versioning
2016-05-03 11:39:39 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Daniel Agar
9fcbc1fb6f
format src/systemcmds/ver
2015-09-05 12:21:13 -04:00
David Sidrane
5acc4ee43b
Back Port of Git Versioning - without side effects Part 2
2015-06-12 06:54:04 -10:00
David Sidrane
17fddb1556
Back Port of Git Versioning - without side effects Part 1
2015-06-12 06:49:15 -10:00
Lorenz Meier
6d7e063148
Added GIT version which recompiles on each build
2015-05-23 09:59:46 +02:00
Daniel Agar
207b57869d
only define GIT_VERSION where it's used
...
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
2015-04-18 01:25:54 -04:00
hauptmech
5444972347
Add call to access the mcu unique id. Expose via the 'ver' command.
...
This is prep for verifying calibration parameters against the hardware they were gathered on.
2015-01-28 10:20:19 +01:00
Lorenz Meier
9d7a4a59fd
Fix output of ver hwcmd call
2014-11-17 14:07:13 +01:00
Lorenz Meier
e2551d4917
Fixed typo in ver command
2014-11-15 20:05:54 +01:00
Lorenz Meier
ed0f28ed41
Fix ver command
2014-11-15 19:43:11 +01:00