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
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
a5f9f905ad
Merge branch 'lacklustrlabs-new_pulseIn'
2017-12-03 10:45:39 +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
a4ae0ce1f9
Merge branch 'lacklustrlabs-Wmissing-field-initializers'
2017-12-03 10:41:44 +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
Roger Clark
abcb3b2bb0
Merge pull request #386 from topin89/patch-1
...
Update HardwareTimer.h documentation/comments
2017-12-03 10:28:23 +11:00
Roger Clark
e7f46ebed2
Merge pull request #392 from victorpv/patch-2
...
Correct a bug in FreeRTOS
2017-12-03 10:27:27 +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
Roger Clark
ec8f3f3c2c
Merge pull request #391 from stevstrong/patch-5
...
Update TimerInterrupts.ino
2017-11-27 09:08:07 +11:00
victorpv
bee82cb7c6
Correct a bug in FreeRTOS
...
As listed in https://www.freertos.org/a00104.html#mailing_list :
"The definition of the StaticTask_t structure is incorrect if INCLUDE_xTaskAbortDelay is set to 1, or the MPU is used. The corrected structure definition can be obtained from here."
https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/include/FreeRTOS.h#l978
2017-11-26 09:29:15 -06:00
stevstrong
023fdfb0e9
Update TimerInterrupts.ino
...
- replace deprecated function
2017-11-26 10:37:22 +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
b64029f1db
Rollback WireBase.begin()
2017-11-18 12:37:11 +01:00
lacklustrlabs
719ab20a5f
Rollback on __attribute__((unused)) for pulseIn()
2017-11-17 14:44:01 +01:00
lacklustrlabs
048f15a2db
Fixed a comment
2017-11-17 11:16:48 +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
lacklustrlabs
908a57a28e
Suppressing 'warning: missing initializer for member ... [-Wmissing-field-initializers]'
2017-11-15 22:56:00 +01:00
Roger Clark
a7503e1d30
Merge pull request #371 from LightningStalker/master
...
Update BlinkNcount.ino to use LED_BUILTIN rather than a pin number (which is specific to one board).
Note. LED_BUILTIN needs to be defined for some variants where its missing
2017-11-14 09:18:41 +11:00
Roger Clark
3ff1b8000c
Merge pull request #377 from albertoa/patch-1
...
Solve race condition, on Linux, where the Arduino IDE has the serial port (monitor) open when upload is selected
2017-11-14 09:15:11 +11:00
Roger Clark
98b3d247cd
Merge pull request #376 from stevstrong/patch-4
...
Update boards.txt to fix issue with duplicate lines in Maple mini for clock speed selection
2017-11-14 09:13:34 +11:00
Roger Clark
bb75679b54
Merge pull request #375 from stevstrong/patch-3
...
Update timer.h to fix issue with false interrupt when first enabling it
2017-11-14 09:12:11 +11:00
Alberto Alonso
9b03f0841d
Solve race condition with arduino IDE monitoring serial port
...
I encountered a race condition upon which, even though the udev rules were working and uploads succeed, the serial monitor can not re-establish communications.
If the serial monitor is left open when doing an upload the error shown is:
[...]
Copying data from PC to DFU device
Starting download: [##################################################] finished!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
Waiting for /dev/ttyACM0 serial...Done
processing.app.SerialException: Error opening serial port '/dev/ttyACM0'. Try consulting the documentation at http://playground.arduino.cc/Linux/All#Permission
at processing.app.Serial.<init>(Serial.java:145)
at processing.app.Serial.<init>(Serial.java:82)
at processing.app.SerialMonitor$4.<init>(SerialMonitor.java:101)
at processing.app.SerialMonitor.open(SerialMonitor.java:101)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:104)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2218)
at processing.app.Editor.access$2200(Editor.java:79)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2196)
at java.lang.Thread.run(Thread.java:748)
Error opening serial port '/dev/ttyACM0'. Try consulting the documentation at http://playground.arduino.cc/Linux/All#Permission
I traced it to the device being opened prior to the permissions/ownership changes.
When testing via -c the upload script waits for the character device creation, but at that point the udev rules have not changed the permissions. By testing the readability of the device via the -r test, we wait until the new permissions have been applied.
I imagine this is specific to the Linux kernel and the speed of the machine being used. In my case:
arduino-1.8.5
Linux 4.4.0-98-generic #121-Ubuntu SMP
but the change should work on any system with proper udev rules / permissions.
2017-11-13 12:15:07 -06:00
stevstrong
85f159b3a5
Update boards.txt
...
remove duplicated lines
2017-11-13 13:06:52 +01:00
stevstrong
dfb5bd4c30
Update timer.h
...
- clear the IRQ flag before enabling the IRQ
2017-11-13 13:02:27 +01:00
Roger Clark
c66ca2ae9c
Fixed #273
2017-11-13 12:55:05 +11: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
9b4122ecaf
Fixed exmple for HardTimerAsEncoder being in wrong location
2017-11-13 11:56:13 +11:00
LightningStalker
fd00f02072
Update BlinkNcount.ino to use LED_BUILTIN
2017-11-10 04:10:31 -05:00
aka. N[]NE in gaming communities
de56edb5b0
Merge pull request #1 from rogerclarkmelbourne/master
...
Changed serial upload speed to 115200 as this speed is compatible wit…
2017-11-10 03:36:08 -05:00
Roger Clark
c5ed88921e
Changed serial upload speed to 115200 as this speed is compatible with most USB to Serial adaptors
2017-11-08 15:29:25 +11:00
aka. N[]NE in gaming communities
15d12bee18
Update BlinkNcount.c
...
Changed pin to PC13
2017-11-06 19:00:41 -05:00
aka. N[]NE in gaming communities
15ce8137b9
Update BlinkNcount.ino
...
Uses `#define` for LED pin instead of 5 literals
2017-11-06 08:55:32 -05: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
Roger Clark
7ee4350e99
Merge pull request #369 from stevstrong/patch-2
...
Update tone.cpp to fix issue if no duration was passed etc
2017-11-02 17:14:41 +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
44d5894c3d
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2017-10-31 20:06:29 +11: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
a03c84a635
Merge pull request #362 from csnol/master
...
Add TimeZone(UnixTime, HourOffset, MinuteOffset)
2017-10-31 19:53:33 +11:00
csnol
588f9db697
update
2017-10-19 18:31:23 +08:00
csnol
4870e27855
Update
2017-10-19 17:26:42 +08:00
csnol
c741afa74a
Update TimeZone function
...
Add TimeZone(UnixTime, HourOffset, MinuteOffset)
2017-10-19 17:23:48 +08:00
Roger Clark
cd7b7d76e4
Merge pull request #360 from Squonk42/master
...
Added missing SDIO pins for F103V and F103Z
2017-10-19 09:11:53 +11:00
Michel Stempin
80ae49dd50
Added missing SDIO pins for F103V and F103Z
2017-10-18 22:04:54 +02:00
csnol
9f5cdd2d24
updated
2017-10-18 21:45:19 +08:00