Commit Graph

13 Commits

Author SHA1 Message Date
Roger Clark c0719c3a1d Added experimental support for generic GD32F103C inside the STM32 tree 2016-05-05 17:36:16 +10:00
Rick Kimball f9aa37ed01 fix compiler warnings related to __always_inline 2016-05-03 13:04:54 -04:00
Roger Clark 8c1e061efc Apply fix, provided by @Slammer, for issue with USB Serial on GCC 4.9 2016-04-19 19:42:07 +10:00
stevstrong 796dc93ab9 re-added previously deleted EXTSEL defines 2015-11-03 13:43:59 +01:00
stevstrong 42659ebbb0 added defines of external event selections for regular and injected groups 2015-10-30 14:12:38 +01:00
Roger Clark 88d2457f30 STM32F1 core: Implemented changes already made to the GD32F1 core to use F_CPU instead of hard coded values for 72000000 and (F_CPU -1) instead of 71999999 and to replace other hard coded values related to the clock freqency. Also updated the code so that the USB clock was disabled in setup_clock_prescalers to allow it to be changed in that function during initialisation, in case altermative prescaler values for USB are required, e.g. for operation at 48Mhz 2015-09-06 07:51:40 +10:00
victorpv 7564830669 Edits to move pinmap to flash
Initial comit, not tested, but copied from previous working folder.
2015-08-25 00:02:57 -05:00
Roger Clark d8996970ed Update timer.h
Changed TIMER_SMCR_TS and TIMER_SMCR_SMS as recommended by @Victor_PV
2015-08-23 14:50:33 +10:00
rogerclarkmelbourne ece9c3681d Added code to 'get' the gpio mode of a pin, and have used it in SPIClass::begin() to store and reinstate the pin mode of the SPI NSS pin. This is a work around for 'features' in the STM32 silicon, which seem to change the GPIO mode of the SPI NSS (hardware - 'Software Select' pin) 2015-06-10 10:25:22 +10:00
rogerclarkmelbourne 912098d5b8 Updated with commits that had been applied to Leaflabs:libmaple since the original copy of the repo was taken (by BobC) in Nov 2014 2015-05-31 18:06:19 +10:00
rogerclarkmelbourne fd224ab288 Added working version of RTClock, thanks to Ray and @ahull etc 2015-05-23 11:19:16 +10:00
Roger Clark 61ef2bca74 Started work on new variants and fixed a few other minor issues 2015-03-04 08:27:47 +11:00
Roger Clark 5f83c13285 renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4 2015-02-24 20:13:04 +11:00