David Sidrane
e5b10e808b
Pickup 2 Upstream NuttX PX4 contributions
...
1) Ensure if CONFIG_SERIAL_DMA is set that cdcacm uart_ops is initalized
with correct functions in correct slots.
This was detected only with PX4 build flags
2) C&P error from F7 would prevent CONFIG_STM32_SERIALBRK_BSDCOMPAT ifdefed
code from being included.
2016-12-21 08:34:22 +01:00
Lorenz Meier
5ce9a35e95
Update rotation for FMUv5 ICM sensors
2016-12-21 08:34:22 +01:00
David Sidrane
b250ec2730
Adding more Prudut IDs for ICM20689
2016-12-21 08:34:22 +01:00
Lorenz Meier
f9ed66fe8b
Board config for FMUv5: I2C bus naming consistency
2016-12-21 08:34:22 +01:00
Lorenz Meier
c220956961
MPU6K driver: More device names
2016-12-21 08:34:22 +01:00
Lorenz Meier
83e833c997
FMUv5 defconfig: Better defaults
2016-12-21 08:34:22 +01:00
Lorenz Meier
a7d31133ac
Sensors startup: Whitespace fix
2016-12-21 08:34:22 +01:00
Lorenz Meier
27201ba2a1
MPU6K: Support different device names
2016-12-21 08:34:22 +01:00
Lorenz Meier
3caff7cdca
HMC5883: Support additional I2C buses
2016-12-21 08:34:22 +01:00
Lorenz Meier
ace1f91355
I2C4: Fix GPIO setup
2016-12-21 08:34:22 +01:00
Lorenz Meier
3bbf5da85a
FMUv5: Set default GPS port
2016-12-21 08:34:22 +01:00
Lorenz Meier
fcc85f79d5
MPU6K: Make stop routine safe to call from any location in the startup code
2016-12-21 08:34:22 +01:00
David Sidrane
489ee58773
px4fmu-v5 starts ICM 20602 and ICM 20689
2016-12-21 08:34:22 +01:00
David Sidrane
749fd2f155
Added ICM 20689
2016-12-21 08:34:22 +01:00
David Sidrane
6ebd24a678
Added ICM20602
2016-12-21 08:34:22 +01:00
David Sidrane
05701a2830
Reorged px4fmu-v5 code up 32K now that bootloader is completed.
2016-12-21 08:34:22 +01:00
David Sidrane
120064b55d
WIP:Startup for FMUV5
...
Incomplete changes to startup script for FMUv5.
See "Place holder Need" in ROMFS/px4fmu_common/init.d/rc.sensors
2016-12-21 08:34:22 +01:00
David Sidrane
93996a6d6e
TAP uses BOARD_HAS_SHARED_PWM_TIMERS
...
Fixes https://github.com/PX4/Firmware/issues/5710
2016-12-21 08:34:22 +01:00
David Sidrane
0baab8263b
Fix the LED PWM support for non shared timers
...
This is the fixes https://github.com/PX4/Firmware/issues/5710
by adding 2 concepts.
1) Allowing a board to define BOARD_HAS_SHARED_PWM_TIMERS
in this case the io_timeris will be initalized as the
led_pwm_timers - there is an assumptionm that the
number of io_timers == the number of led_pwm timers
2) Allowing a board to define BOARD_LED_PWM_RATE
To set an alternate frequency
Future expansion will require:
1) The ability to have a config with both the I2C RGB LED and
PWM RGB LED drivers loaded.
2) The higher level driver to create multiple instances of the
/dev/rgbld, to support internal and external User facing
RGB LED as supported in FMUv5
2016-12-21 08:34:22 +01:00
David Sidrane
4712ed1889
Complete px4fmu-v5 Led configuration
2016-12-21 08:34:22 +01:00
David Sidrane
3f64bf81f3
RGB LED cleanup
...
Removed dead code and magic numbers
Defined the RGB LED to support 2 timers
2016-12-21 08:34:22 +01:00
David Sidrane
a81aceea58
Add SD_CARD_POWER_CTRL as logical interface for SD Power Control
...
Set inital State to ON
Add interface macro.
2016-12-21 08:34:22 +01:00
Lorenz Meier
a777cad102
ROMFS: output cosmetics on startup script
2016-12-21 08:34:22 +01:00
David Sidrane
5f82fc70be
CI Fixes
2016-12-21 08:34:22 +01:00
David Sidrane
116704ef50
Makefile add all Targets
2016-12-21 08:34:22 +01:00
David Sidrane
2957b8d7d4
Adding Carlo Woods's config cloning tool
2016-12-21 08:34:22 +01:00
David Sidrane
b7521e1b38
Adding Test for sending break on u[s]arts
2016-12-21 08:34:22 +01:00
David Sidrane
cc0a4248f8
PX4 System changes for new Boards
2016-12-21 08:34:22 +01:00
David Sidrane
f5a0c04ae8
Upstream NuttX irq{save|restor} -> {enter/leave}_critical_section
2016-12-21 08:34:22 +01:00
David Sidrane
3eee469fbc
Display the irq stack usage on the for the init thread (pid = 0)
2016-12-21 08:34:22 +01:00
David Sidrane
1781801151
Scope irq_state to function using it
2016-12-21 08:34:22 +01:00
David Sidrane
056bd5527d
New NuttX debug API
2016-12-21 08:34:21 +01:00
David Sidrane
5661370944
Changed to Upstream NuttX Instrumentation changes
2016-12-21 08:34:21 +01:00
David Sidrane
b7d7b567c0
Changes to px4iofirmware for Upstrem Nuttx c++ init and logging changes
2016-12-21 08:34:21 +01:00
David Sidrane
ff0e810b55
Nuttx changed CONFIG_DRAM_SIZE to CONFIG_RAM_SIZE
2016-12-21 08:34:21 +01:00
David Sidrane
b6362ed87c
Needed math.h
2016-12-21 08:34:21 +01:00
David Sidrane
3ed0bfe0d8
Nuttx added FIONSPACE and fixed FIONWRITE: had retuned the space and should have returned enqueued count
2016-12-21 08:34:21 +01:00
David Sidrane
81d00e730a
Portable fsync call
2016-12-21 08:34:21 +01:00
David Sidrane
dc8c6ea5e5
White space fixes
2016-12-21 08:34:21 +01:00
David Sidrane
dd2fe5d42f
Document and fix '${varname}' usage
2016-12-21 08:34:21 +01:00
David Sidrane
dec46927f7
RAND_MAX properly defined in upstream NuttX
2016-12-21 08:34:21 +01:00
David Sidrane
c9f10107c0
Nuttx Upgrade:Adds sem_setprotocol
2016-12-21 08:34:21 +01:00
David Sidrane
8610eced57
Changes to sim for upstream Nuttx
2016-12-21 08:34:21 +01:00
David Sidrane
b7cc04e0d2
Changes to tap_v1 for upstream Nuttx and hardfault logging
2016-12-21 08:34:21 +01:00
David Sidrane
402251819d
Changes to mindpx-v2 for upstream Nuttx and hardfault logging
2016-12-21 08:34:21 +01:00
David Sidrane
f149adac54
Changes to px4-stm32f4discovery for upstream Nuttx
2016-12-21 08:34:21 +01:00
David Sidrane
feda3e8c5c
Changes to px4io-v2 for upstream Nuttx
2016-12-21 08:34:21 +01:00
David Sidrane
63f04c1236
Changes to px4io-v1 for upstream Nuttx
2016-12-21 08:34:21 +01:00
David Sidrane
17633c0714
Changes to px4fmu-v4 for upstream Nuttx and hardfault logging
2016-12-21 08:34:21 +01:00
David Sidrane
c89c47e57e
Changes to px4fmu-v3 for upstream Nuttx
2016-12-21 08:34:21 +01:00