David Sidrane
09d279b1e0
px4_esc-v1: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
3032643a0c
omnibus_f4sd: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
f943aa5d26
px4_cannode-v1:Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
122519c95f
nxp_fmuk66-v3: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
6e63985a10
intel_aerofc-v1: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
9294766658
gumstix_aerocore2: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
48f9d3f3d9
bitcraze_crazyflie: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
47e16e75f2
av_x-v1: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
6872c6900e
auav_x21: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
34aabed5e5
auav_esc35-v1: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
e7f8042e90
atmel_same70xplained: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
55559bc72c
airmind_mindpx-v2: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
2d7effa342
px4_io-v2: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
cf09a8e933
px4_micro_hal:Upstream nuttx GPIO_OUTPUT_ZER0->GPIO_OUTPUT_ZERO
2019-01-25 06:32:37 -08:00
David Sidrane
3f0c9d5df5
px4_micro_hal:Fix typo
2019-01-25 06:32:37 -08:00
David Sidrane
517add3c8c
auav_esc31-v1:Fix build
2019-01-25 06:32:37 -08:00
David Sidrane
869e476af9
uavcanesc:Add cdev
2019-01-25 06:32:37 -08:00
David Sidrane
0cc3bfb10b
flashfs:Track upstream nuttx CONFIG_ARCH_HAVE_PROGMEM
...
Upstream header file is conditional on CONFIG_ARCH_HAVE_PROGMEM
2019-01-25 06:32:37 -08:00
David Sidrane
8f308efa88
upstram NuttX CONFIG_EXAMPLES_NSH_CXXINITIALIZE->CONFIG_SYSTEM_NSH_CXXINITIALIZE
2019-01-25 06:32:37 -08:00
David Sidrane
5c23099eed
board_button_irq: API change in upstream
2019-01-25 06:32:37 -08:00
David Sidrane
f007c93785
mc_pos_control_main:Use discret init of poll struct
...
Suport upstream change in nuttx.
2019-01-25 06:32:37 -08:00
David Sidrane
78619514b7
ROMFS/CMakeLists build gencromfs
2019-01-25 06:32:37 -08:00
David Sidrane
e7bf0e03d2
px4_nuttx_tasks:Support future removal of env.
...
CONFIG_DISABLE_ENVIRON can prevent task having to allocate
memory for the env.
2019-01-25 06:32:37 -08:00
David Sidrane
88d0b163b5
common:board_crashdump must end in reset!
...
Upstream changes defer the board reset based on the vaule of
CONFIG_BOARD_RESET_ON_ASSERT
0 (or not defined) Do not reset on assert
>= 1 reset if assertion is in an interrupt handler or the idle task
>= 2 on any asertion.
up_assert is called from up_hardfault or an asertion failure.
Part 1 of up_assert will call out to the board_crashdump
Part 2 on return from board_crashdump will then perform
the reset.
board_crashdump needs a chunk of ram to save the complete
context in. It uses &_sdata which is the lowest memory and
it will corrupt that memeory. We can therfore can not allow
return to the OS, as it could depend on that area of RAM.
So all boards need to do a reset at the end of board_crashdump
2019-01-25 06:32:37 -08:00
David Sidrane
e358486ef7
aerofc-v1:Scope CRASHDUMP_RESET_ONLY to BOARD_CRASHDUMP_RESET_ONLY
2019-01-25 06:32:37 -08:00
David Sidrane
91d8c31f7b
Custom board naming, removed need for tools/nuttx_defconf_tool.sh
2019-01-25 06:32:37 -08:00
David Sidrane
5036a09e22
Add support from cromfs generation
2019-01-25 06:32:37 -08:00
David Sidrane
f2208171d5
Add callout for CONFIG_BOARDCTL_FINALINIT
2019-01-25 06:32:37 -08:00
David Sidrane
d122a35606
Add STM32 critical section monitor time resources
2019-01-25 06:32:37 -08:00
David Sidrane
f00d633196
flashfs:Upstream renamed up_progmem_erasepage to up_progmem_eraseblock
2019-01-25 06:32:37 -08:00
David Sidrane
1f54214224
stm32/drv_io_timer:GTIM_CCER_CC1NP not on all STM32 HW
...
The F1 series GTIMs to not have GTIM_CCER_CC1NP.
This bug fix tracks the upstream change that
made GTIM_CCER_CC1NP conditional on the chip.
2019-01-25 06:32:37 -08:00
David Sidrane
7ba81fac4b
Build copies the boards nuttx-config to build at Nuttx level
2019-01-25 06:32:37 -08:00
David Sidrane
d294b40fcb
Changes to suport Nuttx c++ lib rename
2019-01-25 06:32:37 -08:00
David Sidrane
e505fe859d
Update Nuttx and NuttX-apps to 7.28+
2019-01-25 06:32:37 -08:00
David Sidrane
5e53f73ad8
fmu-v5:Add Alias CUAV V5 REV:5, VER:1
2019-01-08 07:34:22 -08:00
David Sidrane
d676325ea5
Update Nuttx with env out of memory fix
2018-12-22 19:09:49 +01:00
David Sidrane
53bc357cda
nxphlite-v3:SDHC setting is for EMI issue with GPS and FCC ( #11029 )
...
This updating of the driver setting is for EMI issue with GPS and FCC.
With this setting the clock is sinusoidal
N.B. sd_bench fails on SanDISK HC, but Passes SanDISK **HC1** and
Kingston cards.
****Use HC1 or Kingston cards!***
Testing done on SanDISK HC all failed sd_bench with Drive/Slew other
than default and _PIN_OUTPUT_FAST|_PIN_OUTPUT_HIGHDRIVE
_PIN_OUTPUT_FAST|_PIN_OUTPUT_HIGHDRIVE Square noisy, pass SanDISK HC
_PIN_OUTPUT_FAST|_PIN_OUTPUT_LOWDRIVE Square noisy, pass SanDISK HC
_PIN_OUTPUT_HIGHDRIVE|_PIN_OUTPUT_SLOW sinusoidal fail SanDISK HC, pass SanDISK HC1
_PIN_OUTPUT_LOWDRIVE |_PIN_OUTPUT_SLOW sinusoidal fail SanDISK HC, pass SanDISK HC1
_PIN_OUTPUT_SLOW sinusoidal fail SanDISK HC, pass SanDISK HC1
2018-12-12 20:51:57 -05:00
David Sidrane
11f9925b02
rcS,rc.serial.jinja:ensure proper unset hygiene
...
Delete auto generated vars, and others that were missed.
2018-12-12 15:14:11 -05:00
David Sidrane
3e57067b35
fmu-v5:timer_config Move UI LED to 0 and condition status LEDS
...
If the BOARD_HAS_CONTROL_STATUS_LEDS is set the status LED will
not be PWM controlled.
UI LED will always be PWM controlled.
2018-12-02 10:34:04 +01:00
David Sidrane
7350808759
drv_led_pwm:Compile for either BOARD_HAS_LED_PWM or BOARD_HAS_UI_LED_PWM
2018-12-02 10:34:04 +01:00
David Sidrane
1d289f77e3
stm32:drv_led_pwm Null entry check
2018-12-02 10:34:04 +01:00
David Sidrane
f3e312e70e
fmu-v5:Default the Power LED on
2018-12-02 10:34:04 +01:00
David Sidrane
729d1c32d3
Rename nxphlite-v3 to NXP fmuk66-v3 ( #10927 )
2018-11-28 12:13:21 -05:00
David Sidrane
2d052c02fa
board_common:Use new PX4IO FW name on SD card and remove legacy V1 name
2018-11-26 14:40:14 -08:00
David Sidrane
cadda8c263
px4fmu_test:rcS use correct name for px4io bin
2018-11-26 14:40:14 -08:00
David Sidrane
b80fa5f2f5
px4fmu-v5:Remove old comment
2018-11-25 21:02:42 +00:00
David Sidrane
1d12827408
Commander:Replace color based LED manipulators with logical ones.
2018-11-19 14:32:47 -05:00
David Sidrane
fbc143dc55
sitl:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on sitl
2018-11-19 14:32:47 -05:00
David Sidrane
05ea187b1d
px4nucleoF767ZI-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4nucleoF767ZI-v1
2018-11-19 14:32:47 -05:00
David Sidrane
b37675fa76
px4fmu-v5:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v5
2018-11-19 14:32:47 -05:00
David Sidrane
26026b5d39
px4fmu-v4pro:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v4pro
2018-11-19 14:32:47 -05:00
David Sidrane
735830a483
px4fmu-v4:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v4
2018-11-19 14:32:47 -05:00
David Sidrane
90106c1fd2
px4fmu-v2:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v2
2018-11-19 14:32:47 -05:00
David Sidrane
e40a0839e9
px4-stm32f4discovery:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4-stm32f4discovery
2018-11-19 14:32:47 -05:00
David Sidrane
03aae61395
px4-same70xplained-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4-same70xplained-v1
2018-11-19 14:32:47 -05:00
David Sidrane
42a8a6ffac
omnibus-f4sd:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on omnibus-f4sd
2018-11-19 14:32:47 -05:00
David Sidrane
1da0021be9
nxphlite-v3:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on nxphlite-v3
2018-11-19 14:32:47 -05:00
David Sidrane
a12f26aee0
mindpx-v2:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on mindpx-v2
2018-11-19 14:32:47 -05:00
David Sidrane
3c6539257f
crazyflie:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on crazyflie
2018-11-19 14:32:47 -05:00
David Sidrane
e960978296
auav-x21:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on auav-x21
2018-11-19 14:32:47 -05:00
David Sidrane
aa30560d68
aerofc-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on aerofc-v1
2018-11-19 14:32:47 -05:00
David Sidrane
96ba6c1174
sitl led:Support logical LED operations in commander
...
add support for all the LEDS to support
BOARD_HAS_CONTROL_STATUS_LEDS
2018-11-19 14:32:47 -05:00
David Sidrane
0a1dd24af6
omnibus-f4sd:led clean up code and prevent out of bounds indexing
2018-11-19 14:32:47 -05:00
David Sidrane
dc29820bd9
Document the LED colors used
2018-11-19 14:32:47 -05:00
David Sidrane
98394afcc7
board common:Define default CONTROL_STATUS LED mapping
...
This commit is the groundwork to fix the power LED
blinking on V5
Background:
----------
Early boards only had an AMBER LED that was used to
indicate a High Load condition.
This change defines the new logical inteface
the LED_<color> should not be used in application
code moving forward, only the minipulator macros
should be used.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
Later boards defined BOARD_HAS_CONTROL_STATUS_LEDS
and added the use of a BLUE and GREEN LED that were
used as follows:
Logical usage Legacy default
------------------------+-------------
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
With this PR a board may now define _only_ a subset
the leds and map them at the board level to the
color LED it wants to use.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
when BOARD_HAS_CONTROL_STATUS_LEDS is defined
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
If any of the BOARD_{OVERLOAD|ARMED|ARMED_STATE}_LED are not
defined. The code output generates a null action for that
LED.
2018-11-19 14:32:47 -05:00
David Sidrane
8d15da379b
nxphlite-v3:Add HolyBro GPS on I2C 2 using ist8310
2018-11-09 15:04:51 -05:00
David Sidrane
71f809a20c
px4_micro_hal:Add STM32 stm32_gpiosetevent
2018-10-30 19:29:15 -04:00
David Sidrane
3e9e55150d
px4nucleoF767ZI-v1: use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
0658d4e2e5
px4fmu-v4pro:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
161288ef71
px4fmu-v4:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
0cd2d8f4aa
px4fmu-v2:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
9b4b831b22
px4-same70xplained-v1:Does not use hardfault_log
2018-10-25 07:52:37 +02:00
David Sidrane
4cda5513b9
omnibus-f4sd:use board_hardfault_init API and indicate on BLUE LED
2018-10-25 07:52:37 +02:00
David Sidrane
e0431911f9
nxphlite-v3:No Support for BBSRAM nor hardfault
2018-10-25 07:52:37 +02:00
David Sidrane
4353476b01
mindpx-v2:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
365c5d3ea7
crazyflie:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
082aa81ee9
av-x-v1:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
1e35fe189a
auav-x21:use board_hardfault_init API
2018-10-25 07:52:37 +02:00
David Sidrane
1856c4760d
aerocore2:Make sure errors light LED
2018-10-25 07:52:37 +02:00
David Sidrane
68ce4cf11d
aerofc-v1:Does not support bbsram no board_hardfault_init
2018-10-25 07:52:37 +02:00
David Sidrane
177251cc21
px4fmu-v5:use common board_hardfault_init
2018-10-25 07:52:37 +02:00
David Sidrane
74695f3cfb
stm32:add stm32 and stm32f7 board_hardfault_init
2018-10-25 07:52:37 +02:00
David Sidrane
2f6a297f3d
board_common:Add API for hardfault init
2018-10-25 07:52:37 +02:00
David Sidrane
99294b2040
fmu:Add Range checking for PWM5 modes
2018-10-23 08:15:28 +02:00
David Sidrane
640d10044c
NuttX update with i2c Backport
2018-10-19 20:08:01 -04:00
David Sidrane
a934d6e3f2
samv7:Fixed incorrect index populating px4_guid
2018-10-03 10:30:10 +02:00
David Sidrane
03948c1ad3
kinetis:Fixed incorrect index populating px4_guid
2018-10-03 10:30:10 +02:00
David Sidrane
0b17995e81
eagle:revert CMakeLists.txt to wrong sitl, add board identity API
...
This file was clearly clearly but built.
2018-10-03 10:30:10 +02:00
David Sidrane
66102adf43
ver:Removed UUID and MFGID
2018-10-03 10:30:10 +02:00
David Sidrane
bdaff018b7
samv7:Add PX4 GUID API
2018-10-03 10:30:10 +02:00
David Sidrane
43f6c4df77
kinetis:Add PX4 GUID API
2018-10-03 10:30:10 +02:00
David Sidrane
61935e8271
qurt:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
4e32ca45f1
sitl:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
d85452863d
rpi:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
3d96e2ef60
ocpoc:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
5fea494a2d
eagle:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
dc59e19bbb
Moved PX4_SOC_ARCH_ID from px4_micro_hal to board_common
2018-10-03 10:30:10 +02:00
David Sidrane
695a7f6839
board_common:Added missing END_DECLS from rebase
2018-10-03 10:30:10 +02:00
David Sidrane
ea1722274d
ver:Use Board identity API without ifdefs for overrides
2018-10-03 10:30:10 +02:00
David Sidrane
594da6247b
board_common:Make board indenty API required.
2018-10-03 10:30:10 +02:00