Commit Graph

8 Commits

Author SHA1 Message Date
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
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 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 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