Commit Graph

17 Commits

Author SHA1 Message Date
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
Colin 7d45f68fde Update PIN_MAP to allow PWM on PB9 2015-07-09 12:47:33 +12: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 7fe2e7806a Disabled generic bootloader USB reset 2015-05-24 09:15:43 +10:00
rogerclarkmelbourne 6a2e51585d Added DFU upload options for all generic boards. Note, Its not possible to set the correct memort size in the linker file for DFU uploads, so its always set as having the max ram and rom for the series in question. So beware using this if you are maxing out the RAM or Flash (which seems highly unlikely!) 2015-05-22 21:07:57 +10:00
rogerclarkmelbourne cbc78edce3 Include VictorPV's usb reset code to all generic board when SERIAL_USB is enabled ( by the defined in boards.txt) 2015-05-16 21:54:10 +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
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 347cee0d4e added comment to generic stm32f103c board.h 2015-04-15 09:40:54 +10:00
Roger Clark e8aa9b0620 Changed generic stm32f103c board definitions to tidy up the order of the PIN MAP 2015-04-15 09:21:35 +10:00
Roger Clark 6fec429e99 Made new generic STM32F103C board variant based on Maple mini. This is a work in process. It seems to work, but needs more tidying up ;-) 2015-04-14 20:18:37 +10:00