Commit Graph

442 Commits

Author SHA1 Message Date
victorpv ee4efb210e Merge pull request #1 from victorpv/RTOS
Rtos
2015-05-22 07:20:06 -05:00
rogerclarkmelbourne 72324b5bd1 Merge branch 'master' of https://github.com/rogerclarkmelbourne/arduino_stm32 2015-05-22 21:08:16 +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
Roger Clark e88198e7dc Merge pull request #60 from victorpv/RTOS
Files missed off last pull request my VictorPV for RTOS etc
2015-05-22 15:03:58 +10:00
Roger Clark 526bd42318 Merge pull request #59 from victorpv/RTOS
CoOS 1.12 and 1.1.6 (latest), and FreeRTOS 8.2.1
2015-05-22 14:36:39 +10:00
victorpv 060dc414b9 Still part of the RTOS commit 2015-05-21 23:36:16 -05:00
Roger Clark 85114c6ae5 Merge pull request #58 from victorpv/master
SPI DMA functions.
2015-05-22 14:23:07 +10:00
victorpv 377217c9f5 CoOS 1.12 and 1.1.6 (latest), and FreeRTOS 8.2.1
Ported FreeRTOS 8.2.1 by finding the changes in the 7.0.1 version and
carrying them over. Then found an almost working port of CoOS, and
corrected it to work, and then carried the changes to 1.1.6 Tested all
of them with USBSerial, GPIO, SPI, DMA and a DMA ISR all working fine.
Similar examples ported to all of them.
2015-05-21 22:44:41 -05:00
victorpv e13b9a0709 SPI DMA functions.
Adds 6 new functions: DMA Transfer, DMA 8bit send, DMA 16bit send, write
16 bit int. and mode change to change between 8bit and 16 bit transfer.
2015-05-21 22:35:40 -05:00
rogerclarkmelbourne 331a02e296 Updated BlackMagicProbe upload pattern in platform.txt, and commented out windows specific upload lines 2015-05-20 19:38:16 +10:00
rogerclarkmelbourne 973fa0268e Added Black Magic Probe upload support for C series boards, Note Windows BAT file has not been tested yet 2015-05-19 21:44:10 +10:00
rogerclarkmelbourne 89d3262d17 Movred FreeRTOS from untested into the libraries folder now its been tested by @victor_pv 2015-05-19 07:45:47 +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 f69d71ba9d Fixed issue with DFU upload ID for F103V board 2015-05-14 20:00:15 +10:00
rogerclarkmelbourne a6957b748f Merge branch 'master' of https://github.com/rogerclarkmelbourne/arduino_stm32 2015-05-13 20:34:20 +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 f90929bfa8 Added dfu-util src as a sub module, also added compiled dfu-util files to tools/linux and added script to set udev rules, which I took from the old Maple IDE 2015-05-10 20:26:17 +10:00
Roger Clark 8c0004f573 Updated size calculation recipe regex with new version from @victor_pv 2015-05-09 18:29:31 +10:00
Roger Clark 115bb6ebbf Added pulseIn API function 2015-05-09 15:11:35 +10:00
Roger Clark 0c7ac4c1bb Fixed issue with Maple RET6 in boards.txt - already fixed in PIN_MAP-in-FLASH branch 2015-05-07 21:16:23 +10:00
Roger Clark 311b36450c Defined DEBUG_LEVEL=DEBUG_NONE in platform.txt so that it doesnt get defaulted to DEBUG_ALL in util.h, as this causes extra, unused code to be added. This change seems to save around 1.5k to the total on an empty sketch 2015-05-07 13:55:44 +10:00
Roger Clark 8d63e96246 Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-05-07 12:56:22 +10:00
Roger Clark 1df09212c0 Updated Nucleo F103RB variant with files from Matthias 2015-05-07 12:55:58 +10:00
rogerclarkmelbourne a0ca5b6938 Updated F4 to add STM pin numbers and change processor to cortex-m4 instead of cortex-m3 2015-05-06 15:08:34 +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
Roger Clark 30946d8a1c Fixed another typo in boards.txt 2015-05-05 23:21:34 +10:00
Roger Clark 766f9f37e1 Fixed issue with empty line at top of linux stlink_upload script (issue #48) 2015-05-05 21:39:21 +10:00
Roger Clark d9e5f1ed4d Removed typo in flash size of generic stm32f103cb board type name 2015-05-05 21:34:10 +10:00
Roger Clark 15cdd88daa Tidied boards.txt and made change to platform.txt to support changes to boards.txt 2015-05-05 11:16:01 +10:00
Roger Clark 5916e8c3be Updated linux stlink_upload 2015-05-05 10:06:31 +10:00
Roger Clark e7e552fef6 Accidenly updated the linux serial_upload instead of stlink upload, so I have re-instated its contents 2015-05-05 10:05:22 +10:00
Roger Clark 666b5b3da3 Updated stlink_upload script for Linux to enhanced code from @ahull 2015-05-05 08:13:32 +10:00
Roger Clark 4f9a83e08b added linux32 versions of stm32flash and stlink binaries and used scripts from OSX for these in linux as the scripts are identical 2015-05-02 19:09:45 +10:00
rogerclarkmelbourne 0901ab89af Fixed issue with missing dot (period) in definition of max ram for maple mini original bootloader params 2015-05-02 16:24:40 +10:00
rogerclarkmelbourne 10861ba517 Updated Bootloader 2.0 to remove RAM upload option. RAM upload now returns DFU error errWRITE ( 0x03) and displays the initial message 'Bootloader 2.0 ERROR. Upload to RAM is not supported'. Ram upload code has been commented out, definitions have been added for DFU alt strings to make them easier to change, not javascript util has been added at the bottom usb_description.c which can be used to generate modified DFU ALT ID descriptor text if needed 2015-05-02 14:56:52 +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 5fd0efa673 Updated and renames STM32 to Flash, so that STLink works better on Windows. Thanks to Rick Kimball, on the stm32duino.com forum 2015-04-29 21:20:42 +10:00
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