Commit Graph

658 Commits

Author SHA1 Message Date
Roger Clark 4db3994d1c Second attempt to add availableForWrite() to USB Serial 2018-05-27 16:35:06 +10:00
Roger Clark 141bcd2ad1 Attempt to add availableForWrite() to USB Serial 2018-05-27 16:26:19 +10:00
Roger Clark e08d2eb1cc minor change to SPI slave example 2018-05-27 15:52:53 +10:00
Roger Clark 5e634098ce Merge branch 'master' of https://github.com/VictorLamoine/Arduino_STM32 into VictorLamoine-master 2018-05-27 15:43:00 +10:00
Roger Clark 8fbd6f0f4e Merge branch 'master' of https://github.com/me21/Arduino_STM32 into me21-master 2018-05-27 15:01:51 +10:00
Roger Clark 914ca36d9d Merge branch 'enable-hsi' of https://github.com/me21/Arduino_STM32 into me21-enable-hsi 2018-05-27 14:46:21 +10:00
Roger Clark 6cdcbf0bb7 Merge branch 'patch-12' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-patch-12 2018-05-27 14:35:10 +10:00
Roger Clark 2208bcbc5b Add define for ARDUINO_ARCH_STM32 to correspond with the official STM core and also with Adadfuit STM32 products 2018-05-23 19:37:08 +10:00
Roger Clark 6548456957 Change Wire.write() return types from void to size_t to be compatible with the Arduino API 2018-05-23 18:03:38 +10:00
Roger Clark 6a551bd9ab Ranemed FreeRTOS to FreeRTOS701 to prevent name clashes. see https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/500 2018-05-22 09:29:23 +10:00
Alexandr Zarubkin 134dad770c Added preprocessor symbol USE_HSI_CLOCK which enables HSI clocking for generic variants. By default, HSE clocking scheme is used, as before this change.
Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
2018-05-21 17:02:24 +03:00
Alexandr Zarubkin 84c5a86109 Changed prescaler variable type to uint32. Fixes #520.
Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
2018-05-21 11:47:38 +03:00
Roger Clark 8fa6bb4596 Remove redundant #if'ed out code from maple hardware_serial.cpp 2018-05-11 09:03:04 +10:00
Roger Clark 4ec1b0f0cd Removed references to robotis bootloader, and also redundant usb reset code that used the wdt (possibly used by the robotis bootloader) 2018-05-10 20:25:02 +10:00
victorpv 6c33d73f63
Add SDIO pin definitions to the Maple RET6 variant
It was missing, but needed since that variant (RET6) includes the SDIO peripheral, so the files are included in the compilation.
2018-05-03 11:39:17 -05:00
Roger Clark 6345cd6e6e Merge branch 'Allow-IRQ-overriding' of https://github.com/edogaldo/Arduino_STM32 into edogaldo-Allow-IRQ-overriding 2018-04-29 10:37:19 +10:00
André e1ae43c826
Fixed missing return value. 2018-04-27 14:48:41 +01:00
stevstrong 1abb3f1ca5
Update Wire.cpp
bugfix hw I2C unrecognized addresses 0x76, 0x77
2018-04-25 23:22:17 +02:00
Victor Lamoine 6e4a80f106 Add simple SPI slave example 2018-04-23 19:28:39 +02:00
Roger Clark cb8b30bd6f add partial support for the new USB HID bootloader 2018-04-22 17:06:22 +10:00
Roger Clark 5664dbc7aa Add hold in bootloader using bkp register 10 2018-04-22 14:31:56 +10:00
Victor Lamoine 652569c079
Add simple SPI slave example 2018-04-20 19:01:32 +02:00
Victor Lamoine a3ae580d19
Add simple SPI slave example 2018-04-20 17:42:31 +02:00
Victor Lamoine 6e814ad5ca Add simple SPI slave example 2018-04-20 17:27:45 +02:00
Victor Lamoine 45b51dea12 Add simple SPI slave example 2018-04-20 14:38:57 +02:00
Roger Clark b2858b8c27 Merge branch 'shorten_path' of https://github.com/fpistm/Arduino_STM32 into fpistm-shorten_path 2018-04-19 17:46:35 +10:00
edogaldo b16686a06a Allow IRQ overriding 2018-04-17 11:19:36 +02:00
stevstrong d33e50ab0d
Update BluePill-RTClock-test.ino
fix weekday, see #498.
2018-04-13 23:42:46 +02:00
stevstrong cd4085b239
Merge branch 'master' into patch-12 2018-04-13 18:29:38 +02:00
stevstrong 50ed00effc
Update timer.h
fix compile error
2018-04-13 18:26:45 +02:00
Roger Clark 479cfc1fb4 Removed unused ErrorStatus enum from usb_type.h as its redundant and the definition of SUCCESS clashed with other definitions 2018-04-13 16:47:15 +10:00
Roger Clark 4f691b9eeb Add support for boards with 16MHz HSE crystal. Note to use this feature users must add -D XTAL16M to the appropriate build options in boards.txt, as there are too few boards with 16MHz crystals to warrant adding this as a separate menu to each board in boards.txt 2018-04-13 16:32:56 +10:00
Roger Clark b1a4fda793 Merge branch 'master' of https://github.com/KenWillmott/Arduino_STM32 into KenWillmott-master 2018-04-13 16:03:29 +10:00
Roger Clark 1f85ecb3b9 Added PLL Mulplier setting for 16MHz. Note this change does not add 16Mhz menu options to any boards, it simply supports them if they were added 2018-04-13 15:03:03 +10:00
Roger Clark 7ef6e71a78 Add flash wait state optimisation from @tomtor 2018-04-13 14:52:55 +10:00
Roger Clark 44f617bc9c
Merge pull request #485 from f6fvy/patch-1
Frequency unit typo (was Mhz instead of MHz)
2018-04-13 14:18:15 +10:00
Roger Clark df96076900 Added missing F103V linker file, included in https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/489 2018-04-13 14:10:49 +10:00
Roger Clark 314ce02bd0 Merge branch 'sdio-updates' of https://github.com/victorpv/Arduino_STM32 into victorpv-sdio-updates 2018-04-13 13:48:10 +10:00
victorpv 0197d63dc0 Multiple updates to SDIO library
Changes __io for __IO
Increase the time for some delays
Adds compatibility with SdSdioEX class while using DMA
Implement a retry mechanism (needs further testing)
Implement command ACMD42 to disconnect the sd internal pullup in D3 in
4bit mode
2018-04-12 22:30:37 -05:00
arpruss 18d1654195 usbcomposite library 2018-04-12 20:45:59 -05:00
Roger Clark f56c37e97e Fix for https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/486 2018-04-12 18:17:45 +10:00
Roger Clark c9a694b779 Revert #491 2018-04-12 17:59:03 +10:00
stevstrong 407df21dfb
Update timer.h
fix for dfb5bd4c30,
see issue #412 [https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/412]
2018-04-12 08:29:49 +02:00
Ken Willmott 7374108bd4
fix PR#487 and #488 2018-04-10 10:37:26 -04:00
Ken Willmott 463db9b0bf
fix PR #487
Implements the needed correction in PR #487, modifies get method with no change to set method. Exor comparison changed to equality comparison for readability.
2018-04-10 09:55:04 -04:00
Laurent Haas - F6FVY 307a0e2472
Frequency unit typo (was Mhz instead of MHz) 2018-04-09 19:16:56 +02:00
Roger Clark 596dc0d78e
Merge pull request #461 from tfry-git/work/gfx_as
Base Adafruit_GFX_AS on Adafruit_GFX, keeping only the additions in a derived class.
2018-04-08 13:39:50 +10:00
Roger Clark 0e17c642a0
Merge pull request #480 from edogaldo/Fix-SCB_AIRCR_PRIGROUP
Fix SCB_AIRCR_PRIGROUP
2018-04-08 13:35:13 +10:00
victorpv ef2f5b53d7
Need to define STM32_HAVE_FSMC as 0
Forgot to include that.
2018-04-05 22:04:28 -05:00
victorpv 21bdc4ad13
Update to fix FSMC inclusion in Rx devices
The FSMC is only available in high density and XL density devices with more than 4 ports.
Basically excluded in the RC/D/E/F/G models, since they dont have enough pins.
Page 11 in the Datasheet references this. The table shows what is present, and shows the FSMC is NOT present in Rx MCUs:
http://www.st.com/content/ccc/resource/technical/document/datasheet/59/f6/fa/84/20/4e/4c/59/CD00191185.pdf/files/CD00191185.pdf/jcr:content/translations/en.CD00191185.pdf

Recent changes to other files highlight this issue during compilation time. The issue was already there, but GPIO E and GPIO F were declared and defined, while they don't actually exist in Rx MCUs, so FSMC was being included for those MCU even though they don't actually have an FSMC device, or at least no external ports to use it. 
With the recent changes GPIO E and F and correctly excluded from the build, but since FSMC was still included and needs GPIO E and F, it was failing to compile. I.e.:
C:/Users/Victor/Documents/Arduino/Hardware/Arduino_STM32/STM32F1/cores/maple/libmaple/fsmc_f1.c:51:19: error: 'GPIOE' undeclared (first use in this function)

Since the FSMC is not available (I suspect the silicon is there, but there is no IO pins to use it), the correct solution is to include FSMC only when using an MCU with more than 4 GPIO ports, which is what matches the datasheet.
2018-04-05 21:54:05 -05:00