Daniel Agar
ecf2cd3afb
CAN node STM32F7 support and Freefly RTK GPS CAN node
2021-05-16 13:10:02 -04:00
David Sidrane
69e0c2fc10
px4:platform support SPI configuration selection on HW REV
2021-05-10 09:11:50 +02:00
David Sidrane
3d166d3279
PWM:Add Channel mask to up_pwm_servo_arm & up_pwm_servo_deinit
2021-05-05 20:48:06 +02:00
David Sidrane
362db92515
Define PX4_MAKE_GPIO_INPUT_PULL_DOWN
2021-05-05 20:48:06 +02:00
David Sidrane
dcbfc9de2d
io_timer:Fixed imposible logic
2021-05-05 20:48:06 +02:00
David Sidrane
cd2aceb363
stm32_common:board_reset Fix reboot -b broke by canbootloader
2021-05-03 05:21:25 -07:00
David Sidrane
833501dee6
stm32h7:adc fix temperature sensing
2021-03-19 15:48:47 +01:00
dinomani
4bf894a35d
Update platforms/nuttx/src/px4/stm/stm32h7/include/px4_arch/micro_hal.h
...
Co-authored-by: David Sidrane <David.Sidrane@Nscdg.com >
2021-03-18 06:13:24 -07:00
dino
44b2e0b729
As David request
2021-03-18 06:13:24 -07:00
dino
7c8b7fa44d
Fixed typo and added support for H7 temperature sense on ADC3
2021-03-18 06:13:24 -07:00
dino
6d04a67b02
Moving define to microhal.h files, for each ST architecture. Correct channels were verified with ST_CUBE header files. For the H7 its a simplification for the current used H7x3. Other devices in that family expect the temperarture on channel 18.
...
F1: channel 16
F3: channel 16
F4: channel 18
F7: channel 18
H7: channel 17, on STMf32Hx3
2021-03-18 06:13:24 -07:00
dino
528dc41822
changed #elif to #else, to build on all targets
2021-03-18 06:13:24 -07:00
dino
3c77ef7eb3
Fixed adc config, to read internal reference to get cpu temperature
2021-03-18 06:13:24 -07:00
David Sidrane
45d0603627
micro_hal:Fixed DCACHE_LINESIZE abuse
2021-03-17 05:27:53 +01:00
Daniel Agar
e0ade94d25
platforms: add px4_udelay and px4_mdelay
...
- NuttX: up_udelay and up_mdelay
- Linux: usleep and msleep
2021-02-26 17:56:14 -05:00
David Sidrane
9fd7eb5944
canbootloader:Per UAVCAN call display Percentage not KB
2021-02-24 19:20:15 +01:00
David Sidrane
a1be559978
canbootloader:Remove Rate limiting on FW update
2021-02-24 19:20:15 +01:00
David Sidrane
fd0494555c
canbootloader:stm32_boarddeinitialize->board_deinitialize
2021-02-24 19:20:15 +01:00
David Sidrane
944536fa50
canbootloader:Remove duplicated file from bring it back to repo
2021-02-24 19:20:15 +01:00
David Sidrane
dd3c3098f2
nxp_ucans32k146:Add Can Bootloader build
...
nxp_ucans32k146:Relocation for Bootloader
nxp_ucans32k146:can_boot enable CAN
nxp_ucans32k146:Save Space use Non Optimize memcpy
nxp_ucans32k146:Increase to 24K
nxp/ucans32k146:Canbootloader LED Driver
nxp_ucans32k146:Can bootloader shut down CAN
nxp_ucans32k146:Use NVMEEPROM for Paramaters
nxp_ucans32k146:Use bootloader AppDescriptor
px4 mtd:Support onchip emulated eeprom
2021-02-24 19:20:15 +01:00
David Sidrane
62c0c96749
canbootloader:Use Micro hal and arch selection
...
nxp/s32k14x:board_identity: Return length of mfguid
nxp/s32k14x:CAN driver
nxp/s32k14x:Drver Added ABORT on error
canbootloader:Use N words for first word
canbootloader:Ensure the up_progmem API always defined
2021-02-24 19:20:15 +01:00
David Sidrane
3ef93823f4
srgbled:Fix warning
2021-02-24 08:05:39 -08:00
David Sidrane
5ea56af5f0
canbootloder:Make support for ALT Bootloader an Option
2021-02-17 22:47:35 -05:00
David Sidrane
51b54c025b
canbootloader:Send number of KB written while updating FW
2021-02-17 22:47:35 -05:00
David Sidrane
d426dd771f
canbootloader:Ensure common crc is set valid after autobaud
2021-02-17 22:47:35 -05:00
David Sidrane
58e5c8fbca
canbootloader:Prefer bootloader_app_shared over bootloader_alt_app_shared
2021-02-17 22:47:35 -05:00
David Sidrane
8943644566
board_common:Add board_configure_reset and board_booted_by_px4 API
2021-02-17 22:47:35 -05:00
David Sidrane
6ea06892ac
Fix case were descriptor has no or bad length
2021-02-17 22:47:35 -05:00
David Sidrane
ef29ed7db3
Uavcan bootloader Starts Watchdog for Application
2021-02-17 22:47:35 -05:00
David Sidrane
77d0eae40b
Add SMT32F4xxx Watchdog driver
2021-02-17 22:47:35 -05:00
David Sidrane
760e47bbf9
uavcan bootloader use new AppDes
2021-02-17 22:47:35 -05:00
Daniel Agar
ab0d0fd0be
uORB move to PX4 platform layer
2021-02-17 11:25:56 -05:00
David Sidrane
9e1b13683f
Add hardware ver/rev to st32f4
2021-02-05 19:55:16 -05:00
Alexey Rogachevskiy
c01d459011
Add support for STM32F42x/STM32F43x rev. 5/B ( #15407 )
...
* stm32_common: Add support for STM32F42x/STM32F43x rev. 5/B
According to ST, both 5 and B share the same REV_ID.
Signed-off-by: Alexey Rogachevskiy <sfalexrog@gmail.com >
* stm32_common: Change comment to match code, change enum names to match revisions
2021-01-31 12:34:16 +01:00
David Sidrane
1375221c56
srgbled_dma:Fix wrong timer init
2021-01-29 21:36:12 +01:00
Daniel Agar
347c185967
UAVCAN bootloader merge duplicate boot_app_shared
2021-01-26 10:21:29 -08:00
David Sidrane
2c4d1d8fe0
Add SK6812 Serial PWM LED DMA Driver
2021-01-23 09:30:59 -05:00
David Sidrane
64531c4521
Add SK6812 Serial PWM LED Driver
2021-01-23 09:30:59 -05:00
Beat Küng
3e4b8763a5
nuttx: add mcp23009 gpio driver
2021-01-15 10:57:20 -05:00
David Sidrane
1e7dfe227a
stm32_common:board_hw_rev_ver Use Analog resistor detection
...
When the VER_DRIVE and REV_DRIVE are the same GPIO
we need to use Analog detection.
2021-01-15 10:57:20 -05:00
David Sidrane
2deef30d12
canbootloader:Add 48Mhz CAN Clock Settings
2021-01-13 22:06:46 -05:00
David Sidrane
54abd997de
canbootloader:Update to use NuttX
2021-01-13 22:06:46 -05:00
David Sidrane
271f87f8d2
canbootloader:Fixed Warning
2021-01-13 22:06:46 -05:00
David Sidrane
171cb7119e
nxp_imxrt,rt106x add imxrt_gpiosetevent
2020-12-04 12:59:09 -05:00
David Sidrane
e83a00c604
px4_manifest:Add Queries
2020-12-02 20:40:23 -05:00
David Sidrane
68ab736b16
Refactor mtd to make available to board startup
2020-12-02 20:40:23 -05:00
Alex Mikhalev
91d1825fcf
Fix non-determinstic boot hang with crashdumps
...
On boot, if board_hardfault_init finds a hardfault stored in BBSRAM, it
checks if there is any data available on stdin to see if there is
somebody there to respond to a prompt. But on boards such as cubeorange
where there is not a serial console by default, the ioctl fails and
bytesWaiting is uninitialized. So it will non-deterministally hang the
boot process with no outside feedback if that value is not zero.
Signed-off-by: Alex Mikhalev <alexmikhalevalex@gmail.com >
2020-11-05 12:41:01 -08:00
David Sidrane
8797823333
px4_init:Split out console init to create null device to be used in non PX4 platform bsp (bootloadres)
2020-10-28 14:25:25 -04:00
David Sidrane
021bc284c1
nxp:imxrt ADC track Rev02 of ref manual change made in upstream
2020-10-28 14:25:25 -04:00
David Sidrane
78221ee3d2
s32k1xx:Add PWM LED Support
2020-10-15 12:52:38 -07:00