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
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
0909f4c20d
Changed defines for MOSI, MISO etc into const static vars, to address compatibility issues
2016-05-03 20:23:51 +10:00
Jean-Claude Wippler
b495a4e00f
support Nucleo w/o and w/ crystal
2015-11-07 00:49:34 +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
Roger Clark
6b6ab7dab5
Implemented PIN MAP in flash for all other variants
2015-09-01 19:58:39 +10:00
rogerclarkmelbourne
58df3f36b4
Changed all remaining boards to have HW serial definitions in board.cpp so that every board can configure which Arduino Serial instance maps to which hardware serial device
2015-05-31 16:09:26 +10:00
rogerclarkmelbourne
a1fdae2817
Made changes for Nucleo F103RB and Generic STM32F103C . Note this commit only works with these 2 boards, on all others Serial will not compile
2015-05-28 17:38:59 +10:00
rogerclarkmelbourne
bffbdce50f
Temporary fix to Nucleo F103RB to get around missing pin definitions (which should not really be needed), this is temporary fix, I need to sort out the Serial USB code and make a separate define for maple hardware etc
2015-05-23 08:05:32 +10:00
rogerclarkmelbourne
e3d460d566
Added STM32F103V series boards from files supplied by VictorPV (after updating to latest changes to -DSERIAL_USB etc) , also added victors experimental USB reset code - which partially works !
2015-05-13 20:33:30 +10:00
Roger Clark
1df09212c0
Updated Nucleo F103RB variant with files from Matthias
2015-05-07 12:55:58 +10:00
rogerclarkmelbourne
0d87f72bd8
Updated Nucleo_f103rb variant files with new versions from @madias
2015-04-28 17:40:11 +10:00
rogerclarkmelbourne
fddefc13a9
Separated USB Serial functionality definitions from the BOOTLOADER_maple definition, so that generic boards can use USB serial without needing to have the bootloader and the disconnect hardware. NOTE. I have only tested the SERIAL_USB on the F103ZE board, it may not work on other generic boards
2015-04-25 15:28:45 +10:00
rogerclarkmelbourne
badf7057f0
Removed BOARD_LED_PIN and button pin definitions as they are not core Arduino API definitions and they were causing confusion on users of generic stm32 boards which don't all have an LED and even if they have an LED, the pin it is on is not always on the same pin depending on the model of generic board
2015-04-25 10:41:27 +10: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