Phisatho
f43d07efb3
Add files via upload
2016-11-18 02:30:20 +04:00
Phisatho
dcfe2ae817
Create pins_arduino.h
2016-11-18 02:29:12 +04:00
Roger Clark
2cdbbc8339
Fix issue caused by ADC PR changes that, prevented the GD32F103 variant from building
2016-11-10 11:33:37 +11:00
Roger Clark
e2c957489a
Added support for Hy-Tiny STM32F103T
2016-10-30 21:38:30 +11:00
stevstrong
073aa23ed2
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2016-10-16 23:02:16 +02: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
Bubulindo
5c13d8b0d4
Addition of a better way to deal with the Onboard ADC.
...
This modification adds support for a STM32ADC library. There are a
couple of examples on how to use it. The library allows usage of the
ADC with DMA in circular mode or scan mode, it allows the ADC to be
used in scan mode. And also to use the EOC interrupt.
More functionality needs to be added and will be in time.
Eventually the util files will be moved into the adc files in the core.
2016-09-23 16:35:18 +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
e4324fafc9
Fixed issue with GD32 USB reset time being too short, and not enumerating on some PCs
2016-05-13 19:15:12 +10:00
Roger Clark
c0719c3a1d
Added experimental support for generic GD32F103C inside the STM32 tree
2016-05-05 17:36:16 +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
Jean-Claude Wippler
b495a4e00f
support Nucleo w/o and w/ crystal
2015-11-07 00:49:34 +01:00
Jean-Claude Wippler
dbd81d42af
add generic STM32F103T[8B] variants
2015-10-27 10:41:08 +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
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
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
Colin
7d45f68fde
Update PIN_MAP to allow PWM on PB9
2015-07-09 12:47:33 +12: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
39b200982a
Added generic STM32F103RC support and started work on generic STM32F103R
2015-05-28 15:31:06 +10:00
Roger Clark
ffe2f6d043
Merge pull request #64 from victorpv/re-script
...
Fixed ram size in RC board with new bootloader
2015-05-28 09:35:48 +10:00
victorpv
15781c492b
Ram size corrected.
...
It was wrongly set to 61KB.
It is actually 48KB for RC, and 64 for RD and RE, but I am using 64KB in
an RCT6 mcu without any issue.
2015-05-24 00:30:55 -05:00
rogerclarkmelbourne
7fe2e7806a
Disabled generic bootloader USB reset
2015-05-24 09:15:43 +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
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
2ab2e5cac7
Changed definition for BOARD_HAVE_SERIALUSB so its always true (1) so that compiling in of SERIAL_USB is just controlled by the -DSERIAL_USB flag and not reliant on the DISC pin defintions. Also added experimental code into the ZET to reset USB on startup - this is not fully working, but doesnt seem to cause any ill effects
2015-05-13 19:31:23 +10:00
Roger Clark
1df09212c0
Updated Nucleo F103RB variant with files from Matthias
2015-05-07 12:55:58 +10:00
Roger Clark
bb535029cb
updated setup_nvic for maple mini, which seems to have been missed when I made the changed to do with removing VECT_TAB_FLASH
2015-05-06 03:09:15 +10:00
Roger Clark
13e27c1dc5
Renamed generic_stm32f103rxx and generic_stm32f103zxx to remove th e xx at the end to match changes to boards.txt
2015-05-06 03:02:10 +10:00
rogerclarkmelbourne
0631786008
Added Maple RET6 board provided by @skyng22003. Tested and compiles OK, but I'm unable to test as I don't have that hardware
2015-04-30 12:17:08 +10:00
rogerclarkmelbourne
0d87f72bd8
Updated Nucleo_f103rb variant files with new versions from @madias
2015-04-28 17:40:11 +10:00
rogerclarkmelbourne
f92904f577
Added support for bootloader 2.0 to Maple mini, and added source and binary for maple_mini_boot20.bin to the repo
2015-04-25 19:15:48 +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
rogerclarkmelbourne
4d3c370314
added bootloader and non bootloder version of STM32F103RE to STM32F103R series boards
2015-04-20 12:26:16 +10:00
rogerclarkmelbourne
6408adc02f
Added experimental Maple RET6 board for @skyng22003
2015-04-20 10:17:58 +10:00
rogerclarkmelbourne
5ae71423df
Fixed typo / bug in USART5
2015-04-20 10:10:43 +10:00
rogerclarkmelbourne
7b980c433e
Fix for missing UART 4 and 5 from STM32F104RE and STM32F103Z series boards. Note this code has not been fully tested
2015-04-20 09:50:33 +10:00
Roger Clark
167320f462
Added variants to Generic STM32F103Z and tidied up unused files in the stm32f103zxx variants folder
2015-04-16 19:55:11 +10:00
Roger Clark
f92015b9f4
Added provisional support for STM32F103Z series. Note this is a work in progress
2015-04-15 20:25:00 +10:00
Roger Clark
4e03bac542
Fixed issue with incorrect USART RX Pin number, added PB2 as this pin can be used with caution (as its shared with Boot1)
2015-04-15 10:05:55 +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
Roger Clark
fedb642aa1
Updated 'Maple mini generic' board type - fixed issue with c8 boards, removed non working gcc compilor menu and removed non working debug options menu. Renamed boards to 'STM32 boards' etc
2015-04-10 17:09:07 +10:00
Roger Clark
456f38a726
Work in progress- Added folder for STM32F103Z series
2015-03-21 04:58:01 +11:00