Commit Graph

1027 Commits

Author SHA1 Message Date
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
Roger Clark 98fdd47203
Merge pull request #421 from stevstrong/patch-10
Fix bug in OLED_I2C library
2018-01-03 08:25:32 +11:00
stevstrong 63f784ff6f
Update HW_STM32.h
remove static directive
2018-01-02 16:19:31 +01:00
Roger Clark d5c6f63165
Merge pull request #419 from stevstrong/patch-10
Update wirish_debug.cpp - to ONLY reserve SWD pa13 & pa14 SWD, rather than all JTAG debug pins, which also include PB3 and PB4
2017-12-29 21:53:29 +11:00
stevstrong 066dacf797
Update wirish_debug.cpp
reserve SWD lines only for debug
2017-12-29 08:58:57 +01:00
victorpv 09812b4863
Add comment to PB2 pin about boot1 function. 2017-12-17 15:20:07 -06:00
victorpv e64dbc2d47
Add PB2 to enums as in the R and Z Generic boards
Can be used for output
2017-12-16 17:28:00 -06:00
victorpv 951d0acf17
Adding PB2 as in the Generic R and Z versions. 2017-12-16 17:25:57 -06:00
Thomas Friedrichsmeier 63f4162c6c Fix compilation with -std=gnu++11
See https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/402
2017-12-12 10:58:22 +01:00
Roger Clark 1cc4f79191 Moved atomic.h for better AVR compatibility 2017-12-11 09:05:38 +11:00
Roger Clark 8d00dcaabd Merge branch 'stevstrong-patch-9' 2017-12-10 20:51:13 +11:00
stevstrong 87d1b1fdb7
Create new file "atomic.h"
as discussed here: https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/403, taken from http://www.stm32duino.com/viewtopic.php?f=3&t=258&start=10
2017-12-10 09:35:48 +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 c5133eba8f Merge branch 'aster94-master' 2017-12-10 13:21:39 +11:00
aster94 e2a62de034
Update i2c_scanner_wire.ino 2017-12-08 10:39:53 +01:00
aster94 b82911742f
Delete i2c_scanner_hardwire.ino 2017-12-08 10:37:26 +01:00
aster94 2d8af307dc
Add files via upload 2017-12-08 10:36:53 +01:00
aster94 558108d63e
Delete WireBase.cpp 2017-12-08 10:36:15 +01:00
aster94 848602e0d6
Delete WireBase.h 2017-12-08 10:36:00 +01:00
aster94 4ffdce29fe
Add files via upload 2017-12-08 10:32:59 +01:00
aster94 acc6cbc371
Add files via upload 2017-12-07 20:11:17 +01:00
aster94 2604eb6be2
Add files via upload 2017-12-07 20:10:35 +01:00
aster94 98ed731df9
Add files via upload 2017-12-07 20:09:30 +01:00
aster94 dbfb68cf91
Add files via upload 2017-12-06 21:52:00 +01:00
Roger Clark 595b128cac Modification to allow SSD1306 example to compile, following changes to Wire to use HWire by default. Note this code is only known to compile , it may not work with the SSD1306 display 2017-12-03 14:39:35 +11:00
Roger Clark 1175f37c37 Merge branch 'lacklustrlabs-Wunused-parameter' 2017-12-03 11:12:26 +11:00