Silvan Fuhrer
51374aec7b
px4_fmu-v5: add here2 mag to startup
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-10-14 15:16:33 -04:00
Beat Küng
67500123e3
fmu-v5: add dshot support
...
But only on the first 4 FMU outputs, as the next ones conflict with px4io
serial dma (UART8_RX)
RX DMA is disabled on the GPS port as well (conflicts with TIM1).
2019-10-11 08:14:17 +02:00
Beat Küng
182efaa757
dshot: reduce static buffer size
...
And handle failures of up_dshot_init().
On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
2019-10-11 08:14:17 +02:00
Daniel Agar
315141873e
NuttX boards reduce CONFIG_MAX_TASKS 64 -> 32 (default)
2019-10-02 19:44:46 -04:00
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
2019-10-02 12:23:17 -04:00
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.
2019-09-29 10:46:08 -04:00
Daniel Agar
0486d69240
delete obsolete segway example
2019-09-28 15:05:50 -04:00
BazookaJoe1900
6ab5c2170e
remove unused pca8574 and oreoled drivers
2019-09-04 08:05:08 -07:00
Daniel Agar
f1339038ca
px4_fmu-v5_stackcheck disable roboclaw and pca9685 to reduce flash
2019-09-03 08:03:32 -07:00
Silvan Fuhrer
d5fdc55460
fmu-v5: add baro again in startup
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-09-03 13:48:34 +02:00
BazookaJoe1900
8a45c6145b
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
2019-09-02 11:08:51 -04:00
BazookaJoe1900
e3b60cd9e7
rc.sensors: moved common ms5611 start to rc.board_sensors per board
2019-09-01 12:55:50 -04:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
1cb6c36a00
adc: refactor into arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
2019-08-30 07:59:44 +02:00
Daniel Agar
b1d59c8817
px4fmu split safety button into new driver
2019-08-24 17:14:17 -04:00
Daniel Agar
7adc43b795
px4_fmu-v5: add critical section monitor build ( #12724 )
2019-08-16 21:48:09 -04:00
Daniel Agar
6e7e2b6e3b
px4_fmu-v5: add irqmonitor build ( #12723 )
2019-08-16 19:01:16 -04:00
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 >
2019-08-09 10:55:05 +02:00
Daniel Agar
0955fd2d58
NuttX boards reduce CONFIG_NFILE_DESCRIPTORS 54 -> 20
2019-08-07 21:23:27 -04:00
Daniel Agar
5421ef5535
NuttX increase HPWORK and LPWORK stack by 256 bytes
2019-08-06 23:15:07 -04:00
Daniel Agar
9d701a077d
NuttX reduce stack for interrupts, HPWORK, LPWORK
2019-08-06 11:00:55 -04:00
David Sidrane
0ebb87357f
fmu-v5:hrt needs to be running for ADC time out
...
Fixes bug introduced in 320d2e adding platform layer.
2019-08-06 10:46:37 -04:00
Daniel Agar
77694183b2
delete position_estimator_inav
2019-08-02 17:38:28 -04:00
Beat Küng
b7a0e1ef03
boards: simplify RC port configuration by using NuttX ioctl's
...
A board only needs to define:
#define RC_SERIAL_PORT "/dev/ttyS4"
Then it can optionally define one or more of the following:
#define RC_SERIAL_SWAP_RXTX
#define RC_SERIAL_SINGLEWIRE
#define RC_INVERT_INPUT(_invert_true) px4_arch_gpiowrite(GPIO_SBUS_INV, _invert_true)
2019-07-16 08:09:22 +02:00
Beat Küng
4b0afff33a
fmu-v5 init.c: remove unused include
2019-07-16 08:09:22 +02:00
Timothy Scott
2ed00c9cb6
Rover: Rewrote gnd_pos_control and removed gnd_att_control ( #12239 )
2019-07-11 09:39:13 -04:00
Daniel Agar
d4cd1d0d2e
NuttX stm32f7 fully re-enable dcache with write back ( #12435 )
...
- fixes https://github.com/PX4/Firmware/issues/12216
- includes latest PX4/NuttX and apps update 7.29+
2019-07-10 19:08:12 -04:00
Daniel Agar
dc10a68539
NuttX and apps update 7.29
2019-07-10 12:58:35 -04:00
Daniel Agar
15d1543f95
create systemcmds/i2cdetect tool to scan i2c bus
2019-07-06 10:28:16 -04:00
dlwalter
cbdfc0c587
px4_fmu-v5: rc.board_sensors start lis3mdl optional external magnetometer
2019-07-01 14:52:14 -04:00
Daniel Agar
5f20d3cf3b
Jenkins HIL increase boot timeout for stackcheck build
...
- px4_fmu-v5_stackcheck remove extra drivers (to try and get the system
usuable)
2019-06-15 16:59:04 -04:00
David Sidrane
6eb4cf0ceb
Add CUAV 5+ and Nano to fmu-v5 manifest
...
* rcS: Set SYS_USE_IO for Nano
2019-06-14 13:19:41 -04:00
Daniel Agar
bef7a9ba8e
NuttX boards increase task limit 32 -> 64 ( #12230 )
2019-06-10 09:42:36 -04:00
BazookaJoe1900
b0176dc88a
Pr cleanup board files ( #12218 )
...
Clear non exist functions definitions
Added RC Serial note before its relevant definitions
2019-06-08 15:48:53 -07:00
Beat Küng
d947818654
console: add simple dmesg functionality (enable only on v5)
2019-06-04 11:57:54 +02:00
Daniel Agar
f85c15e247
board common create generic dma allocator (from fat_dma_alloc)
2019-05-30 19:31:40 -04:00
Mohammed Kabir
b334b75886
Move optical flow drivers to own subdirectory
2019-05-28 23:23:38 -04:00
David Sidrane
ed8c6019d5
Added TI ina226 I2C power monitor ( #11755 )
2019-05-17 13:33:48 -04:00
Daniel Agar
f067ca0d8f
fmu-v2 & fmu-v5 add missing tone_alarm to example board variants
...
- fixes #12012
2019-05-13 15:49:22 -04:00
Beat Küng
226f3c0999
rc.board_sensors: probe for external qmc5883
2019-04-15 10:37:06 +02:00
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
2019-04-12 09:25:07 +02:00
Daniel Agar
5a50f96bcf
move icm20948 (Here GPS compass) to Cube sensors start ( #11838 )
2019-04-11 11:15:53 -04:00
David Sidrane
46c4a68b62
fmu-v5: Move stage 0 dcache disable to later in boot ( #11791 )
2019-04-04 11:07:28 -04:00
David Sidrane
1c212e3f84
M7 dcache ctrl via a parameter ( #11769 )
...
* Support for armv7-m_dcache control via parameter
The FORCE_F7_DCACHE parameter can be set to
0 - (default) if Eratta exits turn dcache off else leave it on
1 - Force it off
2 - Force it on
At boot the system will disable the d-cache if the silicon
has the 1259864 Data corruption in a sequence of Write-Through
stores and loads eratta.
Post nsh script execution the FORCE_F7_DCACHE paramater
will be used to set the d-cache to the state indicated
above.
2019-04-03 16:14:19 -04:00
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
2019-03-22 20:55:39 -04:00
Daniel Agar
3f890b6ab1
px4_fmu-v5 stackcheck compress defconfig
2019-03-21 08:41:01 -04:00
Daniel Agar
f6cd70bcc5
px4_fmu-v5 nsh compress defconfig
2019-03-21 08:41:01 -04:00
David Sidrane
3938574a4a
px4_fmuv5:Extend probes to CAP pins
...
This also fixes a typo in the GPIO defines
2019-03-18 16:16:23 -04:00
Hamish Willee
257b90958f
Correct links to example docs
2019-03-15 08:05:54 +01:00