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
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
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
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