Commit Graph

198 Commits

Author SHA1 Message Date
Roger Clark e48ff38e52 Merge branch 'master' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-master 2015-11-04 09:02:56 +11:00
stevstrong b81d7b7334 removed unwanted dashes which caused compiling error 2015-11-04 08:08:21 +01:00
stevstrong 796dc93ab9 re-added previously deleted EXTSEL defines 2015-11-03 13:43:59 +01:00
Roger Clark 1fc436e596 STM32F1. Removed support / worksround for IDE versions before 1.6.3, with removal of platform.rewrite.keys.txt and update of compiler path in platforms.txt 2015-11-03 05:28:50 +11:00
Roger Clark 37dc796076 Merge pull request #129 from jcw/variant-reorder
Reorder STM32F103T variants in boards.txt so smallest memory size is first
2015-10-31 20:34:07 +11:00
Roger Clark 07cf09a358 Merge pull request #128 from Serasidis/master
Added missing Ethernet library files to STM32F1 (note the same needs to be done to GD32F1 eventually)
2015-10-31 16:36:34 +11:00
stevstrong 42659ebbb0 added defines of external event selections for regular and injected groups 2015-10-30 14:12:38 +01:00
Jean-Claude Wippler 83edd50057 fixed, only C8/CB and T8/TB affected 2015-10-30 11:42:38 +01:00
Jean-Claude Wippler a5ff471320 oops, messed up, revert, white space cleanup first 2015-10-30 11:40:52 +01:00
Jean-Claude Wippler 94a319e26e reorder variants so smallest mem size is first 2015-10-30 11:29:25 +01:00
Vassilis Serasidis a56c92e0f4 Added missing Ethernet library files 2015-10-29 21:19:47 +02:00
Roger Clark eab149a904 Fixed reference to incorrect linker file in boards.txt for F103T8 2015-10-29 19:54:12 +11:00
Roger Clark ba2c2cd89a Merge pull request #123 from jcw/master
Add generic STM32F103T[8B] variants, created by @jcw
2015-10-28 20:55:52 +11:00
rogerclarkmelbourne 784c7beac5 Added _BV macro fro AVR compatibility 2015-10-27 21:06:00 +11:00
Jean-Claude Wippler dbd81d42af add generic STM32F103T[8B] variants 2015-10-27 10:41:08 +01:00
stevstrong 3ef9112870 additional function updateSettings() to replace the call to begin().
removes unwanted glitches before getting SCK active caused by setting parameters after begin().
2015-10-26 12:58:22 +01:00
stevstrong f87b4adda8 additional function updateSettings() to replace the call to begin().
removes unwanted glitches before getting SCK active caused by setting parameters after begin().
2015-10-26 12:52:45 +01:00
stevstrong 37fbb642ea added part from SD fat lib which enables SPI 2 device write access
taken from SdSpiSTM32F1.cpp - Victor's lib, and adapted to support device selection.
To be checked with other libs which are using the SPI lib.
2015-10-26 11:36:24 +01:00
rogerclarkmelbourne 536cec8f5d Various changes to boards.txt and some libraries, so that things will compile under IDE 1.6.6 Note. There are still loads of warnings when you compile - which look like they may be caused by the IDE using a new version of GCC, but at least it now compiles 2015-10-09 17:18:38 +11:00
Roger Clark 2e9b4f3955 Merge pull request #110 from Serasidis/patch-2
Serasidis_VS1003B_STM - Updated the example for using it with the new one SPI library.
2015-09-09 21:13:52 +10:00
Vassilis Serasidis 89a5a661f3 Updated the example for using it with the new one SPI library. 2015-09-09 12:33:42 +03:00
Vassilis Serasidis 0b9e84d8fa Updated the example for using it with the new one SPI library. 2015-09-09 12:32:00 +03: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
Vassilis Serasidis fea15b00d6 VS1053B MIDI example is added 2015-08-29 23:08:22 +03: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 d8996970ed Update timer.h
Changed TIMER_SMCR_TS and TIMER_SMCR_SMS as recommended by @Victor_PV
2015-08-23 14:50:33 +10:00
Roger Clark f1086b6b20 Fixed issue with gerneric F103RB and F103R8 caused by typos in boards.txt 2015-08-13 20:02:03 +10:00
Roger Clark c05570dbcc Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2015-08-11 22:14:30 +10: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
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 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 07ba8f279a Updaded SPI with update from VictorPV 2015-07-26 04:58:12 +10:00
Roger Clark 9c951d40d6 Merge branch 'SPI_setModule' 2015-07-17 09:52:04 +10:00
Colin 7d45f68fde Update PIN_MAP to allow PWM on PB9 2015-07-09 12:47:33 +12: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 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 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
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 501da92986 Added a line in SPI.cpp to default the bitOrder to MSBFIRST 2015-06-25 09:36:23 +10:00