Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
lacklustrlabs 8d9e2f24b6 Suppressing 'warning: unused parameter ... [-Wunused-parameter]' 2017-11-15 23:19:31 +01: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 f7a576f2e0 Fixed issue with PB10 being set to OUTPUT for use as a USB Disconnect control on boards which do not have the additional USB disconnect hardware e.g. the Blue Pill. Note. Some variants seem to have the disconnect control on another pin, so I did not change those in case they were actually used 2017-06-25 13:08:30 +10:00
Roger Clark f2c2323afd Changed board variants to use calculate value from F_CPU for CYCLES_PER_MICROSECOND 2017-05-26 16:22:16 +10:00
Roger Clark 7dcbbc85b0 Fix bug USB divider for 48Mhz operation. Also added support for 48Mhz to Maple mini and Generic F103C (Note. There is a bug in tone() at 48Mhz) 2017-01-09 20:27:07 +11:00
Roger Clark 9147a461e7 Merge branch 'master' of https://github.com/bubulindo/Arduino_STM32 into bubulindo-master 2016-09-26 10:42:42 +10:00
Bubulindo 0b34af3b6a Minor bug fixes now that I have a ZET6
While using a different board, I realized that I did not configure the
ADC on all variants and there is a minor bug on the irq_num for
advanced 103 devices.
2016-09-25 13:14:12 +01:00
Roger Clark 896cb2d3c7 Increase generic boards USB reset delay to fix issue with newer PC's 2016-05-15 15:16:27 +10:00
Roger Clark 0909f4c20d Changed defines for MOSI, MISO etc into const static vars, to address compatibility issues 2016-05-03 20:23:51 +10: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
Roger Clark 6b6ab7dab5 Implemented PIN MAP in flash for all other variants 2015-09-01 19:58:39 +10:00
Roger Clark 207986431d Added STM32F103R8 / RB variant folder supplied by @ahull. Also made minor change to the stm32f103r folder bootloader link file name, so that the same file name could be used in the existing stm32f103r folder and the new folder (but they have different contents) 2015-08-10 20:27:09 +10:00