Commit Graph

988 Commits

Author SHA1 Message Date
csnol 7752fc68f2 add attachAlarmInterrupt() detachAlarmInterrupt() 2017-09-13 04:08:04 +08:00
victorpv a530b6a3d4 Update Wire.cpp
Adds a check to verify if the port had been already enabled, and only in that case disables/re-enables the port. This also solves the issue of setClock being called after begin(), but doesn't not enable the port if begin() had not been called yet.
2017-09-11 22:49:03 -05:00
victorpv 799f2b3b8a Correct issue with port speed not changing.
The current implementation will not change speed if Wire.setClock is called after begin() since the flags are only applied when the port is enabled from being disabled.
Corrected that by adding 2 lines to disable the port, and then enable it again with the new settings.
Tested and confirmed the new speed is applied.
2017-09-11 22:01:55 -05:00
victorpv 1db95cf251 F1 SDIO 2017-09-11 21:40:25 -05:00
victorpv 8929bbbde0 F1 SDIO 2017-09-11 21:29:33 -05:00
victorpv 7e1cc92d23 SDIO 2017-09-11 21:28:07 -05:00
victorpv 434cb255a5 F1 SDIO 2017-09-11 21:26:50 -05:00
victorpv f769556e9a F1 SDIO initial version 2017-09-11 21:25:09 -05:00
Roger Clark 81100beeea Updated readme 2017-09-05 17:03:16 +10:00
victorpv 56abaa3173 Correction to upload issue in Sloeber
As discussed in http://stm32duino.com/viewtopic.php?f=41&t=2535
Changes to the Generic Boards options so the maple dfu option is the default one and Sloeber uploads correctly.
2017-09-04 10:41:58 -05:00
Roger Clark b1e1782019 Fix for map() function - supplied by @Pito 2017-09-03 11:00:16 +10:00
Roger Clark 23fa7b7c34 Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2017-09-03 10:51:24 +10:00
Roger Clark 58e50e7fd9 Add partial support for a DFU bootloader for the F4 2017-09-03 10:51:08 +10:00
Roger Clark 5d4cbff491 Merge pull request #337 from janchrillesen/master
Add JLink upload support for OSX
2017-09-01 09:28:50 +10:00
Jan Chrillesen f12bad6790 add JLink upload support for OSX 2017-08-31 20:54:29 +02:00
csnol d53cacdb1e Update RTClock.cpp 2017-08-30 23:37:41 +08:00
csnol 6c0be70f2e Update RTClock.cpp 2017-08-30 23:28:01 +08:00
csnol 6e92ddd8bc Add STM32F103-RTC-Serial-Set.jpg 2017-08-29 10:30:27 -05:00
csnol 27f8e127a4 Create a RTC example for new library. 2017-08-29 23:13:02 +08:00
csnol fbe6264003 Rewrite the RTClock library. 2017-08-29 10:07:42 -05:00
stevstrong e6ed2d5ccc Update RTClock.cpp
bugfix setAlarmATime - corrected day variable
2017-08-29 11:16:43 +02:00
Roger Clark 47c94bc10c Update Arduino IDE version in readme 2017-08-26 20:34:43 +10:00
Roger Clark 5058d8f583 Removed support for GD32 - by removing entry from boards.txt 2017-08-26 14:37:40 +10:00
Roger Clark 71d5ab9112 Wire lib change buffer size definition to BUFFER_LENGTH for better AVR compatibility 2017-08-25 18:33:04 +10:00
Roger Clark 30e5aea842 Merge pull request #327 from victorpv/patch-2
Adding new.cpp to the F4 as in F1 core.
2017-08-19 11:10:15 +10:00
victorpv a9767e4c53 Adding new.cpp as in F1 core.
This is to avoid libstdc++ being pulled in when new() is used.
Already included in the F1 in 2016.
Discussed on this thread:
http://www.stm32duino.com/viewtopic.php?f=39&t=2460&p=33163
2017-08-18 17:33:00 -05:00
Roger Clark 33411b6e94 Default Wire to 100khz 2017-08-06 21:04:02 +10:00
Roger Clark 8f7a0b6d5a Added pushColors() to ILI9341 library to better support the OV7670 camera 2017-08-04 20:34:48 +10:00
Roger Clark df9476ccd5 Merge pull request #325 from victorpv/patch-1
Correcting FreeRTOS900 examples to include right version
2017-08-04 16:24:52 +10:00
victorpv db9a70c74f Correcting FreeRTOS900 example. 2017-08-03 11:48:26 -05:00
victorpv 1ea988a57d Correcting FreeRTOS900 examples
The examples were still including the 821 version of FreeRTOS, so changing them to include the right one.
2017-08-03 11:47:15 -05:00
Roger Clark 0a9d06b5e5 Fix typo in dma.h (thanks to @stevestrong) 2017-08-03 09:28:14 +10:00
Roger Clark ea8622c894 Merge pull request #322 from mtiutiu/mtiutiu/gd32_variant_linux_fix
linux fix for gd32 variant in boards.txt
2017-08-01 19:59:21 +10:00
Cristi Marius Tiutiu 859a447ecf linux fix for gd32 variant in boards.txt 2017-08-01 10:35:47 +03:00
Roger Clark bc41851ce4 Changed default Wire (I2C) to use hardware I2C rather than bit banged software. The existing software Wire implementation has been retained as SoftWare. Examples have also been updated to include Wire, HardWire and Softwire. 2017-08-01 16:47:39 +10:00
Roger Clark 87e0a3e89e Merge pull request #321 from mtiutiu/mtiutiu/compiler_opts_menus
Menu optimizations support for F3/F4 boards
2017-07-31 19:36:18 +10:00
Cristi Marius Tiutiu c0f655f90f added menu optimizations support for F3/F4 boards 2017-07-31 11:42:28 +03:00
Roger Clark ac27993d10 Added makeWord macro and functions to fix #316 2017-07-31 13:33:00 +10:00
Roger Clark 7d1119ee34 Removed Debug with LTO optimisation option, to fix issue #320 2017-07-31 10:56:31 +10:00
Roger Clark 14ddcfd97d Changed text on 128Mhz CPU speed option - to add warning that there is No USB and also Manual reset needed to upload 2017-07-31 10:51:52 +10:00
Roger Clark 375a8f84b5 Fixed typo in F1 boards.txt for STM32F103CB RAM size 2017-07-30 20:08:20 +10:00
Roger Clark cb901b4e4f Added CPU Speed menu to all boards except Nucleo RB, with additional entry for 128Mhz Turbo - NO USB. Note only tested on the Blue Pill 2017-07-30 17:43:40 +10:00
Roger Clark 7aae010eae Fixed yet another of my typos in the optimisation menu 2017-07-30 17:05:57 +10:00
Roger Clark 86d823a3b5 Fixed typo in optimisation menu 2017-07-30 16:21:26 +10:00
Roger Clark a683dfccca revert changes to STM32F3/platform.txt and STM32F4/platform.txt as they should not have been changed in the previous commit 2017-07-30 16:16:24 +10:00
Roger Clark 3f7eb8e4db Merge branch 'mtiutiu-mtiutiu/compiler_opts_menus' 2017-07-30 16:11:19 +10:00
Roger Clark 0aae3d31f1 Changed order of optimisation options, so that current settings (-Os) are the default, and reverted F4 and F3 boards.txt to current master to remove these changes from those boards, as they will need to be updated in the same way I did for the F1, and I don't have time to do it now 2017-07-30 16:07:30 +10:00
Roger Clark 0696f70148 Merge branch 'mtiutiu/compiler_opts_menus' of https://github.com/mtiutiu/Arduino_STM32 into mtiutiu-mtiutiu/compiler_opts_menus 2017-07-30 10:26:52 +10:00
Roger Clark a4d88f7d1b Merge branch 'stevstrong-SPI_write16' 2017-07-30 09:02:49 +10:00
stevstrong 0db43ae36f SPI clean up + add 16 bit access functions in 8 bit mode 2017-07-28 17:51:54 +02:00