Daniel Agar
668984b6b0
boards: start adc in rc.board_sensors
5 years ago
Beat Küng
3b7c1b4ff1
src/drivers/boards: move to platforms/nuttx/src/px4/common
5 years ago
Beat Küng
b30171ba8d
board_common.h: move under platforms/common
...
Also move board_determine_hw_info and board_gpio_init under platforms/nuttx
5 years ago
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)
5 years ago
Igor Mišić
f4ee9141cb
DShot: updated driver to use NuttX DMA functions ( #13233 )
5 years ago
Daniel Agar
6a0f5249f8
sensors: split out analog battery handling to new standalone battery_status module
5 years ago
Beat Küng
ac82c5114b
omnibusf4sd: add dshot timer config
5 years ago
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
5 years ago
garfieldG
bbb96cbd0c
Mavlink startup script per board
...
-moved rc.mavlink to the boards optional rc additions (now it's called rc.board_mavlink) to handle board specific mavlink needs (mavlink over usb, ethernet, additional streams, etc.)
-mavlink module will be responsible to usb defaults, therefore less args are needed to be passed to mavlink module if one wants to use mavlink over usb.
-the way to check if connection is usb is by it's designated variable and not by config mode.
5 years ago
Daniel Agar
0486d69240
delete obsolete segway example
5 years ago
BazookaJoe1900
6ab5c2170e
remove unused pca8574 and oreoled drivers
6 years ago
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
6 years ago
Beat Küng
1cb6c36a00
adc: refactor into arch-specific directories
6 years ago
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
6 years ago
Silvan Fuhrer
d129fcccd5
Omnibus: take out local_position_estimator from build as was out of flash after ecl update for airspeed selection module
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
6 years ago
Silvan Fuhrer
cedf14e2ba
Airspeed Selector: repurpose wind estimator into an airspeed (selection, validation) module.
...
This new airspeed module does:
-runns an airspeed validator for every airspeed sensor present, which checks measurement validity and estimates an airspeed scale
-selects another airspeed sensor if for the current one a failure is detected
-estimates airspeed with groundspeed-windspeed if no valid airspeed sensor is present
-outputs airspeed_validated topic
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
6 years ago
Daniel Agar
0955fd2d58
NuttX boards reduce CONFIG_NFILE_DESCRIPTORS 54 -> 20
6 years ago
Daniel Agar
5421ef5535
NuttX increase HPWORK and LPWORK stack by 256 bytes
6 years ago
Daniel Agar
9d701a077d
NuttX reduce stack for interrupts, HPWORK, LPWORK
6 years ago
Beat Küng
a3c920db7d
board_defaults: remove unnecessary 'set MIXER_AUX none'
...
On all of these boards '$USE_IO = no' will hold.
6 years ago
Timothy Scott
2ed00c9cb6
Rover: Rewrote gnd_pos_control and removed gnd_att_control ( #12239 )
6 years ago
Daniel Agar
dc10a68539
NuttX and apps update 7.29
6 years ago
Daniel Agar
321c2c0392
boards don't use px4_add_library for drivers_board
...
- this prevents low level board support from using PX4 logging, uORB, etc
6 years ago
Daniel Agar
15d1543f95
create systemcmds/i2cdetect tool to scan i2c bus
6 years ago
Beat Küng
ab0466eddf
omnibus: enable dmesg buffer (3kb)
...
without LPE running, we have about 17.6 kb more free RAM.
6 years ago
Beat Küng
73102dc3c4
SYS_MC_EST_GROUP: add q estimator only option and activate on omnibus
6 years ago
Beat Küng
1321f96b59
omnibus rc.board_defaults: remove flash-based params transition logic
6 years ago
Daniel Agar
f85c15e247
board common create generic dma allocator (from fat_dma_alloc)
6 years ago
Mohammed Kabir
b334b75886
Move optical flow drivers to own subdirectory
6 years ago
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
6 years ago
Beat Küng
d9f8e37288
omnibus: use default clock rate of 20 MHz for SD card (CONFIG_MMCSD_SPICLOCK)
...
With 24 MHz accesses to the SD card were unreliable. And the chance of
failure recently got worse, so that logging became impossible.
6 years ago
Daniel Agar
5e6bfe1ad8
vscode updates
...
* working debugging (one click build and debug)
* SITL jmavsim
* SITL gazebo
* jlink px4_fmu-v{2-5}
* improved syntax highlighting
* GNU linker files
* ROS message files msg/*.msg
* jinja2 template files
* fixed intellisense support
6 years ago
Daniel Agar
be93dd1c5d
omnibus_f4sd nsh compress defconfig
6 years ago
Hamish Willee
257b90958f
Correct links to example docs
6 years ago
David Sidrane
edd9f91a19
board:Set larger stack margin
6 years ago
Beat Küng
717e52fa57
osd: rename driver to atxxxx
6 years ago
DanielePettenuzzo
c3f9294b49
omnibus: initial osd driver for omnibus board
6 years ago
Daniel Agar
739a02022b
position_estimator_inav: move to examples (start deprecation)
6 years ago
David Sidrane
b478719079
omnibus_f4sd:Fully remove console
6 years ago
David Sidrane
3032643a0c
omnibus_f4sd: Inital commit NuttX 7.27+
6 years ago
David Sidrane
8f308efa88
upstram NuttX CONFIG_EXAMPLES_NSH_CXXINITIALIZE->CONFIG_SYSTEM_NSH_CXXINITIALIZE
6 years ago
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
6 years ago
Daniel Agar
67e5986c9b
delete obsolete examples/subscriber
6 years ago
Daniel Agar
693ee4808a
delete obsolete examples/publisher
6 years ago
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
6 years ago
Daniel Agar
fef65bf5c8
ROMFS split rc.board into defaults, sensors, and extras
6 years ago
Daniel Agar
1b8c2c82d5
px4flow start in rc.sensors instead of per board ( #11123 )
...
- fixes #11009
6 years ago
Beat Küng
169722c46f
omnibus rc.board: add transition support to load params from file to FLASH
6 years ago
Beat Küng
2698625be9
omnibus: switch to flash-based params
...
Not all boards have an SD card.
This is a *breaking* change and requires a bootloader change.
6 years ago
Daniel Agar
75b2053243
move uavcan from modules to drivers
6 years ago