Eugene Shamaev
80859a9137
AP_HAL_PX4: HAL_RCINPUT_WITH_AP_RADIO definition
2018-05-22 08:35:01 +09:00
Andrew Tridgell
95df35f102
HAL_PX4: fixed build warnings
2018-05-21 15:02:34 +10:00
Andrew Tridgell
36ebb14b2e
HAL_PX4: take account of available bytes in receive_time_constraint_us
2018-05-21 14:53:18 +10:00
Andrew Tridgell
93cdb15aca
HAL_PX4: implement uart timestamp API
2018-05-16 18:49:22 +10:00
Andrew Tridgell
219d429929
HAL_PX4: fixed oneshot125 on non-alt outputs
2018-05-12 07:28:05 +10:00
Michael du Breuil
f9d1574f73
AP_HAL_PX4: Remove set_overrides() method
2018-05-11 12:13:39 +01:00
Peter Barker
83bb6e4a9a
AP_HAL_PX4: move delay callback handling to base HAL Scheduler class
2018-05-09 16:15:38 +10:00
Andrew Tridgell
7ecdabe52c
HAL_PX4: fixup
2018-04-14 06:22:07 +10:00
Andrew Tridgell
fae0e7befa
HAL_PX4: implement BRD_SAFETYOPTION
2018-04-14 06:22:07 +10:00
Andrew Tridgell
c3f0418333
HAL_PX4: handle oneshot125 separately
2018-04-07 09:10:29 +10:00
Andrew Tridgell
503bd9ce65
HAL_PX4: implement get_esc_scaling()
2018-04-07 09:10:29 +10:00
Andrew Tridgell
9942934f0d
AP_HAL_PX4: added IRQ save/restore to hal.scheduler
...
these are used by RPM driver
2018-04-07 09:10:29 +10:00
Andrew Tridgell
2933d4dd35
HAL_PX4: handle MODE_PWM_NONE enum
2018-04-07 09:10:29 +10:00
Andrew Tridgell
a9b4d37bd2
HAL_PX4: fixed build with DShot
2018-04-07 09:10:29 +10:00
Andrew Tridgell
25cc73c1e7
AP_HAL_PX4: added mask to set_output_mode()
...
this allows for some groups using dshot and some not
2018-04-07 09:10:29 +10:00
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
2018-03-23 08:12:38 +11:00
Holger Steinhaus
8b8a99e1aa
AP_HAL_PX4: fix possible overflow/truncation issue
...
bus_id is declared to be a 5 bit value, so 2 digits are necessary for
string representation.
2018-03-17 16:32:56 +01:00
Andrew Tridgell
fba962f7ff
HAL_PX4: allow for different LED pins
...
and fixed build
2018-02-14 18:27:00 +11:00
Andrew Tridgell
eb0389caf2
HAL_PX4: used cypress bus defines
2018-02-08 18:56:51 +11:00
Andrew Tridgell
a8af1974d2
HAL_PX4: hook into AP_Radio for RC input
2018-02-08 17:36:33 +11:00
Peter Barker
ddb2f4b5ad
HAL_PX4: define cypress SPI bus
2018-02-08 17:36:33 +11:00
Siddharth Purohit
17fef4b630
HAL_PX4: add support for api change in AP_HAL::CANManager
2018-02-07 20:33:45 +11:00
Andrew Tridgell
0f079deebf
HAL_PX4: Storage::_timer_tick is an override
2018-02-07 20:33:45 +11:00
Andrew Tridgell
25ea60da69
HAL_PX4: implement _timer_tick in UARTDriver
2018-02-07 20:33:45 +11:00
murata
cdfca9d9ea
AP_HAL_PX4: delete \n from the log using gcs().send_text
2018-02-02 09:40:55 +09:00
Andrew Tridgell
a99b690d49
HAL_PX4: use calloc for malloc_type()
...
this ensures that EKF memory is zero on start
2018-01-17 11:22:05 +11:00
bugobliterator
e591265329
HAL_PX4: change dma_allocate api to malloc_type
2018-01-15 11:46:02 +11:00
Andrew Tridgell
ded22a6766
HAL_PX4: fixed I2C get_device() interface
...
just stubs for now
2018-01-15 11:46:02 +11:00
Andrew Tridgell
c62dbcdb62
HAL_PX4: allow for printf from multiple threads
...
this is useful for hal.console
2018-01-15 11:46:02 +11:00
Andrew Tridgell
979ee67c19
HAL_PX4: cope with failed flash writes
...
we need to recover from possible bad flash
2018-01-15 11:46:02 +11:00
Randy Mackay
9b81c133f6
AP_HAL_PX4: fix compiler warning in UARTDriver
2017-12-09 12:18:49 +09:00
Andrew Tridgell
4289190654
HAL_PX4: added LIS3MDL on FMUv4
2017-12-08 09:49:25 +11:00
Mark Whitehorn
b1b1c0218f
AP_HAL_PX4: clean whitespace
2017-11-30 10:20:04 +11:00
Mark Whitehorn
12ea8efa84
AP_HAL_PX4: support SBusOut
...
add unbuffered writes and uart config
2017-11-30 10:20:04 +11:00
Andrew Tridgell
3402d07651
HAL_PX4: fixed a race condition on i2c init
...
we could call init on two devices with the same name, which caused
init_ok to be false. This could cause the SMBus battery to fail to
initialise
Thanks to Michael duBreuil for finding this!
2017-10-26 18:21:56 +11:00
Lucas De Marchi
f6b1099896
AP_HAL: move in tap esc implementation
...
This can be shared with Linux.
2017-09-21 07:59:20 -07:00
Peter Barker
8d208ea514
AP_HAL_PX4: make in_main_thread const and override
2017-09-19 09:40:11 +10:00
VikingDai
9f0e8a64d5
Update HAL_PX4_Class.cpp
...
"ttys5" used both for console and common usart ,it should be initialized by AP_SerialManager ;
2017-09-08 10:33:40 +10:00
Andrew Tridgell
d09b549144
HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3
2017-08-28 17:57:28 +10:00
Peter Barker
48c4e48225
AP_HAL_PX4: send statustext for RC input decoding type
2017-08-15 22:04:00 +01:00
Miguel Arroyo
fc155eac7e
AP_HAL_PX4: Adds UARTF as commandline option
2017-08-15 14:31:51 +01:00
José Roberto de Souza
9ee007f924
AP_HAL_PX4: Map PX4_I2C_BUS_EXPANSION1
2017-08-04 12:47:01 -07:00
José Roberto de Souza
e674d6ee20
AP_HAL_PX4: aeorfc: Move GPS to UART7
...
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to
have one additional I2C.
To keep GPS working is also necessary update the FPGA RTL to version
0xC1 or higher.
2017-08-04 12:47:01 -07:00
Lucas De Marchi
5ea1784838
global: remove AP_HAL::in_timerprocess()
...
This is not used and in the only places it would make sense would be
internally to the scheduler so remove it.
2017-08-03 20:25:14 -07:00
Lucas De Marchi
9e66938f68
AP_HAL_PX4: Scheduler: replace use of in_timerprocess()
...
This function actually checks if we are not in the main thread rather
than if we are in the timer thread.
Add a new function that does what it's supposed to do.
2017-08-03 20:25:01 -07:00
Randy Mackay
687ec98e5d
AP_HAL_PX4: set default servo update rate only when changed
...
This removes the chance a small switch occurring whenever this function is called
2017-07-26 13:28:07 +09:00
Andrew Tridgell
5b43698e25
HAL_PX4: added rcout set_detault_rate()
2017-07-24 14:07:28 +10:00
Kevin Lopez Alvarez
16a96b0643
HAL_PX4: Adjust SPI params for ppro
...
Add SPI prescalers for 180 MHz and decrease LIS3MDL SPI speed
2017-07-24 13:48:20 +10:00
Kevin Lopez Alvarez
88958b2dbf
HAL_PX4: add ppro support
2017-07-24 13:47:06 +10:00
Kevin Lopez Alvarez
d6d1a3e08c
AP_HAL_PX4: initial FMUv4pro support
2017-07-24 13:45:37 +10:00