Commit Graph

158 Commits

Author SHA1 Message Date
Roger Clark 17248cd803 Merge branch 'master' of https://github.com/MackPI/Arduino_STM32 into MackPI-master 2018-04-01 16:29:21 +10:00
Roger Clark 845508ee19 Merge branch 'aster94-master' 2018-04-01 15:03:36 +10:00
stevstrong e76e8adb52
F1 tone resolution: try to force compiler optimisation 2018-03-23 10:55:26 +01:00
stevstrong 41b165cae0
Increase tone resolution
Small change to increase tone resolution by multiplying before dividing.
2018-03-20 11:53:03 +01:00
stevstrong ad0090bc1b
Update i2c.c
fix for unrecognized devices having ID 0x7..
2018-03-15 19:23:49 +01:00
MackPi 33736462f6 Added Variant STM32F103VB
Added Board Varient STM32F103B.
Replaced #ifdef STM32_HIGH_DENSITY
with #if STM32_NR_PORTS > 4
Where it makes sense for High Pin count medium density parts like the
STM32F103VB.
2018-02-15 22:36:42 -08:00
Roger Clark f928acf193 Add InputCapture and OnePulse functionality from @stevestrong 2018-02-13 18:34:15 +11:00
Roger Clark c063a916fd Revert "Added Timer 'Input Capture' support and example"
This reverts commit 36bd1be387.
2018-02-11 21:35:31 +11:00
Roger Clark 36bd1be387 Added Timer 'Input Capture' support and example 2018-02-10 14:47:33 +11:00
Vincenzo Gibiino 632af3ec9f stm32duino now uses __IO 2018-01-24 20:33:11 +01:00
lacklustrlabs 495f3b9cb5 Fixed 'warning: multi-line comment [-Wcomment]' 2018-01-23 14:59:36 +01:00
Roger Clark 9cd2f3a743 Manually committed changes from https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/401, as that PR included changes to permissions on unrelated files in the tools 2018-01-21 15:34:24 +11:00
stevstrong 066dacf797
Update wirish_debug.cpp
reserve SWD lines only for debug
2017-12-29 08:58:57 +01:00
Roger Clark f66b9f10f3 Hopefully fixed problem with tone() blocking when it should be non-blocking 2017-12-10 17:07:57 +11:00
Roger Clark da34bb5bb3 Merge branch 'Wunused-parameter' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-Wunused-parameter 2017-12-03 10:54:51 +11:00
Roger Clark 628dc25d7b Merge branch 'new_pulseIn' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-new_pulseIn 2017-12-03 10:44:35 +11:00
Roger Clark b98abc72a7 Merge branch 'Wmissing-field-initializers' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-Wmissing-field-initializers 2017-12-03 10:40:00 +11:00
lacklustrlabs 95dde2ec10 Removed pinMode from PIN_MAP 2017-12-01 17:17:28 +01:00
lacklustrlabs aebb14f26c Rollback to master 2017-12-01 16:54:16 +01:00
topin89 e961f5bb18
Update HardwareTimer.h documentation.
"attachInterrupt" and "attachInterrupt" functions can attach ISRs to channel 0,
which is overflow interrupt (update interrupt in RMs).
2017-11-21 16:48:45 +03:00
lacklustrlabs 0f6d90943a Caching IDR pointer 2017-11-19 09:39:29 +01:00
lacklustrlabs 4a84203917 Modified pulseIn() to use the state parameter 2017-11-18 21:08:20 +01:00
lacklustrlabs 719ab20a5f Rollback on __attribute__((unused)) for pulseIn() 2017-11-17 14:44:01 +01:00
lacklustrlabs 29ff4e739d Fixed 'warning: missing initializer for member ... [-Wmissing-field-initializers]' 2017-11-16 19:20:25 +01:00
lacklustrlabs 8d9e2f24b6 Suppressing 'warning: unused parameter ... [-Wunused-parameter]' 2017-11-15 23:19:31 +01:00
Roger Clark c5caa5d288 Fixed missing definition of digitalPinToInterrupt, by adding macro which simply uses the pin number - as it doesnt need to be mapped 2017-11-13 12:03:19 +11:00
Roger Clark 2c33a02371 Correct argument type bug in utoa (itoa.c itoa.h) See PR #271 2017-11-02 17:50:34 +11:00
stevstrong e14c83fe8d
Update tone.cpp
- make tone() blocking for the input duration time
2017-11-01 15:24:04 +01:00
Roger Clark 4a3e23949b Added DMA enable and disable functions to hardware timers, thanks to @stevstrong 2017-10-31 20:05:31 +11:00
Roger Clark b4aa24ef82 Merge pull request #339 from victorpv/patch-3
F1 SDIO first version
2017-10-08 11:06:04 +11:00
Peter Edwards f65e6905e9 Removed non standard functionality from Print class for BYTE "base" as this is available via e.g. Serial.write and conflicts with the FatFS library and potentially anything else defining BYTE
Fixed sketches using this behaviour
2017-09-28 12:08:59 +02:00
victorpv 8929bbbde0 F1 SDIO 2017-09-11 21:29:33 -05:00
Roger Clark b1e1782019 Fix for map() function - supplied by @Pito 2017-09-03 11:00:16 +10:00
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