Commit Graph

572 Commits

Author SHA1 Message Date
Roger Clark 178cd5529e
Merge pull request #468 from stevstrong/patch-13
Update platform.txt - Reduces line length of build output message
2018-03-29 18:34:26 +11:00
Roger Clark 2578bf00cb
Merge pull request #438 from JiriBilek/master
Fixing now() function in RTClock.h
2018-03-28 13:37:01 +11:00
Roger Clark 3521747556
Merge pull request #465 from stevstrong/patch-12
Increase tone resolution
2018-03-28 13:27:30 +11:00
stevstrong 0a88fe3cfa
F1 SPI slave: remove RXONLY flag to enable data transmission
see https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/471
2018-03-27 20:13:04 +02:00
stevstrong 9e19f0ecc3
Update platform.txt
cosmetics: remove unnecessary blank space
2018-03-24 00:13:27 +01: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
Roger Clark 54c6896180
Merge pull request #458 from madias123/patch-2
Update TouchButtons.ino to use Serial instead of Serial1
2018-03-18 20:23:31 +11:00
stevstrong ad0090bc1b
Update i2c.c
fix for unrecognized devices having ID 0x7..
2018-03-15 19:23:49 +01:00
madias123 25e2945cd8
Update TouchButtons.ino
Compatibility: Using Serial instead of Serial1
2018-03-12 23:46:29 +01:00
Roger Clark e37e0bdc87
Merge pull request #435 from KenWillmott/patch-1
Update BluePill-RTClock-test.ino
2018-02-26 15:54:14 +11: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
Jiri Bilek 5f6c8ef670 Fixed indentation 2018-02-03 14:07:05 +01:00
Jiri Bilek 35e0a6453a Fixing now() function
The now() function was defined using the #define directive. That is
wrong as it prevents using the keyword "now" in other situations.
2018-02-03 13:15:56 +01:00
Roger Clark 42a5e9f907
Update BOARD_NR_GPIO_PINS for STM32F103V
This fixes problem caused by 951d0acf17 (diff-3df511e94e3cba57d187bb1322b9f6c6)
2018-02-02 09:16:51 +11:00
Ken Willmott 4b6a6e8077
Update BluePill-RTClock-test.ino
Clarify English documentation by changing all occurrences of "10 bits" to "10 digits", referring to Epoch time.
2018-01-31 08:38:14 -05:00
Roger Clark 9c61fbd094 Merge branch 'WireSlave' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-WireSlave 2018-01-24 08:05:27 +11:00
Roger Clark 82ee5b1f33 Merge branch 'TIMER_CCMR1_CC2S_INPUT_TI1' of https://github.com/lacklustrlabs/Arduino_STM32 into lacklustrlabs-TIMER_CCMR1_CC2S_INPUT_TI1 2018-01-24 07:56:48 +11:00
Roger Clark 6f1429175c Manually committed RTClock files, due to problems with PR https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/428 2018-01-24 07:39:35 +11:00
lacklustrlabs 495f3b9cb5 Fixed 'warning: multi-line comment [-Wcomment]' 2018-01-23 14:59:36 +01:00
lacklustrlabs 388995efbb Adhere to the format of #323 2018-01-23 13:07:42 +01:00
lacklustrlabs 2b6e139884 According to STM32F103 RM0008: TIMx_CCMR1::CC2S=01 -> channel is configured as input, IC2 is mapped on TI2. 2018-01-23 13:07:42 +01:00
lacklustrlabs daf62cafca Removed a redundant buffer constraint 2018-01-21 17:13:17 +01:00
lacklustrlabs 4e820c3649 Full method signatures in header file.
<pet peeve>
I don't understand why anyone wants to remove useful API information from the header file.
CPP files describes implementation details, header files describes the API.
</pet peeve>
2018-01-21 17:13:17 +01:00
lacklustrlabs b9dbeb69d9 Fixed minor example issues 2018-01-21 17:13:17 +01:00
lacklustrlabs 01c23b6a58 Changed type of transmitting to bool (from uint8_t) 2018-01-21 17:13:17 +01:00
lacklustrlabs 4ad4de080f Saved some 50K flash memory by modifying the singleton implementation 2018-01-21 17:13:17 +01:00
lacklustrlabs b46b7461f4 Merged with Wire implementation from stm32duino/Arduino_Core_STM32 2018-01-21 17:13:17 +01:00
lacklustrlabs 78f8a90a2d Fixed a master/slave mode mixup.
Turns out that (sr2&I2C_SR2_MSL)!=I2C_SR2_MSL indicates slave mode after master has requested, and received, data.

"MSL - Cleared by hardware after detecting a Stop condition on the bus or a loss of arbitration
(ARLO=1), or by hardware when PE=0." -RM0008
2018-01-21 17:13:17 +01:00
lacklustrlabs 987102c8d2 Temporarily removed not yet functioning examples 2018-01-21 17:13:17 +01:00
lacklustrlabs c65ec99a8d Updated library.properties 2018-01-21 17:13:17 +01:00
lacklustrlabs 6fe4a55922 Added SoftWire.h 2018-01-21 17:13:17 +01:00
lacklustrlabs 56e95f2773 Steals any reference to Wire.h and redirects it to Wire_slave.h.
This way we don't need to alter third party libraries.
Note that Wire_slave.h must be included **before** the real Wire.h for this to work.
2018-01-21 17:13:17 +01:00
lacklustrlabs c4fdf5aa63 keywords.txt Copied from ArduinoCore-sam (Due) 2018-01-21 17:13:17 +01:00
lacklustrlabs 3425506d19 spellcheccck 2018-01-21 17:13:17 +01:00
lacklustrlabs 730711b80a Made sure Wire_slave.h is included first 2018-01-21 17:13:17 +01:00
lacklustrlabs 4157ef37a1 Removed some accidental adds 2018-01-21 17:13:17 +01:00
lacklustrlabs 0f78c266ed Added Wire_slave.h (no actual i2c slave implementation yet) 2018-01-21 17:13:17 +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
Roger Clark 184802c3ad
Merge pull request #411 from victorpv/patch-2
Adding PB2 as in the Generic R and Z versions.
2018-01-21 14:44:40 +11:00
Roger Clark e01a70b040
Merge pull request #424 from BlackBrix-Editor/16MHz-crystal-option
Added support inside the Core, for boards which have a 16Mhz crystal using '#define XTAL16M'. Note, no variants or boards.txt changes have been added to use this feature,
2018-01-21 14:43:40 +11:00
Roger Clark 62c395f776
Merge pull request #425 from BlackBrix-Editor/changed-RAM-length-in-stm32f103vc.ld
Corrected RAM-length = 48kByte in linker file for STM32F103VC
2018-01-21 14:40:17 +11:00
Roger Clark 229fced0e0
Merge pull request #427 from stevstrong/patch-10
Added error LED pin for generic F103C into boards.txt
2018-01-21 14:38:42 +11:00
Roger Clark 98f1efdda3
Merge pull request #407 from tfry-git/work/constexpr2
Fix compilation problem in STM32ADC.h when using in -std=gnu++11
2018-01-21 14:37:40 +11:00
stevstrong 514cf856aa
Update boards.txt
added error LED pin for generic F103C
2018-01-18 11:39:03 +01:00
BlackBrix-Editor d54de1cbb0
corrected RAM-length = 48kByte for STM32F103VC 2018-01-09 12:21:48 +01:00
BlackBrix-Editor 8540c6b08b
option XTAL16M for boards with 16MHz-crystal
tested on STM32F103VE only but surely can be used on other STM32F103xC, STM32F103xD, STM32F103xE with the same clock PLL structure
2018-01-09 11:23:16 +01:00
stevstrong 63f784ff6f
Update HW_STM32.h
remove static directive
2018-01-02 16:19:31 +01:00