Vladimir Zidar
1680b436cd
LP-512 pios_usart: Shared ports support: Initializing same uart multiple times will return shared driver instance. Added uart configuration locking ioctl.
2017-05-30 15:08:32 +02:00
Vladimir Zidar
8edd7c1d7c
LP-519 F1: revert pios_sys.c clock management. Due to older (than f3 & f4) gpio architecture, we should not allow clocks for multiple peripherals with alternate functions routed to same io pin.
2017-05-18 12:41:31 +02:00
Vladimir Zidar
01f5baaed2
LP-480 Removed PIOS_BOARD_USART_Ioctl() and moved inverter handling to pios_usart directly. Handling is now conditionally built in based on PIOS_USART_INVERTER_PORT define.
2017-04-25 13:11:37 +02:00
Vladimir Zidar
05ee4b8dac
LP-480 Move PIOS_COM_SetHalfDuplex() functionality to IOCTL. Remove RX/TX mode and change parameter order for PIOS_COM_ChangeConfig() and com driver set_config to match the databits/parity/stopbits scheme (like for example 8N1).
2017-04-24 13:04:23 +02:00
Vladimir Zidar
9eb1f3b5e5
LP-480 Moved sensors initialization to pios_board_sensors.c
2017-04-24 13:03:07 +02:00
Vladimir Zidar
ddc4f3d855
LP-480 coptercontrol build ok
2017-04-24 12:55:10 +02:00
Vladimir Zidar
191f92ce91
LP-270 - Updated copyright years
2017-01-23 13:50:22 +01:00
Vladimir Zidar
4bb5bee32b
LP-270 - Add baud rate and mode parameters. Store working copy of usart init structure for private use, so we do not revert to original config before every change. Re-enable usart after changing parameters.
2017-01-23 13:39:40 +01:00
Alessio Morale
6d80b55c60
LP-270 - Implement PIOS_COM_ChangeConfig API (F1)
2017-01-23 13:39:39 +01:00
Alessio Morale
6226aec2a7
OP-943 uses pios_mem API for heap allocation
2014-06-11 22:15:40 +02:00
Mathieu Rondonneau
03b243fe31
OP-1079 - Update to FreeRTOS v7.5.2
2013-09-04 20:26:23 -07:00
Sexy Pony
900f643bbd
Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES
2013-05-19 17:37:30 +03:00
Alessio Morale
37eabb0931
Pointed type is explicitly used with sizeof when dealing with struct pointers.
...
+review OPReview-474
2013-05-19 12:00:16 +02:00
Stacey Sheldon
b56f5206bd
com/usart/cdc: ensure that device structs are memset before use
...
CDC and USART device drivers were not all clearing their
device structs before using them.
This specifically caused crashes in the case where the upper
COM layer was binding only a Tx path. The Rx path callback
in the lower driver was uninitialized random data and would
result in the lower driver faulting when it tried to call the
callback.
Conflicts:
flight/PiOS/STM32F30x/pios_usart.c
flight/PiOS/STM32F30x/pios_usb_cdc.c
flight/PiOS/STM32F30x/pios_usb_hid.c
2013-05-11 22:40:59 +02:00
Richard Flay (Hyper)
a2d8544931
OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required
...
to make the flight code compile again. Needs careful review, particularly all the fixes for the
signed vs unsigned comparisons.
+review OPReview-459
2013-05-05 16:32:24 +09:30
Oleg Semyonov
b6e1331e5d
Rename flight/PiOS->flight/pios
2013-04-25 13:13:41 +03:00