Commit Graph
100 Commits
Author SHA1 Message Date
David Sidrane f3e925497d board_common:Break into internal and public api.
Internal functions are public functions that should realy only
   be called by the board config.
2017-09-29 10:13:51 -04:00
David Sidrane 9cc7148211 board_common:Documentation clean up merged 2017-09-29 10:13:51 -04:00
David Sidrane 3c384f1890 Updated nuttx and apps submudule 7.22+ ==px4_firmware_nuttx-master 2017-09-29 10:13:51 -04:00
David Sidrane 7dc8f215f6 samv7 board identity:fix sign-compare 2017-09-29 10:13:51 -04:00
David Sidrane 83d870900c kinetis board identity:fix sign-compare 2017-09-29 10:13:51 -04:00
David Sidrane 7c5f3ea623 kinetis io timer:fix sign-compare 2017-09-29 10:13:51 -04:00
David Sidrane c44cfbf87e nxphlite-v3 spi:fix sign-compare 2017-09-29 10:13:51 -04:00
David Sidrane f83df2a9a6 Updated nuttx submodule 7.22+
Updated to latest upstream with PX4 contrib for STM32 I2C that
  fixes an hang in driver.
2017-09-29 10:13:51 -04:00
David Sidrane 1c6dc4b84c Updated nuttx and apps submodules to Nuttx 7.22+ ==px4_firmware_nuttx-master 2017-09-29 10:13:51 -04:00
David Sidrane c6eec29dec sensors:Rework battery connected logic
A battery is considered connected when a) V > BOARD_ADC_OPEN_CIRCUIT_V
   and if BOARD_ADC_OPEN_CIRCUIT_V > BOARD_VALID_UV connected
   is further qualifed by the Valid signal.
2017-09-29 10:13:51 -04:00
David Sidrane d95e985f59 px4fmu-v5:Set non default BOARD_ADC_OPEN_CIRCUIT_V
Due to higher bias, V open circuit on the ADC is high with a 1M
   termination. This override the default connected threshold on
   V5 HW. Revist once lowe termination is chosen.
2017-09-29 10:13:51 -04:00
David Sidrane ef5d808f6d px4fmu-v4pro:Override default BOARD_VALID_UV
Based on the R values on the LTC4411 the px4fmu-v4pro has a
   UV of 4.01 Volts.
2017-09-29 10:13:51 -04:00
David Sidrane 5018723eb2 board_common:Define defaults for Open circuit max and UV min
BOARD_ADC_OPEN_CIRCUIT_V is the voltage present on an ADC due
   to the bias current on the terminition resistor.

   BOARD_VALID_UV is the under voltage min set by resistors on a
   board's Power selector.

   A battery is considered connected when the Voltage measures is
   greater than BOARD_ADC_OPEN_CIRCUIT_V.

   In the case where BOARD_ADC_OPEN_CIRCUIT_V is greater then
   BOARD_VALID_UV we can use the HW to qualify connected.
2017-09-29 10:13:51 -04:00
David Sidrane 25fef84f98 px4fmu-v5:board.h fixed typo in comment 2017-09-29 10:13:51 -04:00
David Sidrane 24eb56aa27 battery:Only change the warning level on a connected battery.
Connected is assumed when the battery voltages is greater than
   a predefined level.
2017-09-29 10:13:51 -04:00
David Sidrane 63ac56aeb0 smt32 adc:Ensure the the ADC clock is not out of spec
The data sheet for the F4, F7 indicate a maximum of 36 Mhz
   in the 2.4-3.3 volt Soc operating range. This change sets
   the clock based on the STM32_PCLK2_FREQUENCY.
2017-09-29 10:13:51 -04:00
David Sidrane dcf8d82f8c px4fmu-v5:Update to use CONFIG_STM32F7_FLASH_ART_ACCELERATOR
Upstream change on F7 CONFIG_STM32F7_FLASH_PREFETCH and
   CONFIG_ARMV7M_ITCM are now contorled by
   CONFIG_STM32F7_FLASH_ART_ACCELERATOR
2017-09-29 10:13:51 -04:00
David Sidrane 822b390420 Update nuttx and apps submodule 7.21+==px4_firmware_nuttx-master 2017-09-29 10:13:51 -04:00
David Sidrane f641c1e15e Updated nuttx submodule 7.21+ ==px4_firmware_nuttx-master 2017-09-29 10:13:51 -04:00
David Sidrane 8b2ee2cb33 Updated nuttx submodule 7.21+ 2017-09-29 10:13:51 -04:00
David Sidrane 8fe1abf8ff nxphlite-v3:Add fxas21002c to rc.sensors 2017-09-29 10:13:51 -04:00
David Sidrane d0853092f5 nxphlite-v3:add fxas21002c driver to board build 2017-09-29 10:13:51 -04:00
David Sidrane 3d6ebc0081 Added NXP fxas21002c 2017-09-29 10:13:51 -04:00
David Sidrane 9bc1884e83 nxphlite-v3:Init and control Sensor reset pins in board init 2017-09-29 10:13:51 -04:00
David Sidrane 929c5d9b5e Updated NuttX submodule with upstream 7.21+ 2017-09-29 10:13:51 -04:00
David Sidrane 32d434fa8f fxos8700cq:Fixed typo 2017-09-29 10:13:51 -04:00
David Sidrane 11e518f494 nxphlite-v3:Schedule work queue with higher priority as on master
was:CONFIG_SCHED_HPWORKPRIORITY=192
    is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane bb78e71452 Using master README 2017-09-29 10:13:51 -04:00
David Sidrane f7d42a9e41 px4-same70xplained-v1:Moved px4-same70xplained-v1 specific README to board dir 2017-09-29 10:13:51 -04:00
David Sidrane 7a5f58a607 px4-same70xplained-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane a61b7203bf px4-same70xplained-v1 nsh:Refreshed config 2017-09-29 10:13:51 -04:00
David Sidrane bff33ba9dc px4-same70xplained-v1:Refreshed config 2017-09-29 10:13:51 -04:00
David Sidrane 4fdce9bf21 px4-same70xplained-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 6a4120c44c px4-same70xplained-v1:Schedule work queue with higher priority as on master
was:CONFIG_SCHED_HPWORKPRIORITY=192
    is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00
David Sidrane 442f79dac6 same70xplained-v1:use px4_micro_hal PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping 2017-09-29 10:13:51 -04:00
David Sidrane 5d33b602f3 px4-same70xplained-v1:Updated to upstream master
Airspeed changes
   add FastRTPS
2017-09-29 10:13:51 -04:00
David Sidrane 4b5d585e57 kinetis:Add define for PX4_NUMBER_I2C_BUSES 2017-09-29 10:13:51 -04:00
David Sidrane f56940e654 README for px4-same70xplained-v1 2017-09-29 10:13:51 -04:00
David Sidrane f04ddf4368 Inital Commit of px4-same70xplained-v1 2017-09-29 10:13:51 -04:00
David Sidrane 0da1c79aa3 Adding Kinetis board common identity to micro hal 2017-09-29 10:13:51 -04:00
David Sidrane 69ac5adf89 drv_sensor:Fix merge by adding new NXP sensors after what was on master 2017-09-29 10:13:51 -04:00
David Sidrane 96b4e5b512 zubaxgnss-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 17bf776af3 tap-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane e53a06429c s2740vc-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 3f267a5cb2 px4nucleoF767ZI-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane c71e01bd44 px4fmu-v5 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane e4f47d4faa px4fmu-v4pro nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 68679a3e8e px4fmu-v4 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 24446f0c88 px4fmu-v3 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 6955a4c040 px4fmu-v2 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane c760278d0f px4esc-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane c7f3e84bf4 px4cannode-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 92411e7195 px4-stm32f4discovery nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 1a98f3c149 nxphlite-v3 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 3c25e8d899 mindpx-v2 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 0d82e807fe esc35-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane ad6d0304a9 crazyflie nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 202377dd4e auav-x21 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 04a61d47cb aerofc-v1 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane e95b760257 aerocore2 nsh:Optimize memset for speed 2017-09-29 10:13:51 -04:00
David Sidrane 24d1481bfb zubaxgnss-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 33c4a759d4 zubaxgnss-v1:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 8063451a97 tap-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 973def1a91 s2740vc-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 25b7a7fa6c s2740vc-v1:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 859a694d42 px4-stm32f4discovery:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane b3c973f3ae px4nucleoF767ZI-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 813bb29511 px4fmu-v5:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 80101f8882 px4fmu-v4pro:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane bdc2397238 px4fmu-v4:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 9b326b1c8a px4fmu-v2:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 9e6dcf7261 px4flow-v2:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 4483c1756f px4esc-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 9368c2e675 px4esc-v1:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane c637191e8f px4cannode-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 8beb30db99 px4cannode-v1:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane c6c636c8b2 nxphlite-v3:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane f22ea147ec mindpx-v2:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane bcd832893f esc35-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane d882a39de4 esc35-v1:bootloader Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane caf06ef6fa crazyflie:nsh Refreshed config 2017-09-29 10:13:51 -04:00
David Sidrane 3c626424b1 auav-x21:nsh Refreshed config 2017-09-29 10:13:51 -04:00
David Sidrane 8a8448ee82 aerofc-v1:nsh Refresh config 2017-09-29 10:13:51 -04:00
David Sidrane 770a27d47c aerocore2:nsh Refreshed config 2017-09-29 10:13:51 -04:00
David Sidrane d12e1bc0ab px4fmu-v3:nsh Refreshed defconfig 2017-09-29 10:13:51 -04:00
David Sidrane 86c52e2ecf Tools:nuttx_defconf_tool upstream has CONFIG_START_YEAR etal
Re insetion of CONFIG_START_{YEAR|NONTH|DAY} is not needed as
   CONFIG_START_{YEAR|NONTH|DAY} have been defined always in
   upstream NuttX
2017-09-29 10:13:51 -04:00
David Sidrane 1991c27749 px4fmu-v2:Removed commented out unit_test module removed on master 2017-09-29 10:13:51 -04:00
David Sidrane 65210ff1e5 nxphlite-v3:Removed unit_test module removed on master 2017-09-29 10:13:51 -04:00
David Sidrane 78e2aef7b5 Update Nuttx Submodule ==upstream
Latest uptake from upstream.
2017-09-29 10:13:51 -04:00
David Sidrane edd741ea76 tap-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 72cdf1de12 sim nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 4e86bc7620 px4nucleoF767ZI-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 0f5c75b4c6 px4esc-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 054d489b96 px4-stm32f4discovery nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane c239405383 nxphlite-v3 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane ea0dd5827b esc35-v1 nsh: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
Updated to match master
   This is needed when logger is logging to file and ulog streaming gets
   activated
2017-09-29 10:13:51 -04:00
David Sidrane 8e1e67d8af Updated NuttX submodule to upstream 7.21+ ==upstream
Bugfix for random SD card failures on px4fmu-v5 (STM32F7)

    Update to upstream with PX4 contrib for STM32F7 DMA preflight
    on SDMMC (SDIO) and DMA add dcache alignment check in
    stm32_dmacapable when needed: The case were dcache is in
    write-buffed mode.
2017-09-29 10:13:51 -04:00
David Sidrane 306f3c5331 px4fmu-v5:Updated defconfig to latest NuttX 2017-09-29 10:13:51 -04:00
David Sidrane e02f1a8d0f Update NuttX submodule ==upstream
Updated to upstream with C++14 fix
2017-09-29 10:13:51 -04:00
David Sidrane c4dae5e36e px4nucleoF767ZI-v1:Schedule work queue with higher priority as on master
was:CONFIG_SCHED_HPWORKPRIORITY=192
is:CONFIG_SCHED_HPWORKPRIORITY=249
2017-09-29 10:13:51 -04:00