Roger Clark
ac27993d10
Added makeWord macro and functions to fix #316
2017-07-31 13:33:00 +10:00
Roger Clark
0f3c6e5854
Merge pull request #278 from syfre/master
...
Enhancements and fixes to use ADC in continuous mode triggered by an internal timer
2017-07-16 08:45:38 +10:00
victorpv
fd95b99914
Added readBytes function to usbSerial
...
Add Arduino USB implementation of Arduino Stream class readBytes, which reads bytes in blocks with a timeout.
Increases the speed from 300KB/s to 500KB/s over the Stream class readBytes function.
2017-07-08 10:52:50 -05:00
victorpv
1c07e25bd7
Update usb_serial.h
2017-07-08 10:49:14 -05:00
victorpv
8683035cb7
Update usb_serial.h
2017-07-08 10:46:49 -05:00
Roger Clark
8b2699bdba
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2017-07-06 10:57:55 +10:00
Roger Clark
54dd788f2b
Fix warning caused by commit #f7a576f2e0efcee958bdfd737d9af7a2f6c76051
2017-07-06 10:57:20 +10:00
Roger Clark
385dfbf29c
Merge pull request #270 from SukkoPera/Fix-ifSerial
...
Added "if serial" and deprecated isConnected()
2017-07-06 08:36:20 +10:00
Roger Clark
6891e40546
Merge pull request #288 from MicroBahner/pinmodeTimer
...
Added Pinmode timer fix by @MicroBahner
2017-07-03 15:35:30 +10:00
Roger Clark
f7a576f2e0
Fixed issue with PB10 being set to OUTPUT for use as a USB Disconnect control on boards which do not have the additional USB disconnect hardware e.g. the Blue Pill. Note. Some variants seem to have the disconnect control on another pin, so I did not change those in case they were actually used
2017-06-25 13:08:30 +10:00
SukkoPera
ef60992e20
Merge remote-tracking branch 'upstream/master' into Fix-ifSerial
2017-06-09 22:11:52 +02:00
Roger Clark
3c4307ebac
Fix issue where USB Serial begin(xx) begin(xx,yy) did nothing, when they should ahave called begin()
2017-06-07 14:00:24 +10:00
Roger Clark
1e88fcfc61
Merge branch 'Avoid_USB_init_twice' of https://github.com/hanyazou/Arduino_STM32 into hanyazou-Avoid_USB_init_twice
2017-06-07 08:19:07 +10:00
Roger Clark
8477fba5d5
Merge branch 'master' into stevstrong-F1_SPI_development
2017-06-06 20:54:17 +10:00
Roger Clark
df78777e98
Add yield() call in delay() to support the Arduino Scheduler library. Ref issue #299
2017-06-06 20:45:50 +10:00
Zou Hanya
9ae2f6fa78
Avoid initializing USB serial twice
2017-06-03 08:27:33 +09:00
Roger Clark
920b57a4a9
Merge pull request #272 from grafalex82/patch_2
...
Compiler warning fixed in gpio_get_mode
2017-05-29 10:43:42 +10:00
Roger Clark
b19fc38e5e
Applied change to fix issue in itoa.c and itoa.h with newer versions of GCC (using the changes from STM's fix, in Arduino_Core_STM32)
2017-05-26 17:00:47 +10:00
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
edogaldo
3d5c54e344
Make HardwareSerial.flush() compatible with Arduino 1.0 api
2017-05-16 00:00:59 +02:00
MicroBahner
20fbc3613d
donot disable Timer in pinMode
2017-05-14 21:21:03 +02:00
SukkoPera
ad51f6f8f8
Avoid usage of deprecated function
2017-05-09 23:16:47 +02:00
SukkoPera
54cd854161
Tag isConnected() with __attribute__(deprecated)
2017-05-09 23:16:10 +02:00
syfre
50e4d84db4
Add, setMasterModeTrGo to configure the TrGo mode
...
Use to trigger the ADC on TIMx_TRGO
2017-05-06 23:03:47 +02:00
syfre
30d1bf4900
Fix, add ADC_CR2_EXTTRIG to adc_set_extsel() to enable the external trigger mode
2017-05-06 23:02:54 +02:00
Oleksandr Masliuchenko
0590f27afa
Compiler warning fixed
2017-04-22 16:27:30 +03:00
SukkoPera
81b1b08b95
Fix return type
2017-04-18 23:25:36 +02:00
Giorgioggì
38525521fd
Update usb_serial.cpp
2017-04-18 12:44:10 +02:00
Giorgioggì
0be991b434
Update usb_serial.h
2017-04-18 12:43:01 +02:00
Giorgioggì
cbfb87222f
Fix indentation
2017-04-18 12:24:06 +02:00
stevstrong
ff53626018
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2017-04-13 22:54:12 +02:00
stevstrong
83e5f48322
remove "deprecated" flag from dma_setup_transfer
...
remove deprecated flag
2017-04-13 22:34:37 +02:00
Roger Clark
c2f4aa8566
Fixed tone() so it works is F_CPU is not 72Mhz
2017-01-09 21:17:28 +11:00
stevstrong
22fad7582d
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-12-26 15:13:43 +01:00
Roger Clark
71a198a1d0
Fix problems with tone functions
2016-12-12 17:57:50 +11:00
stevstrong
e7456e1916
further optimizations
...
- extend read function to 16bit
- add repeated write the same byte/word a specified number of time
- revert increment option to dmaSend
2016-12-10 22:36:21 +01: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
stevstrong
b2e349ca36
Revert "Revert "improve SPI low level functions""
...
This reverts commit 3469ef291b
.
2016-11-11 22:12:13 +01:00
stevstrong
3469ef291b
Revert "improve SPI low level functions"
...
This reverts commit 5db2523284
.
2016-11-11 22:04:16 +01:00
Roger Clark
8345e6f075
Copied individual files from @stevestong master
2016-11-10 20:06:23 +11:00
stevstrong
5db2523284
improve SPI low level functions
...
- optimize code and run-time
2016-10-31 22:29:40 +01:00
stevstrong
4bc4b1d6bd
remove unused functions + adapt passed parameter
...
- remove unused functions form usb_reg_map
- change passed buffer type to uint8 *
2016-10-31 22:12:04 +01:00
stevstrong
529f844ff9
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-10-31 22:06:09 +01:00
stevstrong
42cb8b5bc8
small change
...
- revert local variable to uint8 in Serial.read
2016-10-21 23:01:45 +02:00
stevstrong
0ec7e72b01
improved USB serial Rx and implemented buffered Tx
2016-10-21 22:31:27 +02:00