Beat Küng
6c34407d57
version: rebase fixes & add bbblue
7 years ago
Beat Küng
afc1be2296
px4_micro_hal: fix typo
7 years ago
Beat Küng
703a5376bb
bebop board config: add a separate SOC_ARCH_ID
7 years ago
Beat Küng
b9a99969a7
board_get_uuid: fix alignment issues
...
board_get_px4_guid() called board_get_uuid() with a 2 bytes offset into an
uint8_t array. This gives no guarantees on alignment, and board_get_uuid()
casts it to an uint32_t array, leading to potentially unaligned accesses.
7 years ago
Beat Küng
f0f88a3662
ver command: show the git branch name for 'ver all'
7 years ago
David Sidrane
a934d6e3f2
samv7:Fixed incorrect index populating px4_guid
7 years ago
David Sidrane
03948c1ad3
kinetis:Fixed incorrect index populating px4_guid
7 years ago
Beat Küng
e2a32aab76
mavlink_main: add support for autopilot_version.uid2
7 years ago
Beat Küng
daf05b3854
board_common: add PX4_SOC_ARCH_ID_UNUSED = 0 to PX4_SOC_ARCH_ID_t
...
Just to make sure we never have an UUID == 0
7 years ago
Daniel Agar
f2e10a163b
fix qurt eagle board_identity
7 years ago
David Sidrane
0b17995e81
eagle:revert CMakeLists.txt to wrong sitl, add board identity API
...
This file was clearly clearly but built.
7 years ago
David Sidrane
66102adf43
ver:Removed UUID and MFGID
7 years ago
David Sidrane
bdaff018b7
samv7:Add PX4 GUID API
7 years ago
David Sidrane
43f6c4df77
kinetis:Add PX4 GUID API
7 years ago
David Sidrane
61935e8271
qurt:Use PX4_SOC_ARCH_ID_t from board common
7 years ago
David Sidrane
4e32ca45f1
sitl:Use PX4_SOC_ARCH_ID_t from board common
7 years ago
David Sidrane
d85452863d
rpi:Use PX4_SOC_ARCH_ID_t from board common
7 years ago
David Sidrane
3d96e2ef60
ocpoc:Use PX4_SOC_ARCH_ID_t from board common
7 years ago
David Sidrane
5fea494a2d
eagle:Use PX4_SOC_ARCH_ID_t from board common
7 years ago
David Sidrane
dc59e19bbb
Moved PX4_SOC_ARCH_ID from px4_micro_hal to board_common
7 years ago
David Sidrane
695a7f6839
board_common:Added missing END_DECLS from rebase
7 years ago
David Sidrane
ea1722274d
ver:Use Board identity API without ifdefs for overrides
7 years ago
David Sidrane
594da6247b
board_common:Make board indenty API required.
7 years ago
David Sidrane
73552bdd64
sim:Use Non Arch specific Board identity API
7 years ago
David Sidrane
2f64870e78
qurt:Use Non Arch specific Board identity API
7 years ago
David Sidrane
a96acbb04d
ocpoc:Use Non Arch specific Board identity API
7 years ago
David Sidrane
82dcfeb576
eagle:Use Non Arch specific Board identity API
7 years ago
David Sidrane
1c779d58fb
bebop:Use Non Arch specific Board identity API
7 years ago
David Sidrane
bc075208d5
rpi:Use Non Arch specific Board identity API
7 years ago
David Sidrane
a1abd1b632
sitil:Use Non Arch specific Board identity API
7 years ago
David Sidrane
ed9223edaf
board_identity:Added common no-arch specific board_identity API
...
This common code can be used byt posix based boars to provide
the board_identity API.
7 years ago
David Sidrane
1ac54f977e
board_common:Documentation clean up
7 years ago
David Sidrane
9709d23179
logger:Use PX4 GUID for sys_uuid
7 years ago
David Sidrane
347ac48eab
posix:Added PX4 GUID API board_get_px4_guid_formated
7 years ago
David Sidrane
a16ca0ccf9
sitl:Added BOARD_OVERRIDE_PX4_GUID
7 years ago
David Sidrane
7f29b04e41
sim:Added BOARD_OVERRIDE_PX4_GUID
7 years ago
David Sidrane
ba336bd19e
rpi:Added BOARD_OVERRIDE_PX4_GUID
7 years ago
David Sidrane
a1d5cb766a
ocpoc:Added BOARD_OVERRIDE_PX4_GUID
7 years ago
David Sidrane
cca2fd8471
eagle:Added BOARD_OVERRIDE_PX4_GUID
7 years ago
David Sidrane
39a0021251
ver:Add PX4 GUID (MFGUID and UID will be deprecated later)
7 years ago
David Sidrane
7050657a6e
board_identity:Add stm32 board_get_px4_guid and board_get_px4_guid_formated API
7 years ago
David Sidrane
1c2f8bd4c4
board_identity:Fix potential buffer over flow
7 years ago
David Sidrane
f24a052355
board_common:Add PX4 GUID, deprecate other UUID API
...
The form of the PX4 GUID is as follows:
offset:0 1 2 - 17
<ARCH MSD><ARCH LSD><MSD CPU UUID>...<LSD CPU UUID>
Where <ARCH MSD><ARCH LSD> are a monotonic ordinal number assigned by
PX4 to a chip architecture (PX4_SOC_ARCH_ID). The 2 bytes are used to
create a globally unique ID when prepended to a padded CPU ID.
In the case where the CPU's UUID is shorter than 16 bytes it will be
padded with 0's starting at offset [2] until
PX4_CPU_MFGUID_BYTE_LENGTH-PX4_CPU_UUID_BYTE_LENGTH -1
I.E. For the STM32
offset:0 1 2 3 4 5 6 - 17
<ARCH MSD><ARCH LSD>[0][0][0][0]<MSD CPU UUID>...<LSD CPU UUID>
I.E. For as CPU with a 16 byte UUID
offset:0 1 2 - 17
<ARCH MSD><ARCH LSD><MSD CPU UUID>...<LSD CPU UUID>
7 years ago
David Sidrane
8bec5fc37b
px4_micro_hal:Define PX4_SOC_ARCH_ID
7 years ago
Martina
e73c50ad9c
mc_pos_control_main: enable continuos update of vehicle_trajectory_waypoint
...
desired such that it's possible to use it in manual modes
7 years ago
Beat Küng
02d89575b0
px4fmu-v2: disable camera_trigger
...
due to limited flash space.
7 years ago
Beat Küng
fb04a611c5
gps: reduce stack size
...
A buffer size of the gps drivers got reduced by 100 bytes.
7 years ago
Beat Küng
cef6cf96f8
gps: reduce delay by reducing the sleep time
...
This uses now the same sleep time logic as mavlink, depending on the
baudrate.
CPU usage on a Pixracer for different sleep times:
#num reads/sec sleep time CPU usage
17-18 2.8ms 0.233-0.31% (this PR)
12 5ms 0.155-0.3%
9-10 10ms 0.155-0.233%
6 20ms 0.155-0.233% (previous)
7 years ago
Beat Küng
979e8ad28b
gps drivers: update submodule
7 years ago
Beat Küng
403f909e3a
mavlink_receiver: simplify sleeptime calculation
7 years ago