David Sidrane
54bd0a9f2a
px4fmu-v5:Using arch agnostic gpio init
...
Define the GPIO pin list use the board_gpio_init
8 years ago
David Sidrane
044b845c40
px4fmu-v5:Match GPIO_VDD_3V3_SD_CARD_EN and polarity to FMUv5 Pin Spec RC01
...
Removed extra V GPIO_VDD_3V3[V]_SD_CARD_EN and it is active High
8 years ago
David Sidrane
82dc6de19f
px4fmu-v5:Define the BOARD_NUMBER_BRICKS for future enumeration
...
When BOARD_NUMBER_BRICKS exists it will enable multiple
power source testing and reporting.
8 years ago
David Sidrane
b9f43068af
px4fmu-v5:Define the existance of the UI PWM LED and it's polarity
...
Per https://docs.google.com/spreadsheets/d/1-n0__BYDedQrc_2NHqBenG1DNepAgnHpSGglke-QQwY/edit#gid=730959725
Usage of the PWM UI led is optional and if used it's polaity may
be set ot Active low or high.
8 years ago
David Sidrane
33cd8c7093
px4fmu-v5:Fixed comment 8 PWM
8 years ago
David Sidrane
e20d685f40
px4fmu-v5:Add Timer and Channel to comment for HEATER
8 years ago
David Sidrane
c1eac11823
px4fmu-v5:Match signals names to FMUv5 Pin Spec RC01
8 years ago
David Sidrane
5669434585
px4fmu-v5:Define ADC GPIO and Channels clearly
...
Moving forward we want all the board configs to drive the
configuration. This is just cleanup to give a clear
example of how ADC should be defined by a simple list,
based on ADC pin number as related to the GPIO and
channel number. Then the xxx_CHANNEL bit are
used to form the ADC_CHANNELS (mask). The GPIO
will are used to for a list for initalization.
8 years ago
David Sidrane
5ba02d740c
px4fmu-v5:Group SPI signals by bus
8 years ago
David Sidrane
88c1521b5e
px4fmu-v5:Status LED's are driven open drain
...
Allows Anaode of LEDs to be tied to V5 or V3.3
8 years ago
David Sidrane
68e5764dbc
board common:Add arch agnostic gpio init
8 years ago
Simone Guscetti
ada48571d7
fmu-v5: fix timer config
8 years ago
Simone Guscetti
a00441ecf4
fmu-v5 timer_config: timer io channels for FMU_CH7/8
8 years ago
Simone Guscetti
a4d8bf56cc
fmu-v5 timer_config: set up the timers for v5 board
...
FMU_CH7/8 use timer 12 ch1/2
FMU_CAP use timer 2
Buzzer use timer 9
8 years ago
Simone Guscetti
bc793d15cf
fmu-v5 board_config: add FMU_CH7 and FMU_CH8
8 years ago
Simone Guscetti
db9bef352a
fmu-v5 board_config: config SPI5 sync and reset pins
8 years ago
Simone Guscetti
1e86f24cf9
fmu-v5 board_config: set up external spi
8 years ago
Simone Guscetti
74dfa8805f
fmu-v5 board_config: power A is the brick voltage sensing
8 years ago
Simone Guscetti
518383ada8
fmu-v5: update board config to the newest pin assigment
8 years ago
Simone Guscetti
308295f648
fmu-v5: fix compiling errors
8 years ago
Simone Guscetti
30f9c61e67
fmu-v5: started updating board config to newest specs
8 years ago
Julien Lecoeur
71136dcedf
Log_writer_file: Increase stack size
...
Test flights reported the warning `[load_mon] log_writer_file low on stack! (292 bytes left)`
Increase stack size from 1060 to 1072 (=8 + 1060 rounded to next multiple of 8).
8 years ago
Julien Lecoeur
bc006b81fc
can_boot_descriptor: python3 compatibility
8 years ago
Julien Lecoeur
87e9ad0caa
Patch NuttX/nuttx and NuttX/apps for new arm-none-eabi-gcc 7.1.0 warnings
...
Rename nuttx patch
Add nuttx patch for unused variable error
Pending nuttx patch
Backport nuttx fix for unused variables in nsh_proccmds.c
Fix Patch format
Modify pending patch to match new nuttx PR
Move accepted nuttx changes from pending patch to backport patch
8 years ago
Julien Lecoeur
940f2c3cca
Update libuavcan submodule, fix arm-none-eabi-gcc 7.1.0 warnings
8 years ago
Julien Lecoeur
61d6903b40
Fix -Werror=stringop-overflow on gcc 7
...
The error was:
Firmware/src/systemcmds/hardfault_log/hardfault_log.c:312:7: error: specified bound 30 equals the size of the destination [-Werror=stringop-overflow=]
strncat(marker, sp_name, sizeof(marker));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 years ago
Julien Lecoeur
abcb920df4
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
...
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7
Fix -Werror=implicit-fallthrough on gcc7
8 years ago
Julien Lecoeur
d477b1f0f4
Fix -Werror=stringop-overflow on gcc 7
...
This prevents the compiler from optimising pdump. The error was:
Firmware/src/drivers/boards/common/board_crashdump.c:41:2: error: 'memset' writing 3240 bytes into a region of size 4 overflows the destination [-Werror=stringop-overflow=]
memset(pdump, 0, sizeof(fullcontext_s));
8 years ago
David Sidrane
4349f49610
PX4 System:Expunge the nuttx adc structure from the system
...
This PR is preliminary ground work for FMUv5.
PX4 does not use the NuttX adc driver. But used the same format
for the data returned by the nuttx ADC driver.
There was a fixme:in src/platforms/px4_adc.h "this needs to be
a px4_adc_msg_s type" With this PR the need for
src/platforms/px4_adc.h goes away as the driver drv_adc.h now
describes the px4_adc_msg_t.
8 years ago
Carl Olsson
d92377a6e6
ekf2: remove unused function ( #7529 )
...
* ekf2: remove unused function
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
* ekf2: removed unused variable _mag_decl_saved
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
8 years ago
Beat Küng
c59d7baad8
replay: add backward compatibility for updated sensor_combined topic
8 years ago
Beat Küng
cef3a29ac9
refactor replay: split timestamp offset into separate method
8 years ago
Nicolae Rosia
950273dbcf
msg: ekf: switch to uin32_t for deltas, should be more than enough
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Nicolae Rosia
f1740bbf54
msg: ekf: fix comment, dt is in uS now
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Nicolae Rosia
0a22a9c47c
change gyro & accel dt from float to uint64. This has the benefit of
...
calculating the estimator timeslip correctly.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Nicolae Rosia
5618f34f3b
Remove usage of waitForUpdate/updateNotify, there are no users of this feature.
...
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Nicolae Rosia
67987d27d8
barosim: revamp driver
...
Current driver was copy pasted from a MS5611 driver.
The existing driver takes data from Simulator, not from
an actual device.
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Beat Küng
4ccbeb47c0
land_detector_main: fix documentation: rover -> ugv
8 years ago
Beat Küng
0949599f0a
dataman: fix compilation error
...
error: invalid conversion from ‘int’ to ‘dm_item_t’
and
error: no ‘operator++(int)’ declared for postfix ‘++’
8 years ago
Beat Küng
1c7941fc89
land_detector: fix too long lines in module documentation
8 years ago
Dennis Mannhart
eb17d4b5f3
MC landdetector: update description
8 years ago
Beat Küng
cf5df4489f
dataman: extend module documentation
8 years ago
Beat Küng
913cbc773e
px4moduledoc: extend validation: limit max line length to 120
8 years ago
Beat Küng
318c4497bd
dataman: fix typo
8 years ago
Beat Küng
620d37bc1c
fmu: remove tautology, fix pwm2cap2 mode for status
8 years ago
Beat Küng
8b64fc8a5e
Tools/px4moduledoc: add some comments, describe the regexes
8 years ago
Beat Küng
8a83fb7dc2
land_detector: use ModuleBase & add module documentation
8 years ago
Beat Küng
8d7481f9ac
load_mon: use ModuleBase & add documentation
8 years ago
Beat Küng
5aa8b455c2
crazyflie airframe: add maintainer
8 years ago
Beat Küng
69f0288649
aerofc airframe: RTF -> Ready to Fly Drone & add maintainer
8 years ago