Martin Budden
3d4f0bb137
Whitespace tidy
2017-07-05 06:36:22 +01:00
jflyper
2d45189fe2
No more "pin-pair"
...
RX and TX can be assigned to ANY capable pins.
2017-05-27 02:55:13 +09:00
jflyper
fdfe9e8af3
Configurable UART
2017-05-24 11:49:21 +09:00
jflyper
0cf5161ec4
Remove reference to USART_TypeDef in io, refactor uartOpen and serialUART
2017-05-11 09:59:43 +09:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
J Blackman
792941606f
Initial preparation for cleaning up multiple files per MCU ( #2500 )
...
* Initial preparation for cleaning up multiple files per MCU
* Combined DSHOT for F3 and F4 (F7 todo)
* Build fixes (mixed some adjustments needed in transponder_ir.c)
* Fix F7 warnings/bugs
* Updated timer periods for transponder.
Fixed FURY including old pwm_output files.
* Added method to calculate prescaler and period on the fly for varying clock speeds.
This can be used for overclocking :)
* Consolidated led_strip
* Moved led strip to use system clock for timing (allowing overclocking)
* Fixed incorrect channel, and removed comparison warning.
* More cleanup
* Fix KIWIF4 target
* Cleaned up target.mk files
2017-03-01 19:50:23 +00:00
jflyper
af6010eb63
More OWNER_SERIAL_TXRX !?
2016-11-23 04:22:05 +09:00
jflyper
d074cafd39
Fix OWNER_SERIAL in serial_uart_stm32f10x.c
2016-11-23 04:05:02 +09:00
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
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
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
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
Nicholas Sherlock
3c543d36c8
Change port mode MODE_BIDIR into a port option instead
2015-03-19 13:42:13 +13: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
1d4c8925cc
Invert the useage of USE_USART1_RX_DMA for clarity.
2015-01-29 21:27:13 +01:00
Dominic Clifton
e81cc9696e
CC3D - Support serial RX on UART1.
2015-01-29 21:25:50 +01: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
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
b01724681a
CC3D - Support USART3 instead of USART2.
...
This has highlighted that the existing codebase is quite targeted
towards systems that use USART1 and 2. Annoyingly the inverter is on
USART1 and the sbus code requires callbacks so still won't work yet.
2014-08-07 19:17:46 +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
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