Commit Graph

353 Commits

Author SHA1 Message Date
rogerclarkmelbourne 3d17dbce37 Added Windows binaries for Texane-stlink, and changed Windows stlink ulload bat file to use the new files. Tested and working on STM32F103C8 using 'STM32 to Flash (no bootloder)' board type 2015-04-29 20:52:38 +10:00
rogerclarkmelbourne 0d87f72bd8 Updated Nucleo_f103rb variant files with new versions from @madias 2015-04-28 17:40:11 +10:00
rogerclarkmelbourne 808ca51822 Removed old version of bootloader (which I'd forgotten I'd added a while ago. It has been superseded by the new / improved version in the usb_bootloder folder 2015-04-26 20:08:24 +10:00
rogerclarkmelbourne 30c088e6a1 Bootloader. Fixed bug in upload to RAM and updated the maple mini binary. Note upload to RAM has not been tested as the Maple mini doesn't have enough RAM to test with 2015-04-26 17:13:37 +10:00
rogerclarkmelbourne 4d5ccb3a15 Fixed issue with u8_usbConfigDescriptorDFU. I'm not sure how it could have been working before, after I added the new ALT ID. And updates maple_mini_boot20.bin 2015-04-26 16:59:59 +10:00
rogerclarkmelbourne e163e3c1ae Bootloader and also boards.txt, so that its backwards compatible with the original bootloader. The new bootloader now has an additional altID for the new upload type (ID2) which is set in boards.txt for the maple mini on the Bootloader version menu. Note there was also a bug in the old version of boards.txt where the upload size params were not being set by the Bootloader version menu. Binaries folder has also been updated with the revised bootloader 2015-04-26 16:31:32 +10:00
rogerclarkmelbourne dc1262cad6 Changed bootloader linker settings, so match the space allocated in Flash by the sketch (offset to 0x8002000) 2015-04-26 11:29:41 +10:00
rogerclarkmelbourne 6a3668619e Change USB descripter string to show correct upload address 0x8002000 2015-04-26 08:24:37 +10:00
rogerclarkmelbourne cdf0fc0d65 Fixed small issue with incorrect flash and ram sizes being reported to the IDE for maple mini, orignal and bootloader 2.0 2015-04-25 20:47:34 +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 eb4edd90af Added usb_bootloader, taken from the latest files of https://github.com/jonatanolofsson/maple-bootloader commit id 5f09352278faf1b31b9e1bbef7c00f1469fb63b8, then checked out the maple mini (mini-boot) branch, as that branch seems to contain the most fixes and updates. 2015-04-25 16:44:17 +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 bbf58007fa Removed .o and .a files from stm32flash src that should not have been tracked in the first place 2015-04-18 11:25:09 +10:00
Roger Clark 1faf1d6b0d Using modified version of latest fork of stm32flash 2015-04-18 11:24:00 +10:00
Roger Clark 0f78542eef Fixed issue with stm32flash for Windows, where double digit COM ports didn't work e.g COM10 would not work 2015-04-18 08:08:59 +10:00
Roger Clark fa41407524 Fixed mistake in boards.txt in flash.maximum size 2015-04-16 20:03:31 +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 14b59151dd Replaced LiquidCrystal_I2C lib with newer version which was reported to have worked on the arduino forum - ref http://forum.arduino.cc/index.php?topic=310743.msg2186521#msg2186521 2015-04-15 21:08:01 +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 544908bb14 Fixed issue with options on Mini maple generic, and I also renamed this board type, as it does now work relatively well 2015-04-14 17:14:58 +10:00
Roger Clark 9e1371ac9c Added missing rewrite keys files that I should have included in the last commit :-( 2015-04-14 16:47:19 +10:00
Roger Clark bf7ac4e877 Fixed issues in F3 and F4 caused by removal of ARM compiler in 1.6.2, by additional of platform.rewrite.keys.txt and changes to platform.txt in both folders 2015-04-14 11:56:55 +10:00
Roger Clark 127f7d72d6 Update README.md 2015-04-13 09:03:34 +10:00
Roger Clark 6df2be1012 Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-04-12 10:28:56 +10:00
Roger Clark 4a3da022b8 Updated platform.txt and added platform rewrite keys file to aid operation with IDE 1.6.2 onwards 2015-04-12 10:05:32 +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 f9db223756 Changed to new library format and also updated comments in examples 2015-04-09 19:59:19 +10:00
Roger Clark 84019eede7 renamed OneWireSTM exampeles from pde to ino extension 2015-04-09 19:51:34 +10:00
Roger Clark 54ceae68ce Renamed OneWire library to OneWireSTM and also modified so it doesnt crash Maple or Maple mini boards 2015-04-09 19:50:32 +10:00
Roger Clark 5dcfa4f1b0 Removed non standard functions togglePin, toggleLED,isButtonPressed, and waitForButtonPress. And updated all examples that used these, to use other functions. Note togglePin was used internally in shiftOut. Also note, that some of these functions were replaced by the code that was inside the non standard function e.g inside togglePin. In the longer term these internal maple function calls need to be replaced by high level Arduino API calls like digitalRead and digitalWrite where applicable 2015-04-07 20:57:51 +10:00
Roger Clark 7abe8ebdbf Updated linux upload router with version from @ahull 2015-04-07 08:50:06 +10:00
Roger Clark 8b3b13680e Attempted to set execut permissions on upload_router on linux, from OSX 2015-04-07 08:17:21 +10:00
Roger Clark 0e318d746d Added texane-stlink to tools src folder. Note. This was easier than moving it from the old location under macosx. I will remove the one under macosx once the new one is definately committed 2015-04-07 08:15:22 +10:00
Roger Clark 0e879acb54 Moved stm32flash source to a separate src folder rather than being inside tools/macosx 2015-04-07 08:06:37 +10:00
Roger Clark 7bc0e0f015 Added missing paths for upload_router upload method to platforms.txt 2015-04-06 09:20:20 +10:00
Roger Clark 4379766290 Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-04-02 07:31:34 +11:00
Roger Clark 353b7bf995 Added new / recompiled stm32flash.exe for windows using MinGW so that Windows versions now supports the same processors as the OSX and Linux version (Specifically some STM32F103C8 devices) 2015-04-02 07:24:20 +11:00
Roger Clark e900c842c2 Update README.md 2015-03-31 16:06:56 +11:00
Roger Clark ef01391fae Update README.md 2015-03-31 16:05:59 +11:00
Roger Clark 664e1c88ac Second attempt at SPI::DMATransfer. Now uses separate tx and rx buffers, and I also added code to wait for tx to complete and SPI to not be busy before exiting the function. Note. Operation of rx buffer has not been tested 2015-03-30 06:47:26 +11:00
Roger Clark 5f9e8a04dd Added first pas at SPI::DMATransfer(byte *buf, int length) - and updated ILI9341 lib to use DMA Transfer for fill rect 2015-03-30 03:31:41 +11:00