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
Jaret Burkett
7f23ee129c
Fixed Touchscreen Lib
...
Changed example to use the Touchscreen Library that has STM32 support.
2015-09-26 09:21:41 -05:00
Jaret Burkett
664c8c5981
Added Adafruit Touchscreen Library
...
Added support for STM32 to the Adafruit Resistive Touchscreen library.
2015-09-26 09:13:32 -05: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
Roger Clark
c0fd4e3038
Added Ethernet_STM library provided by Vasillis Serasidis (@Serasidis)
2015-06-18 02:29:32 +10:00
Roger Clark
7823a48ea2
Added TFT_ILI9163C library from @Victor_pv
2015-06-18 02:26:02 +10:00
rogerclarkmelbourne
7d7f113f63
improved vasillis's SPI 2 demo
2015-06-12 09:49:00 +10:00
Vassilis Serasidis
1a676200f7
Example of using the SPI_1 and SPI_2 ports on STM32F103.
2015-06-11 15:01:45 +03:00
Roger Clark
657d6dae02
Alternative / better fix provided by @pico based on work by @victor_pv. Commented out AF REMAP of NSS in spi_f1.c
2015-06-10 10:33:13 +10:00
rogerclarkmelbourne
ece9c3681d
Added code to 'get' the gpio mode of a pin, and have used it in SPIClass::begin() to store and reinstate the pin mode of the SPI NSS pin. This is a work around for 'features' in the STM32 silicon, which seem to change the GPIO mode of the SPI NSS (hardware - 'Software Select' pin)
2015-06-10 10:25:22 +10:00
Roger Clark
263d3af266
Added files missing from the last commit
2015-06-06 08:16:20 +10:00
Roger Clark
1af98fed89
Converted VS1003 lib to new lib style including keywords
2015-06-06 08:15:47 +10:00
Roger Clark
2797907221
Added support for SPI 2 to VS1003 library, and made a change to SPI to support other libs being able to select which SPI they want to use (issue with const in transfer()
2015-06-06 07:46:42 +10:00
rogerclarkmelbourne
7643bac725
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-06-05 17:02:19 +10:00
rogerclarkmelbourne
a3a3c9d90b
Changed boards.txt so that Maple DFU upload is now called STM32duino bootloader
2015-06-05 16:42:25 +10:00
Roger Clark
146dad4512
Upadted VS1003_STM lib with latest files from Vasillis Serasidis
2015-06-03 10:44:10 +10:00
rogerclarkmelbourne
f337329c89
Undid changes to isrs.s from last merge (its not practical to undo the remove, its easier just to replace the file in question with the older / working version
2015-06-02 08:05:32 +10:00
rogerclarkmelbourne
97604fe455
Replaced isrs.s with new version from victor_pv with improved system for weak refs to isr handlers
2015-06-01 19:19:37 +10:00
victorpv
164c8065c8
Weakrefs used instead of weaks in isrs.S
2015-05-31 09:10:31 -05:00
rogerclarkmelbourne
912098d5b8
Updated with commits that had been applied to Leaflabs:libmaple since the original copy of the repo was taken (by BobC) in Nov 2014
2015-05-31 18:06:19 +10:00
rogerclarkmelbourne
58df3f36b4
Changed all remaining boards to have HW serial definitions in board.cpp so that every board can configure which Arduino Serial instance maps to which hardware serial device
2015-05-31 16:09:26 +10:00
rogerclarkmelbourne
29f7cc74b4
Merge branch 'master' into move_serial_config_to_variants
2015-05-31 15:28:16 +10:00
rogerclarkmelbourne
9411f03988
Merge branch 'fix_weak_ref_timers'
2015-05-31 15:27:06 +10:00
Roger Clark
0a77202ed4
Merge pull request #69 from Serasidis/master
...
AddedENC28J60 Ethernet library for STM32, from Vasillis Serasidis
2015-05-29 09:26:22 +10:00
rogerclarkmelbourne
daef5a1781
Fixed issue in boards.txt where board indentifier for Maple mini included a underscore - which seems to cause problems in some version of the IDE (namely 1.6.0)
2015-05-29 09:06:23 +10:00
Vassilis Serasidis
ed14ded3cc
ENC28J60 Ethernet library for STM32.
...
Example sketches that use the EtherCard library.
2015-05-28 16:48:02 +03:00
Vassilis Serasidis
eee152ceca
ENC28J60 Ethernet library for STM32.
...
12
2015-05-28 16:47:02 +03:00
Vassilis Serasidis
9011387505
ENC28J60 Ethernet library for STM32.
2015-05-28 16:41:18 +03:00
Vassilis Serasidis
a61bd57817
ENC28J60 Ethernet library for STM32.
...
The ReadMe file
2015-05-28 16:34:55 +03:00
Vassilis Serasidis
ce860eab9e
ENC28J60 Ethernet library for STM32.
2015-05-28 16:33:15 +03:00
Vassilis Serasidis
276ebf3c9a
1
2015-05-28 16:31:56 +03:00
Vassilis Serasidis
dcaa115d0a
Present a "Will be back soon web page", as stand-in web server
2015-05-28 16:30:03 +03:00
Vassilis Serasidis
44b9f888d7
Keywords of the library
2015-05-28 16:26:41 +03:00
Vassilis Serasidis
8ab2afbe84
Library properties
2015-05-28 16:26:22 +03:00
Vassilis Serasidis
c865aefe59
Revert "Delete README.md"
...
This reverts commit 7a087b3e24
.
2015-05-28 16:22:52 +03:00
Vassilis Serasidis
7a087b3e24
Delete README.md
2015-05-28 15:19:53 +03:00
Vassilis Serasidis
30bcd528ef
Create README.md
2015-05-28 15:17:45 +03:00
rogerclarkmelbourne
a1fdae2817
Made changes for Nucleo F103RB and Generic STM32F103C . Note this commit only works with these 2 boards, on all others Serial will not compile
2015-05-28 17:38:59 +10:00
rogerclarkmelbourne
39b200982a
Added generic STM32F103RC support and started work on generic STM32F103R
2015-05-28 15:31:06 +10:00
rogerclarkmelbourne
c3428ca861
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-05-28 14:09:09 +10:00
rogerclarkmelbourne
9b875ca1dc
Added Black Magic Probe upload to Generic R,V and Z series
2015-05-28 12:53:34 +10:00
Roger Clark
4948c208a1
Merge pull request #68 from victorpv/SPI_changes
...
Merged change from Victor_PV, Removed SPI write() for 8 bit, as 8 bit is now handled by the new 16 bit write code
2015-05-28 11:23:55 +10:00
Roger Clark
0a9b0a8b60
Merge pull request #67 from victorpv/ILI9341_without_DMA
...
Fix issue in Ili9341 without dma
2015-05-28 11:18:56 +10:00
victorpv
d165e4d013
SPI updated to eliminate warnings
...
The same write function works for both 8bit and 16bit transfers, so
eliminated the 8bit one and that takes out warnings when the compiler is
not sure of the width. Tested with both ILI libraries (_STM and not STM)
2015-05-27 20:16:15 -05:00
victorpv
a6e0fadb82
Reverts changes to the ILI9341 library that should not use DMA.
2015-05-27 20:05:35 -05:00
Roger Clark
c39ccfab55
Merge pull request #63 from victorpv/ILI9341
...
Modifications to Ili9341_STM library
2015-05-28 10:42:16 +10:00
rogerclarkmelbourne
0970f4af3a
Reinstated USB Serial on upload via STLink and also Maple DFU on generic boards.
2015-05-28 09:53:58 +10:00
rogerclarkmelbourne
60c094fe5d
Removed deprecated / old board for Generic STM32 to Flash. Use GenericStm32F103C instead
2015-05-28 09:46:35 +10:00
Roger Clark
ffe2f6d043
Merge pull request #64 from victorpv/re-script
...
Fixed ram size in RC board with new bootloader
2015-05-28 09:35:48 +10:00
Vassilis Serasidis
09f96592ad
Added a short video demonstration of the VS1003B_STM library.
2015-05-27 14:53:15 +03:00
Vassilis Serasidis
157391d608
Added video demonstration of the VS1003B_STM library.
2015-05-27 14:51:43 +03:00
rogerclarkmelbourne
ea235f84b5
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-05-27 19:44:39 +10:00
rogerclarkmelbourne
da54c87173
Added Adafruit_SSD1306 and OLED_I2C libs ported by @Madias
2015-05-27 19:44:14 +10:00
Vassilis Serasidis
c3f81756d8
Unused included libraries in hello_STM.ino file have been removed.
2015-05-26 12:40:44 +03:00
rogerclarkmelbourne
e069959d3e
Added VS1003V_STM from Vassillis Serasidis. Note. Had to make a minor change as PC7 used in the example was not availabel on Maple mini. So I changed this for PC14
2015-05-26 17:00:42 +10:00
rogerclarkmelbourne
39787f73e7
Changed isrs.s with update from Rick Kimball to fix issue with hardware timers when not using the --whole-archive flag in the build flags. also changed platform.txt to remove --whole-archive
2015-05-26 14:50:37 +10:00
victorpv
15781c492b
Ram size corrected.
...
It was wrongly set to 61KB.
It is actually 48KB for RC, and 64 for RD and RE, but I am using 64KB in
an RCT6 mcu without any issue.
2015-05-24 00:30:55 -05:00
victorpv
84ff52b49d
Updated to use new DMA functions.
...
Previous version will not work anymore due to conflict of variable name
(dma1_ch3_active
2015-05-24 00:21:15 -05:00
rogerclarkmelbourne
7fe2e7806a
Disabled generic bootloader USB reset
2015-05-24 09:15:43 +10:00
rogerclarkmelbourne
4f6667afca
Fixed issue caused by my missunderstanding of implementing Ricks compile pattern in platform.txt - which removed --whole-archive, which breaks many things :-(
2015-05-23 21:07:59 +10:00
rogerclarkmelbourne
f5b2940a49
Minor change to RTClock library keywords
2015-05-23 18:23:14 +10:00