Commit Graph

442 Commits

Author SHA1 Message Date
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
rogerclarkmelbourne 461b86207e Added Serial.begin(115200) to both examples so that they work on non-bootloader boards 2015-08-06 17:42:04 +10:00
rogerclarkmelbourne fa94d9f143 Merge branch 'master' of https://github.com/fergul/Arduino_STM32 into fergul-master 2015-08-06 17:32:13 +10:00
Roger Clark b38986fd85 Merge pull request #97 from jeremyvnc/patch-1
Added an include of stdlib.h in F4 wirish,h to fix compile issue is EXFUN
2015-08-06 10:32:36 +10:00
jeremyvnc 416bda020b Added an include of stdlib.h
Needs include of stdlib.h for a compile to take place on the F4 variant.
2015-08-05 15:34:49 -04:00
Roger Clark ab37760af7 Oops. Failed to save the revised definition for SOFT_STANARD Wire speed which should have been part of the previous commit 2015-08-03 09:48:50 +10:00
Roger Clark 885d3f2c5c Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-08-03 09:46:33 +10:00
Roger Clark d3bd109013 Changed default speed on Wire library to 100kpbs (same as AVR Arduinos), thanks to @fredbox on the forum for the delay values to achieve 100kbps 2015-08-03 09:45:57 +10:00
Fergus 572b311c3a Fixed formatting to match existing style + Hardwire comments 2015-08-01 19:09:43 +01:00
Fergus 61b212d42b Added i2c_scanner examples to Wire library for testing HWire and Wire 2015-08-01 19:04:18 +01: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 0ec837f08c Fix for uninitialised vars in dmaTransfer and dmaSend (as detailed by victor_pv) 2015-07-28 12:00:16 +10:00
Roger Clark b67efa7691 Merge pull request #94 from martinayotte/master
Add missing/forgotten variant.h to STM32F4 supplied by @martinayotte
2015-07-27 09:38:01 +10:00
Martin Ayotte fbed6fbe50 add missing/forgotten variant.h 2015-07-26 10:49:05 -04:00
Roger Clark 07ba8f279a Updaded SPI with update from VictorPV 2015-07-26 04:58:12 +10:00
Roger Clark b8d1cd472a Added missing definition for __always_inline (supplied by @martinayotte) 2015-07-22 14:04:04 +10:00
Roger Clark d5986cce76 Added lagacy windows xp drivers 2015-07-20 10:20:04 +10:00
Roger Clark ce70ae4fce Added source to maple_loader.jar 2015-07-20 06:38:38 +10:00
Roger Clark 9c951d40d6 Merge branch 'SPI_setModule' 2015-07-17 09:52:04 +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 dfc1f47381 Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-07-09 20:11:13 +10:00
Roger Clark 9056c63977 Removed submodule dfu-util 2015-07-09 20:09:11 +10:00
Roger Clark b0c364b6ce Merge pull request #90 from cdrose/patch-1
Update PIN_MAP to allow PWM on PB9
2015-07-09 11:14:28 +10:00
Colin 7d45f68fde Update PIN_MAP to allow PWM on PB9 2015-07-09 12:47:33 +12: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 fc50831843 Continued with SPI setModule - still doesnt work when I tried setModule(2); 2015-07-08 11:14:57 +10:00
Roger Clark 20a9214291 Some fixes. Works for SD example SPI 1, not tested with anything else. setModule not tested 2015-07-07 20:59:33 +10:00
Roger Clark 7217137875 Merge pull request #89 from martinayotte/master
STM32F4 pull request from @ martinayotte  to Fix HardwareSerial::begin by doing gpio_set_af_mode AF8 when devices are UART4 or UART5
2015-07-07 09:17:15 +10:00
Roger Clark 2e13a1d57e Initial attempt at SPI setModule - but it doesn't seem to work for SPI2 etc, even when not using setModule to select the SPI channel, when I tested with a VS1053 board attached to SPI2 and SD on SPI1 2015-07-07 07:27:09 +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
Martin Ayotte 09fbe05662 fix Debugging print when different SPI is used 2015-07-05 17:13:01 -04:00
Martin Ayotte 6cd5f5e431 Merge remote-tracking branch 'upstream/master' 2015-07-05 10:16:11 -04:00
Martin Ayotte d5dbdb685c fix HardwareSerial::begin by doing gpio_set_af_mode AF8 when devices are UART4 or UART5 2015-07-05 10:15:33 -04:00
Roger Clark 6d18be66ad Move Timer ISR handlers from timer_f1.c to timer.c to resolve linker issue in which some ISR's were not being linked even though they were being used 2015-07-05 22:38:47 +10:00
Roger Clark 3d51e8c530 Tidied up names of Maple boards in boards.txt menu names 2015-07-05 11:06:32 +10:00
Roger Clark 1d7a0bc21b Fix issue with default SPI pin definitions in wirish.h being incorrect (as they were the pin definitions for AVR boards). wirish.h now uses the pin definitions defined in board.h for whatever variant is selected 2015-07-05 03:08:34 +10:00
Roger Clark 84fdcc8a62 Merge pull request #88 from martinayotte/master
PR to fix F4 DNS Bug fix
2015-07-05 08:56:32 +10:00
Martin Ayotte 17edc3743f Merge remote-tracking branch 'upstream/master' 2015-07-04 09:18:57 -04:00
Martin Ayotte 25e81d7cf1 fix DNS issue caused by HTON macro weirdness on 32bits + fix inet_aton() 2015-07-03 23:04:22 -04: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 4c12092d26 Merge pull request #87 from martinayotte/master
add new arduino_uip + tweak variants for Netduino2Plus ENC28J60/SPI networking
2015-07-03 09:07:57 +10:00
Martin Ayotte cfa28a9a75 add new arduino_uip + tweak variants for Netduino2Plus ENC28J60/SPI networking 2015-07-02 13:09:38 -04:00
Roger Clark 4f036873eb Merge pull request #86 from tjstyle/master
Applied FLAC decoder patch to VS1003 library
2015-07-02 08:43:38 +10:00
Teguh Sobirin 1e4fdf743a FLAC decoder patch
By uncommenting "#define USEFLAC" in VS1003_STM.h the FLAC patch will be
loaded at begin time.
2015-07-01 20:16:27 +07: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 69420b429b Added linux udev rules scripts and rules, taken from the leaflabs Linux IDE install file 2015-06-27 21:50:32 +10:00
Roger Clark 501da92986 Added a line in SPI.cpp to default the bitOrder to MSBFIRST 2015-06-25 09:36:23 +10:00