Commit Graph

169 Commits

Author SHA1 Message Date
Roger Clark 4db3994d1c Second attempt to add availableForWrite() to USB Serial 2018-05-27 16:35:06 +10:00
Roger Clark 141bcd2ad1 Attempt to add availableForWrite() to USB Serial 2018-05-27 16:26:19 +10:00
Roger Clark 8fa6bb4596 Remove redundant #if'ed out code from maple hardware_serial.cpp 2018-05-11 09:03:04 +10:00
Roger Clark 4ec1b0f0cd Removed references to robotis bootloader, and also redundant usb reset code that used the wdt (possibly used by the robotis bootloader) 2018-05-10 20:25:02 +10:00
Roger Clark 6345cd6e6e Merge branch 'Allow-IRQ-overriding' of https://github.com/edogaldo/Arduino_STM32 into edogaldo-Allow-IRQ-overriding 2018-04-29 10:37:19 +10:00
Roger Clark 5664dbc7aa Add hold in bootloader using bkp register 10 2018-04-22 14:31:56 +10:00
edogaldo b16686a06a Allow IRQ overriding 2018-04-17 11:19:36 +02:00
Roger Clark 4f691b9eeb Add support for boards with 16MHz HSE crystal. Note to use this feature users must add -D XTAL16M to the appropriate build options in boards.txt, as there are too few boards with 16MHz crystals to warrant adding this as a separate menu to each board in boards.txt 2018-04-13 16:32:56 +10:00
Roger Clark 314ce02bd0 Merge branch 'sdio-updates' of https://github.com/victorpv/Arduino_STM32 into victorpv-sdio-updates 2018-04-13 13:48:10 +10:00
victorpv 0197d63dc0 Multiple updates to SDIO library
Changes __io for __IO
Increase the time for some delays
Adds compatibility with SdSdioEX class while using DMA
Implement a retry mechanism (needs further testing)
Implement command ACMD42 to disconnect the sd internal pullup in D3 in
4bit mode
2018-04-12 22:30:37 -05:00
Roger Clark f56c37e97e Fix for https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/486 2018-04-12 18:17:45 +10:00
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