Commit Graph

45 Commits

Author SHA1 Message Date
jflyper 61a87480b3 Rebased on to master (with merged CMS) 2016-11-15 15:46:43 +09:00
blckmn 58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
blckmn 8dc3bee80d Adding DMA ownership for ADC, LED STRIP, USART and MOTOR 2016-11-08 13:47:37 +11:00
jflyper ab7bb1342a wit (rebase onto master) blind merge 2016-11-01 11:57:09 +09:00
nathan 3665d763d4 cleanup stm32f3 serial uart1 to match the other uarts 2016-10-28 22:00:34 -06:00
Nathan a5894f1c24 disable uart tx dma when using dshot on the spracingf3 (#1412) 2016-10-26 20:33:45 -06:00
Martin Budden 53981adbb7 Renamed serial port callback 2016-10-12 08:39:06 +01:00
jflyper d26a1873d0 Removed rescheduling code and superfluous includes 2016-10-08 23:24:51 +09:00
jflyper c724b7c4ee SERIAL_BIDIR_PP option
Required for SmartAudio Support with single wire connection and without
external pull-up.

Tested with F3 only. F1 and F4 has untested mods, and Softserial
haven’t been touched.
2016-10-08 23:24:43 +09:00
Michael Jakob 167aaade9b F3 UART IO fix 2016-07-27 23:18:50 +02:00
Martin Budden 141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden 3d8ee50934 Removed unnecesary #includes from drivers 2016-07-11 18:45:35 +01:00
Evgeny Sychov 95a22053d7 avoid warnings 2016-07-09 20:28:18 -07:00
Evgeny Sychov b909c70353 merge branch master into osd-improvement-master 2016-07-09 20:19:25 -07:00
Martin Budden ea283ab98c Converted tabs to spaces 2016-07-09 14:39:39 +01:00
blckmn 67d448d8ea Improved Resource command output. 2016-07-09 17:03:16 +10:00
blckmn c4e75e456c Move to UART naming convention where possible (rather than USART). 2016-07-09 14:51:23 +10:00
blckmn 5f03470557 STM32F1/3: convert serial UART to IO code 2016-07-09 14:51:23 +10:00
Evgeny Sychov acdcff176f Merge remote-tracking branch 'origin/development' into osd-improvement 2016-07-02 16:20:28 -07:00
Read Error 7529213e9c Addition of UART4/5 to F3 2016-07-02 07:01:13 -04:00
Evgeny Sychov 2d070a3507 Re-design DMA driver 2016-07-01 01:53:45 -07:00
borisbstyle 3a156f98ab Fix LED_STRIP feature // Add DMA drivers // UART fixes 2016-02-10 22:36:05 +01:00
Read Error 4eb6581b76 Allow USART1 to be used for SERIAL_RX 2015-10-29 21:22:08 +00:00
Petr Ledvina 4c60f6c795 Fix 303 serial inversion and bidir mode
- USART_HalfDuplexCmd must be called only when USART is disabled
- input should be PullDown for inverted serial
- INVERTED BIDIR mode changed to GPIO_OType_PP (not opendrain) - opendrain won't work well for inverted serial; USART releases pin when transmission is done, so PP is OK
2015-03-31 15:01:28 +02:00
Nicholas Sherlock 3c543d36c8 Change port mode MODE_BIDIR into a port option instead 2015-03-19 13:42:13 +13:00
Petr Ledvina f1ac4f8461 fix #ifdef typo 2015-02-23 09:17:06 +01:00
Petr Ledvina 7875b97aae Compile serial code conditionally on stm32f303 2015-02-23 09:17:06 +01:00
Petr Ledvina 7c62ec9755 Move internal serial interface into separate header file
Declaring function from other file is quite dangerous - there is no warning if interfaces get out of sync
2015-02-23 09:17:06 +01:00
Dominic Clifton 36c7d5d30d SPRACINGF3 - Fix typo in UART3 configuration. 2015-02-16 19:42:24 +00:00
Dominic Clifton b6ac9204d3 STM32F3 - Fix LED Strip hardware initialisation. 2015-01-12 22:02:10 +00:00
Dominic Clifton 5d8e39f2d9 SPARKY - Add LED STRIP support.
Update PWM mapping to avoid PWM/LedStrip clash on Motor output pin 5.
2015-01-11 00:24:57 +00:00
Dominic Clifton 6610a91ce0 Optimize uart buffer counter incrementing. 2014-12-12 18:23:40 +00:00
Dominic Clifton ad9a2d2833 Update serial port irq handlers so they avoid the % operator. 2014-12-12 16:23:44 +00:00
Dominic Clifton d34d5ceef2 STM32F30x - Allow overriding of USARTx GPIO pins from target.h.
USART1 RX/TX now working on Sparky.
2014-12-09 14:58:56 +00:00
Dominic Clifton b2529620f7 STM32F30x - Fix uart3 pinsource definitions
UART3 RX/TX working on sparky.
2014-12-09 14:39:48 +00:00
Dominic Clifton 693307d51d STM32F30x - Add support for UART3 - untested. 2014-12-09 03:12:35 +00:00
Frank Zhao 6311dc8f8c added single wire half duplex UART
Conflicts:

	src/main/telemetry/telemetry.h
2014-11-12 00:29:42 +00:00
Petr Ledvina bf50cbb1a8 NVIC priority change
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Petr Ledvina e686b4504e Centralized NVIC priorities
- NVIC priorities are moved to separate file, all values are replaced wit symbolic names. Priorities should be the same.
- tiny change in DMA initialization
2014-10-23 16:48:35 +02:00
Dominic Clifton d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton 0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton 78ca635d26 Comment cleanup in F3 uart driver 2014-06-04 11:18:44 +01:00
Dominic Clifton 16528cf0d9 Move some clock initialisation code into the drivers. 2014-06-04 11:14:13 +01:00
Dominic Clifton d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00