Daniel Agar
7cc0e69fcd
add px4fmu-v{3,4,5} stackcheck configs
2018-09-02 14:16:04 -04:00
Daniel Agar
c76187dbbb
Update submodule nuttx to latest Fri Aug 31 21:30:51 UTC 2018 ( #10385 )
...
- nuttx in PX4/Firmware (0a1a202540
): bf8cce85c3
- nuttx current upstream: e3b5b667ae
- Changes: bf8cce85c3...e3b5b667ae
e3b5b66 2018-08-31 Daniel Agar - [BACKPORT] Merged in dagar/nuttx/pr-stm32f7_stackcheck-upstream (pull request #714 )
2018-08-31 18:44:34 -04:00
David Sidrane
1b6e933176
Make.defs.in:Runtime Stack Checking in Nuttx Build
...
Use CONFIG_ARMV7M_STACKCHECK to add the instrumentation
for runtime stack checking
2018-08-31 13:03:39 -07:00
David Sidrane
4f2aa51767
px4_impl_os:Use the defconfig CONFIG_ARMV7M_STACKCHECK
...
To enable coherent runtime stack checking use the boards
CONFIG_ARMV7M_STACKCHECK setting
2018-08-31 13:03:39 -07:00
Beat Küng
e26bfd2e79
SITL: remove config_sitl_rcS_dir
...
Not needed anymore
2018-08-31 14:21:56 -04:00
Beat Küng
4e6139d9fb
Posix: add '#pragma GCC poison exit'
...
Generally exit() should not be used on Posix, because it exits the whole
program instead of only the task.
2018-08-31 18:11:58 +02:00
Daniel Agar
8ddb99971f
tests template skip mavlink except for mavlink test
2018-08-30 11:13:24 -04:00
Bram Strack van Schijndel
918c397ae7
fixup! [Bebop 2] don't strip and upload to /data/ftp/internal_000
2018-08-30 09:48:26 +02:00
Bram Strack van Schijndel
b678f8bc5b
[Bebop 2] don't strip and upload to /data/ftp/internal_000
2018-08-30 09:48:26 +02:00
Daniel Agar
658b957888
Jenkins build and archive all packages ( #10332 )
2018-08-29 12:31:14 -04:00
PX4 Build Bot
2164ef8fb6
Update submodule nuttx to latest Sat Aug 25 15:12:57 UTC 2018
...
- nuttx in PX4/Firmware (72792cef43
): bf8cce85c3
- nuttx current upstream: bf8cce85c3
- Changes: bf8cce85c3...bf8cce85c3
2018-08-25 11:23:25 -04:00
Daniel Agar
72792cef43
posix-configs shell scripts use /bin/sh to maximize compatibility ( #10292 )
...
- fix ocpoc line endings
2018-08-25 11:02:37 -04:00
David Sidrane
e79b9a2c1b
Update nuttx with backport Kinetis i2c fix ( #10325 )
2018-08-25 10:10:02 -04:00
David Sidrane
790356ef6d
NXPHlite-v3:Ensure bin file sizes in mtpl of 8
2018-08-23 14:26:32 -07:00
David Sidrane
19d3e562e9
NXPHlite:Track kinetis upstream CONFIG changes
2018-08-23 14:26:32 -07:00
David Sidrane
add7484083
Nuttx with Missing Backports
2018-08-23 14:26:32 -07:00
Daniel Agar
01744a9efc
Jenkins px4fmu-v2 hardware test
2018-08-14 23:12:26 -04:00
Daniel Agar
a2059acde5
NuttX stm32f7 configs unset ADC1 DMA
2018-08-14 20:32:28 -04:00
David Sidrane
03000bb0ef
Updated apps nuttx of platforms/nuttx
2018-08-14 09:38:15 -04:00
David Sidrane
4d3aff23d7
NXPflite-v3:Hack-Fixes USB not enumerating on Virtual Box VM
2018-08-14 09:38:15 -04:00
David Sidrane
346224a0c6
NXPhlite:Fix init stack warning
2018-08-14 09:38:15 -04:00
David Sidrane
0e382aec71
Update NuttX with Kinetis Backports
2018-08-14 09:38:15 -04:00
David Sidrane
f0663fb143
nxphlite-v3:Match probes to V3 HW
2018-08-14 09:38:15 -04:00
David Sidrane
5c7cbc4d30
nxphlite-v3:Add uavcan
2018-08-14 09:38:15 -04:00
David Sidrane
c6cab03319
nxphlite-v3:Add Probes to defconfig
2018-08-14 09:38:15 -04:00
David Sidrane
b9f2530688
Update nuttx submodule with FlexCan and PIT contrib
2018-08-14 09:38:15 -04:00
David Sidrane
9f96aa7a1e
nxphlite-v3:Match bootloader VENDORSTR
2018-08-14 09:38:15 -04:00
David Sidrane
5044426949
nxphlite-v3:Use non data time RTC configuration.
...
One a 32.768 is added (RC16) to the board this will keep time.
2018-08-14 09:38:15 -04:00
David Sidrane
f0c981312f
nxphlite-v3:SDIO DMA working.
...
The fix ix in nuttx. This is just the defconfig changes to use
it.
There were 2 problems. The first was that the interrupt did
test DINT and raise a completion events. But since DINT is
just an indication of DMA completion, TC is a valid way to
determine that the transfer is complete.
The second problem is that Software Reset For DAT Line
SDHC_SYSCTL[RSTD] clears the bits 24-0 in SDHC_PROTO
this looses the wide bus setting DTW
2018-08-14 09:38:15 -04:00
David Sidrane
26bc2d90d8
Upates nuttx Submodule - backport USB fix
2018-08-14 09:38:15 -04:00
David Sidrane
f8085423fe
Updated platforms/nuttx/NuttX/nuttx:as rebased on px4_firmware_nuttx-7.22+
2018-08-14 09:38:15 -04:00
David Sidrane
9ccb9345be
nxphlite-v3:bin file must be padded to multiple of 8
...
Flash programing on the K66 has to be units of 8 bytes. So we cache
the write of words until there are 2 written. Then the 2 words are
written to FLASH. This change ensure the bin file has an even
number of (4 byte) words by padding the last section in progflash
with 0xffffffff if needed.
2018-08-14 09:38:15 -04:00
David Sidrane
cb58fa5131
NXPHlite-V3:Prep for bootloader of 24K load address is 0x6000
2018-08-14 09:38:15 -04:00
David Sidrane
881fbd2197
Prep for Bootloader - Use NXP's VID and PID=board_id of 28
2018-08-14 09:38:15 -04:00
David Sidrane
a1a03bd6ae
update nxphlite-v3.prototype to use original unused board_id
...
Since nxphlite V1 was never released, we reused that code point.
2018-08-14 09:38:15 -04:00
David Sidrane
5726352040
NXPhlite grow init stack 56B
2018-08-14 09:38:15 -04:00
Jan Okle
0754b3566c
Enable DMA based serial driver and add polling serial driver for more data.
2018-08-14 09:38:15 -04:00
Beat Küng
9d66bcefd3
posix main: print script failure as an error instead of a warning
2018-08-13 21:50:14 -04:00
Beat Küng
9ba2e91fa1
ROMFS: avoid empty 'then else' clause, it's an error in bash
...
Use 'if ! <cmd>' instead.
2018-08-13 21:50:14 -04:00
Beat Küng
1318e614ad
SITL: handle 'make posix_sitl_shell' via unified rcS
...
The command is now: 'make posix none_shell'
which means: don't start a simulator and run a minimal shell only.
2018-08-13 21:50:14 -04:00
Beat Küng
ab7f68f2ad
ekf2 replay: refactor to use unified rcS scripts
2018-08-13 21:50:14 -04:00
Daniel Agar
34f1bbeb44
px4fmu-v2 disable errno strings
2018-08-13 22:45:34 +02:00
Beat Küng
e5ed05766d
px4_daemon server: fix startup race condition
...
The FIFO was created in the server thread, and the PX4 main thread could
already have continued and started to execute the bash script.
In that case the client tried to open the FIFO but it did not exist yet.
Client error:
ERROR [px4_daemon] pipe open fail
ERROR [px4_daemon] Could not send commands
2018-08-13 14:26:41 +02:00
Beat Küng
52168f9665
px4_daemon client: improve error output
2018-08-13 14:26:41 +02:00
Beat Küng
30fb82d9b4
fmu-v5 defconfig: increase USART3 from 1500 to 3000
...
This is needed for companions with high baudrate and high data rate.
Tested with 1500000 Baudrate and mavlink TX rate of ~120KB/s: no drops.
I did not test the exact limit, something like 2500 might be enough. But
we (still) have enough free RAM on FMU-v5.
2018-08-10 07:11:07 +02:00
Beat Küng
ffffcaeb0f
px4-alias.sh_in: move to platforms/posix/src/px4-alias.sh_in
2018-08-08 21:09:39 +02:00
Beat Küng
23b12f02e7
cmake: fix install target (add bin dir which includes the symlinks and px4-alias.sh)
2018-08-08 21:09:39 +02:00
Beat Küng
5363aff879
fixes for integration and unit tests
...
Move ros logs dir so that .ulg files are not in the same directory
(mission_test.py:: get_last_log() fails otherwise)
2018-08-08 21:09:39 +02:00
Beat Küng
0edd7c93e1
posix main: check for ROS argument
2018-08-08 21:09:39 +02:00
Beat Küng
a5de82aaa8
cmake: add documentation for px4_posix_generate_alias and px4_posix_generate_symlinks
2018-08-08 21:09:39 +02:00