Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
ba90ba14
Commit
ba90ba14
authored
9 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
NuttX configs: added px4fmu-v2_ekf2 target for EKF2 development on Pixhawk
parent
0ed13a91
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+2
-2
2 additions, 2 deletions
Makefile
cmake/configs/nuttx_px4fmu-v2_default.cmake
+0
-1
0 additions, 1 deletion
cmake/configs/nuttx_px4fmu-v2_default.cmake
cmake/configs/nuttx_px4fmu-v2_ekf2.cmake
+55
-14
55 additions, 14 deletions
cmake/configs/nuttx_px4fmu-v2_ekf2.cmake
with
57 additions
and
17 deletions
Makefile
+
2
−
2
View file @
ba90ba14
...
...
@@ -136,8 +136,8 @@ px4fmu-v4_default:
px4-stm32f4discovery_default
:
$(
call cmake-build,nuttx_px4-stm32f4discovery_default
)
px4fmu-v2_
simple
:
$(
call cmake-build,nuttx_px4fmu-v2_
simple
)
px4fmu-v2_
ekf2
:
$(
call cmake-build,nuttx_px4fmu-v2_
ekf2
)
px4fmu-v2_lpe
:
$(
call cmake-build,nuttx_px4fmu-v2_lpe
)
...
...
This diff is collapsed.
Click to expand it.
cmake/configs/nuttx_px4fmu-v2_default.cmake
+
0
−
1
View file @
ba90ba14
...
...
@@ -83,7 +83,6 @@ set(config_module_list
modules/attitude_estimator_q
modules/ekf_att_pos_estimator
modules/position_estimator_inav
modules/ekf2
#
# Vehicle Control
...
...
This diff is collapsed.
Click to expand it.
cmake/configs/nuttx_px4fmu-v2_
simple
.cmake
→
cmake/configs/nuttx_px4fmu-v2_
ekf2
.cmake
+
55
−
14
View file @
ba90ba14
...
...
@@ -2,6 +2,8 @@ include(nuttx/px4_impl_nuttx)
set
(
CMAKE_TOOLCHAIN_FILE
${
CMAKE_SOURCE_DIR
}
/cmake/toolchains/Toolchain-arm-none-eabi.cmake
)
set
(
config_uavcan_num_ifaces 1
)
set
(
config_module_list
#
# Board support modules
...
...
@@ -12,16 +14,14 @@ set(config_module_list
drivers/stm32/tone_alarm
drivers/led
drivers/px4fmu
drivers/px4io
drivers/boards/px4fmu-v2
drivers/boards/px4fmu-v4
drivers/rgbled
drivers/mpu6000
drivers/mpu9250
drivers/lsm303d
drivers/l3gd20
drivers/hmc5883
drivers/ms5611
drivers/mb12xx
drivers/srf02
drivers/sf0x
drivers/ll40ls
drivers/trone
...
...
@@ -42,6 +42,7 @@ set(config_module_list
drivers/gimbal
drivers/pwm_input
drivers/camera_trigger
drivers/bst
#
# System commands
...
...
@@ -53,12 +54,40 @@ set(config_module_list
systemcmds/pwm
systemcmds/esc_calib
systemcmds/reboot
systemcmds/topic_listener
systemcmds/top
systemcmds/config
systemcmds/nshterm
systemcmds/mtd
systemcmds/dumpfile
systemcmds/ver
systemcmds/tests
#
# General system control
#
modules/commander
modules/navigator
modules/mavlink
modules/gpio_led
modules/uavcan
modules/land_detector
#
# Estimation modules (EKF/ SO3 / other filters)
#
modules/position_estimator_inav
modules/ekf2
#
# Vehicle Control
#
# modules/segway # XXX Needs GCC 4.7 fix
modules/fw_pos_control_l1
modules/fw_att_control
modules/mc_att_control
modules/mc_pos_control
modules/vtol_att_control
#
# Logging
...
...
@@ -81,18 +110,32 @@ set(config_module_list
#lib/mathlib/CMSIS
lib/mathlib
lib/mathlib/math/filter
lib/rc
lib/ecl
lib/external_lgpl
lib/geo
lib/geo_lookup
lib/conversion
lib/launchdetection
lib/terrain_estimation
lib/runway_takeoff
lib/tailsitter_recovery
platforms/nuttx
# had to add for cmake, not sure why wasn't in original config
platforms/common
platforms/common
platforms/nuttx/px4_layer
#
# OBC challenge
#
modules/bottle_drop
#
# Rover apps
#
examples/rover_steering_control
#
# Demo apps
#
...
...
@@ -103,18 +146,18 @@ set(config_module_list
# Tutorial code from
# https://px4.io/dev/daemon
examples/px4_daemon_app
#
examples/px4_daemon_app
# Tutorial code from
# https://px4.io/dev/debug_values
examples/px4_mavlink_debug
#
examples/px4_mavlink_debug
# Tutorial code from
# https://px4.io/dev/example_fixedwing_control
examples/fixedwing_control
#
examples/fixedwing_control
# Hardware test
examples/hwtest
#
examples/hwtest
)
set
(
config_extra_builtin_cmds
...
...
@@ -122,16 +165,14 @@ set(config_extra_builtin_cmds
sercon
)
set
(
config_io_board
px4io-v2
)
set
(
config_extra_libs
${
CMAKE_SOURCE_DIR
}
/src/lib/mathlib/CMSIS/libarm_cortexM4lf_math.a
uavcan
uavcan_stm32_driver
)
set
(
config_io_extra_libs
${
CMAKE_SOURCE_DIR
}
/src/lib/mathlib/CMSIS/libarm_cortexM3l_math.a
#
${CMAKE_SOURCE_DIR}/src/lib/mathlib/CMSIS/libarm_cortexM3l_math.a
)
add_custom_target
(
sercon
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment