Commit Graph

1063 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 737fdf97be
Merge pull request #451 from per1234/readme-formatting
Fix formatting and typos in README.md
2018-03-29 16:10:11 +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
Roger Clark c85d83b1f9
Merge pull request #469 from stevstrong/patch-14
F4: add the macro "word"
2018-03-28 13:20:35 +11:00
Roger Clark c2711e5f0e
Merge pull request #472 from stevstrong/patch-15
F1 SPI slave: remove RXONLY flag to enable data transmission
2018-03-28 10:41:35 +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 3821c3ab97
F4: adds the macro "word"
similar to already existing solution for F1
2018-03-24 10:09:47 +01: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
Roger Clark 0ac3df5628
Merge pull request #462 from stevstrong/patch-11
Update i2c.c to fix bug with devices where ID = 0x7x
2018-03-18 20:21:11 +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
per1234 78123aa8fe
Fix formatting and typos in README.md 2018-02-26 17:36:11 -08: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 85e0c9b602 Fixing now() in RTClock.h in STMF4 library 2018-02-03 13:41:59 +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 5368d04c56 Merge branch 'lacklustrlabs-WireSlave' 2018-01-24 08:06:30 +11: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 8a18e09161 Merge branch 'lacklustrlabs-TIMER_CCMR1_CC2S_INPUT_TI1' 2018-01-24 08:02:17 +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
Roger Clark 52c3c312f0
Merge pull request #429 from lacklustrlabs/gitignore_X.local.txt
Added platform.local.txt and boards.local.txt to .gitignore
2018-01-24 07:37:08 +11:00
Roger Clark 9fe0363f8f
Merge pull request #430 from lacklustrlabs/Wcomment
Fixed typo causing  'warning: multi-line comment [-Wcomment]'
2018-01-24 07:30:45 +11:00
lacklustrlabs 495f3b9cb5 Fixed 'warning: multi-line comment [-Wcomment]' 2018-01-23 14:59:36 +01:00
Lacklustrlabs 1b8b05c883 Added platform.local.txt and boards.local.txt to .gitignore 2018-01-23 13:19:39 +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