Commit Graph

71 Commits

Author SHA1 Message Date
Roger Clark 9695c368e0 Merge pull request #118 from mwm/master
Fix file open to actually turn on inbound parity checking.
2016-04-17 20:51:59 +10:00
WereCatf 9bf2af2dfc Install udev-rules for ST-link 2016-04-17 09:34:46 +03:00
Roger Clark ba5d4058f1 Merge branch 'development' 2016-02-28 14:52:14 +11:00
Sebastian Kostka cf16dcd8f6 Update dfu-utils for OS X 10.11.2 2016-01-10 15:32:01 +01:00
Roger Clark acf956a3e7 Compiled new version of stm32flash for OSX, with changes from @jcw 2015-11-21 19:42:53 +11:00
Roger Clark d0ed1941bb Merge branch 'master' into development 2015-11-20 20:27:18 +11:00
Jean-Claude Wippler 3e41a7458c remove the cflag check 2015-11-15 13:51:32 +01:00
David Brunell 44af152967 Partial reversion of maple_upload
Change at line 20 unnecessary.
2015-10-30 13:56:36 -05:00
David Brunell 5a1944c795 Fix case of spaces in path to linux tools directory 2015-10-30 13:21:41 -05:00
Roger Clark bd6d3b5092 Fixed issue in linux maple_upload.sh caused by paths with spaces in them 2015-10-29 19:55:47 +11:00
rogerclarkmelbourne 47e3050025 Added empty board.txt files to drivers, examples and tools, to stop the IDE warning messages (as these folders don't contain cores 2015-10-27 10:48:08 +11:00
Mike Meyer 09f6ccbb8d Fix file open to actually turn on inbound parity checking.
The INPCK bit is an i_flag bit, not a c_flag bit as originally done
here. I have no idea what setting INPCK in c_flag does on Linux, but
on FreeBSD it caused the test of the c_values after they were set to
fail. This fixes that, and presumably the serial interface will now
actually check the parity of incoming data.
2015-09-24 20:44:03 -05:00
Roger Clark f3c46b0842 Fixed OSX upload reset issue by appending -R to the dfu upload command in the macosx maple_upload script 2015-08-17 08:45:37 +10:00
Roger Clark 5bc3de4331 Fixed DFU upload reset issue by appending -R to the linux maple_upload script 2015-08-17 08:44:32 +10:00
Fergus 3b8b7a79f4 Bugfix for HardWire/I2C + configured/compiled dfu-util to work on Linux again
- Fixed 0 byte payload bug, stopping HardWire from sending only addresses to scan for devices
 - Fixed I2C bug accessing wrong status register for error flags
 - Improved Hardwire endTransmission() return flags to correspond with the actual I2C failure status
 - Removed dos endings from dfu-util autogen script breaking compilation
2015-08-01 18:58:14 +01:00
Roger Clark ce70ae4fce Added source to maple_loader.jar 2015-07-20 06:38:38 +10:00
Roger Clark 8ab4734573 Add cached dfu-util sources, as the original remote repo is no longer available for use as the source to the dfu-util folder as a submodule 2015-07-09 20:15:54 +10:00
Roger Clark 9056c63977 Removed submodule dfu-util 2015-07-09 20:09:11 +10:00
Roger Clark e0d6307685 Built Linux binary and also changed printed message to indicate this is a special version built for Arduino STM32 2015-07-08 19:48:57 +10:00
Roger Clark 176db5f9d0 Fix issue on OSX (and other platforms) where stm32flash only works if the serial device name starts with /dev/tty, as on OSX some serial devices start with /dev/cu. Also corrected mistake about .a file in stm32 parsers folder, and hopefully removed the .a file from source control 2015-07-08 15:14:25 +10:00
Roger Clark cd9e17deea Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_stm32 2015-07-06 09:23:37 +10:00
Roger Clark 58a5799ace Added linux install file missing after previous name change to this file 2015-07-06 09:23:01 +10:00
Roger Clark 8c327aca05 Added OSX DFU binaries and changed the OSX maple-upload script to use them. (This saves users having to install dfu-util themselves, e.g. via Homebrew 2015-07-04 10:15:44 +10:00
Roger Clark 70403109c5 Updated Linux install script so that it also adds the current user to the dialout group. Also removed duplicate copy of the Linux install script from drivers/linux 2015-07-03 21:31:50 +10:00
Roger Clark 3b2c87de5a Updated linux tools to contain upload-reset (bin) utility, and modified maple-upload script to use this utility to reset the bootloader prior to upload. Also changed maple-upload so that it uses the pre-compiled dfu-util binary that is now part of the repo 2015-06-28 11:06:00 +10:00
Roger Clark 0ff9438aa1 Added osx upload-reset binary omitted from last commit 2015-06-16 21:25:40 +10:00
Roger Clark a25bb2b50b Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-06-16 21:23:52 +10:00
Roger Clark a7244e0e89 Added upload-reset.c source. Added upload-reset OSX binary, and modified maple-upload script to use upload-reset 2015-06-16 21:23:43 +10:00
Martin Ayotte 53e4329a75 add dfuse_addr arguments option for tools/macosx/maple_upload 2015-05-31 13:22:21 -04:00
Martin Ayotte 44bfd8ae54 fix SetupClock168() for Netduino2Plus + add STM32Stamp/Netduino2Plus boards + add dfuse_addr in upload 2015-05-28 17:20:49 -04:00
rogerclarkmelbourne 8540c26429 Changed Windows STlink upload to use STM's own STLink CLI Exe as this supports more STLink hardware than Texane-STLink and some users had problems with Texane on F4 and F3 boards 2015-05-26 14:09:46 +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
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 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 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 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
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 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 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 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 d7cf10c6ee Added linux upload_router script. Please note, Linux users may need to set execute permissions on this file. I can't however do this when commiting the file from my Windows machine 2015-03-09 01:52:39 +11:00