Closed KochC closed 7 years ago
It's probably my fault, not yours. For now try make distclean
then build and upload again.
There's a problem with the dependencies for the nuttx builtin apps generation.
nope, still not in the Builtin Apps list 😣
The folder px4fmu-v2_default/src/examples/px4_simple_app
is correctly generated in the build directory. I also flashed via terminal and QGroundControl.
its still not possible to add any example to the Builtin Apps list. Is the tutorial wrong or is this bug?
Are you on the current firmware master?
This is working for me.
px4_daemon_app
px4flow
px4_mavlink_debug
px4_simple_app
reboot
rgbled
rover_steering_control
sd_bench
sdlog2
sdp3x_airspeed
segway
send_event
sensors
sercon
serdis
sf0x
sf0x_tests
sf1xx
snapdragon_rc_pwm
srf02
tap_esc
teraranger
test_ppm
tests
tone_alarm
top
uavcan
uorb
uorb_tests
ver
vmount
nsh> px4_simple_app
INFO [px4_simple_app] Hello Sky!
INFO [px4_simple_app] Accelerometer: 0.3223 -0.5603 -10.0705
INFO [px4_simple_app] Accelerometer: 0.3002 -0.6057 -10.1572
INFO [px4_simple_app] Accelerometer: 0.3050 -0.5334 -10.1045
INFO [px4_simple_app] Accelerometer: 0.2662 -0.5301 -10.0652
INFO [px4_simple_app] Accelerometer: 0.3151 -0.5478 -10.1150
INFO [px4_simple_app] exiting
nsh> ver all
HW arch: PX4FMU_V4
FW git-hash: 8a0a8e20e1ce1a764300c99d1a28fbe6db15cfae
FW version: 4.97.8 80 (73468032)
OS: NuttX
OS version: Release 7.22.0 (118882559)
OS git-hash: 85a88c073130c0f9dd83af0a67e61c445ab0b3fa
Build datetime: Oct 10 2017 10:23:01
Build uri: localhost
Toolchain: GNU GCC, 4.9.3 20150529 (prerelease)
MFGUID: 363539313535510800320046
MCU: STM32F42x, rev. 3
UID: 320046:35355108:36353931
nsh>
Ok, I hope thats it. Works now. Thanks a lot.
Hey, I try to create an own application for my DroPix, so I started with the "Hello Sky" Tutorial. First my compiler wants a CMakeList.txt file which is not described in the tutorial, but I was able to create one on my own 😆
px4_simple_app.c
CMakeLists.txt
nuttx_px4fmu-v2_default.cmake
Compiler prints correctly compiled:
and the upload seems to work:
but I do not have the px4_simple_app in my Builtin Apps now:
Where is my fault? 😩🤔