MicroBahner
ba4f3808c2
channel output disabled in non pwm-mode
...
pwmMode disables the channel output in non pwm modes.
Attached ISRs are left unchanged
2017-05-20 16:11:00 +02:00
MicroBahner
20fbc3613d
donot disable Timer in pinMode
2017-05-14 21:21:03 +02:00
Roger Clark
c2f4aa8566
Fixed tone() so it works is F_CPU is not 72Mhz
2017-01-09 21:17:28 +11:00
Roger Clark
71a198a1d0
Fix problems with tone functions
2016-12-12 17:57:50 +11:00
Roger Clark
dd453357b3
Added shiftIn to F1 and F4
2016-12-08 20:00:20 +11:00
Roger Clark
e71d176618
Fixed issue with tone for high density devices
2016-12-02 21:33:01 +11:00
Roger Clark
378cd2a6af
Fixed #231
2016-11-30 17:27:21 +11:00
Roger Clark
9237d3afc8
Add new.cpp from Arduino SAMD to resolve issue with new operator pulling in loads of library functions and taking loads of flash
2016-11-30 10:14:27 +11:00
Roger Clark
20fa7b4f30
Fixed issue with tone not compiling
2016-11-29 15:52:16 +11:00
Roger Clark
71a1121c9f
Fixed issue with tone files not actually being added to the repo in a previous commit
2016-11-29 15:18:16 +11:00
Roger Clark
8345e6f075
Copied individual files from @stevestong master
2016-11-10 20:06:23 +11:00
xymopen
1d321b6b70
merge minor API changes of IPAddress, Print, Stream and WString from official Arduion core source. LookaheadMode is still under evaluation.
2016-10-22 03:57:13 +08:00
stevstrong
073aa23ed2
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-10-16 23:02:16 +02:00
stevstrong
d0c5a952b0
Revert "solve sync problems"
...
This reverts commit fca26524a9
.
2016-10-16 22:57:44 +02:00
stevstrong
fca26524a9
solve sync problems
2016-10-16 22:55:40 +02:00
stevstrong
a40898dbfe
try to sync
2016-10-16 22:42:37 +02:00
stevstrong
19e89fd269
revert to Jaret's version
2016-10-16 20:14:11 +02:00
Roger Clark
0e6b2000c8
Merge branch 'bubulindo-master'
2016-10-16 13:19:37 +11:00
jaretburkett
f9301a6acf
USB core and CDC fixes
2016-10-13 07:06:29 -05:00
stevstrong
8f847cc786
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-10-12 19:19:03 +02:00
stevstrong
6d4965b5c8
improve USB serial Rx speed + make USB serial Tx blocking to avoid overflow
2016-10-12 19:18:38 +02:00
Roger Clark
9147a461e7
Merge branch 'master' of https://github.com/bubulindo/Arduino_STM32 into bubulindo-master
2016-09-26 10:42:42 +10:00
victzh
3efde692e7
Fix return value for Print::write(const void *buffer, uint32 size)
...
Print::write(const void *buffer, uint32 size) always returns 0, which is against specification. This patch fixes it.
2016-09-25 18:31:59 -04:00
Bubulindo
0b34af3b6a
Minor bug fixes now that I have a ZET6
...
While using a different board, I realized that I did not configure the
ADC on all variants and there is a minor bug on the irq_num for
advanced 103 devices.
2016-09-25 13:14:12 +01:00
Bubulindo
5c13d8b0d4
Addition of a better way to deal with the Onboard ADC.
...
This modification adds support for a STM32ADC library. There are a
couple of examples on how to use it. The library allows usage of the
ADC with DMA in circular mode or scan mode, it allows the ADC to be
used in scan mode. And also to use the EOC interrupt.
More functionality needs to be added and will be in time.
Eventually the util files will be moved into the adc files in the core.
2016-09-23 16:35:18 +01:00
stevstrong
43b3376881
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-09-23 17:07:49 +02:00
stevstrong
a98a47d379
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-07-25 23:30:10 +02:00
stevstrong
efbbe6a4be
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-07-25 23:22:02 +02:00
edogaldo
14b9f338f4
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into F1-USART---buffered-interrupt-based-TX-(static-TX-buffer)
2016-07-19 13:13:20 +02:00
edogaldo
d353dd3022
Slight changes
2016-07-19 12:56:11 +02:00
edogaldo
7ba9065895
Fix HardwareSerial::flush()
2016-07-18 11:49:46 +02:00
Roger Clark
388e8efeb6
Fixed issue in F1 and F3 with HardwareSerial read(), which should return -1 if no data in the input buffer, (be non-blocking)
2016-07-18 16:20:24 +10:00
edogaldo
3a5f8cfc1b
Wait for TX completed in usart_disable()
2016-07-14 19:14:56 +02:00
edogaldo
51d2d9e0d9
F1 USART - buffered interrupt-based TX (static TX buffer)
...
usart.h: statically define TX buffer like RX buffer. TX buffer size
defined in USART_TX_BUF_SIZE
usart.h: add function usart_reset_tx() to reset TX buffer (same as for
RX bufferI)
usart.c: usart_init() changed to init TX buffer
usart.c: usart_disable() changed to reset TX buffer
usart.c: usart_tx() changed to use TX buffer and manage interrupt TXEIE
usart_f1.c: changed to instantiate TX buffers
usart_private.h: changed interrupt handler to manage TXEIE
2016-07-11 12:52:24 +02:00
roger@rogerclark.net
b5a5e67ad0
Added missing API functions microsecondsToClockCycles etc
2016-05-13 06:17:59 +10:00
Roger Clark
f1a394e4bc
Merge branch '54-always_inline' of https://github.com/RickKimball/Arduino_STM32 into development
2016-05-05 11:28:59 +10:00
Rick Kimball
f9aa37ed01
fix compiler warnings related to __always_inline
2016-05-03 13:04:54 -04:00
Roger Clark
e9e9048a31
Added new file WCharacter.h, and updated String files to add missing Arduino API functionality
2016-05-03 21:01:09 +10:00
Roger Clark
0909f4c20d
Changed defines for MOSI, MISO etc into const static vars, to address compatibility issues
2016-05-03 20:23:51 +10:00
Roger Clark
f7c80bd73b
Merge pull request #166 from martinayotte/master
...
Add toString() helper to IPAddress class (as already implemented on the F4)
2016-03-01 16:27:01 +11:00
Roger Clark
246a172250
Merge branch 'master' of https://github.com/geekylou/Arduino_STM32 into geekylou-master
2016-03-01 16:21:28 +11:00
Martin Ayotte
3d15c75a27
add toString() helper to IPAddress class
2016-02-29 12:12:57 -05:00
Louise Newberry
1f13f47552
The previous fix should probably be in is connected rather than the write function so moving it there.
2016-02-22 22:18:55 +00:00
Louise Newberry
618ffd069d
Check USB DTR is active before sending data down the USB port (this should only be active when the port is connected to a terminal).
2016-02-22 22:02:45 +00:00
Louise Newberry
20331cea64
Make sure both USB_ISTR_SUSP & USB_ISTR_WKUP are both cleared when USB susppends or resumes. This is required as when we see a suspend event it looks like we immediately afterwords trigger a resume from the bit being set previously.
2016-02-13 11:35:44 +00:00
stevstrong
4932a309f2
reworked update SPI settings
...
remove entirely the disturbing glitches on SCK line
2015-12-06 16:15:00 +01:00
Roger Clark
9cfb240ec1
Merge branch 'stevstrong-master' into development
2015-11-20 20:23:57 +11:00
Roger Clark
fe950a35db
Merge branch 'master' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-master
2015-11-20 20:23:34 +11:00
stevstrong
b920cdc6a2
serial config when parity is enabled
...
When parity enabled the word length must be increased (CR1 bit 12 set).
Word length of 9 bit with parity is not supported.
2015-11-19 21:11:45 +01:00
stevstrong
7d2b43018f
bugfix - serial config parameter cannot be set
...
function usart_init must be called before usart_config_gpios_async
2015-11-19 14:01:23 +01:00