Commit Graph
624 Commits
Author SHA1 Message Date
David Sidrane bef24b906e Removed v4pro cloned v4 inappropriate definitions (#6808)
* Remove remove safty swtich LED from FMU control

* Differentiate GPIO_BTN_SAFETY_FMU  from GPIO_BTN_SAFETY
2017-03-13 07:26:36 -10:00
Beat Küng 6debbcb20d navio: switch to new led uorb interface 2017-03-12 00:08:35 +01:00
Beat Küng b0439836f6 refactor drv_led.h: rename to drv_board_led.h
This makes it clear that it's used to control the board LED's, not external
LED's.
2017-03-12 00:08:35 +01:00
José Roberto de Souza 07921c9f3a aerofc: Use ram_flash dataman backend 2017-03-10 11:31:07 +01:00
Michael Schaeuble 06c5cb506a Enable ICM 20608 on Pixhawk Pro 2017-03-08 04:18:48 +08:00
José Roberto de Souza ef228b82aa boards: AeroFC: Make it a memory constrained system
The maximum number of missions was increased in almost 8 times in
recent commit: 9369262e63 navigator: allow more mission items.

As this board loads missions in RAM, now it don't have enough memory
to allocate causing dataman start to fail, so mark it as a memory
constrained system and reduce the number of maximum missions
supported.
2017-02-23 08:26:42 +01:00
Beat Küng df8f0da70c param & param_shmem: enable locking
We need to protect access to the param_values array. This is dynamically
allocated and resized (utarray_reserve() calls realloc). If some thread
was iterating the array while another was resizing the array, the first one
would iterate on a freed array, thus accessing invalid memory.

On NuttX this could lead to hardfaults in rare conditions.

Unfortunately we need to initialize the semaphore on startup, by calling
sem_init(). This adds a param_init() method called by every board/config
that uses the params (at least I think I've found all of them)
2017-02-17 11:27:08 +01:00
Phillip Kocmoud e4afce8b1b Add the 20602 start command for the AUAV x2.1 to the ROMFS rc.sensors file 2017-02-17 09:18:22 +01:00
Phillip Kocmoud 36e2bc8ae7 Fix AUAV X2.1 Board Config for 20608
These changes were required to fix support for the ICM-20608 after this commit:

https://github.com/PX4/Firmware/commit/f746141afe3499ae56e75b3db06409381ead2f4b

This has been tested!
2017-02-17 09:17:41 +01:00
José Roberto de Souza aa8fa2ae05 drivers: AeroFC: Add more leds
Also change the initial state of the leds to off.
2017-02-17 09:13:33 +01:00
Phillip Kocmoud ccfecd4ad2 Add support for the ICM-20602 to the Pixracer FMUv4 (#6577)
The current ICM-20608 is nearing EOL.

I have tested on both ICM-20608 and ICM-20602 based Pixracers.
2017-02-14 06:37:04 -10:00
Kevin 1167fba9ad px4fmu-v4pro : adding correct logic for overcurrent sensing 2017-02-12 13:52:41 +01:00
Kevin 62b4d2de0d Fixing code style 2017-02-12 13:52:41 +01:00
klopezal 089e50c574 px4fmu-v4pro : board configuration 2017-02-12 13:52:41 +01:00
David Sidrane 602279ad56 zubaxgnss-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane 29888659f2 s2740vc-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane c52a8544c1 px4flow-v2 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane 050b909b20 px4esc-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane 23ecb78552 px4cannode-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane 278d6bb717 esc35-v1 bootloader uses mfguid for hw_version unique_id 2017-02-04 22:27:04 +01:00
David Sidrane bc8b117e85 common board idenity cleanup and add mfguid to api
Remove the notion of legacy from the api. The board level code
   will perform the traslation to lecacy format on the STM32.
   new targets will not need to do this as there is no case
   where the serial number were used by mfg for tracking.

   Extend board common api to get mfguid and mfguid formatted

   This adds an api that return the MFGUID as an array of bytes
   or a string.

   The data is returned with the MSD at index 0 and the LSD at
   index PX4_CPU_MFGUID_BYTE_LENGTH-1.

   Removed all reodering defines from the api and hal
2017-02-04 22:27:04 +01:00
Lorenz Meier 82fa9a8d43 Update return type for power management call 2017-02-04 21:06:21 +01:00
Lorenz Meier 4f1842c9c4 TAP v1 config: Add support for external power management calls 2017-02-04 21:06:21 +01:00
Lorenz Meier 1ad03ed8ef Common: Add support for power management (on / off) from the flight controller side 2017-02-04 21:06:21 +01:00
Lorenz Meier 565a43dee0 Aero FC v1: Remove unused power management file 2017-02-04 21:06:21 +01:00
Lorenz Meier f7fa374656 Implement default board power control to allow software switch-off 2017-02-04 21:06:21 +01:00
Beat Küng 7c47991504 px4fmu-v4 board config: use PX4_SPIDEV_ICM_20608 instead of PX4_SPIDEV_ICM_20602
This is what's used according to https://pixhawk.org/modules/pixracer.
2017-01-31 23:38:50 +01:00
Daniel Agar ac06d665a3 astyle src/drivers/boards 2017-01-29 01:18:32 +01:00
David Sidrane f604b71838 tap-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 0088d17f4c px4nucleoF767ZI-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 59d95cd77b px4fmu-v5 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 3dc205f28a px4fmu-v4pro using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane cd1148f146 px4fmu-v4 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane d5059efdde px4fmu-v2 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane af4b8ee8ca px4fmu-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane f71d0eaf5a px4esc-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane d7fc536f06 px4cannode-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane bff54584fe px4-stm32f4discovery using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 5b2ceb7fda mindpx-v2 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 579f698e4c crazyflie using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane e484c3bab5 auav-x21 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane b955ef2876 aerofc-v1 using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 2cf8a1b432 aerocore using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 242f563d44 Adds a board common API for retriving the SoC' Silicon revision data/errata
This abstraction will support mcu's other than the stm32 family.
    It moves the systemlib/mcu_version.c functionality to
    common/stm32/board_mcu_version.c
2017-01-26 08:39:12 +01:00
David Sidrane 6368768d31 px4esc-v1 using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane ead65eb581 px4cannode-v1 using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane 8972308559 tap-v1 using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane 6b9d87821b px4nucleoF767ZI-v1 using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane 75bb427830 px4fmu-v5 using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane 5ede3772ee px4fmu-v4pro using board common identity api 2017-01-25 07:43:11 +01:00