Commit Graph

121 Commits

Author SHA1 Message Date
Roger Clark 968781ab8c Updated HAL library with clean set of files from the cube (very few changes) 2016-06-21 17:10:13 +10:00
Roger Clark 22f69cc8f2 Remove non working DMA example 2016-06-21 17:00:13 +10:00
Roger Clark 6fbdab0b94 Added missing files 2016-06-21 16:58:55 +10:00
Roger Clark 772174fed1 Updated HAL library with the latest files exported from the Cube. Also enabled as many interfaces as possible. Note CAN bus interferes with USB, so has been commented out in stm32f1xx_hal_conf.h 2016-06-21 15:18:28 +10:00
Roger Clark d62cf1a35a Added experimental HAL library 2016-06-21 11:33:02 +10:00
Roger Clark 761eada3a2 Merge branch 'master' into development 2016-06-06 10:21:38 +10:00
Roger Clark 0cebedb59e Added Etheret_STM by Vassilis (at his request, as copy of https://github.com/Serasidis/Ethernet_STM) 2016-06-06 10:20:55 +10:00
Roger Clark f221430cfa Merge branch 'master' into development 2016-05-13 14:48:28 +10:00
Roger Clark 71e8282fc1 Renamed MrBrunetteExamples to General examples, and remoted boards.txt 2016-05-13 14:40:06 +10:00
Roger Clark cc639cd9cb Moved examples to new dummy library item 2016-05-13 14:39:10 +10:00
Roger Clark 4ce00387d8 Add dummy / shell library to allow IDE access to the examples 2016-05-13 14:38:34 +10:00
Roger Clark c2243ff004 Removed stm32f2 files and F1 unused support files 2016-05-08 14:34:09 +10:00
Roger Clark e69f84a88a Attempt to remove TFT_ILI9163C submodule 2016-05-05 21:26:44 +10:00
Roger Clark c4d665155a Attempt to remove Ether_STM submodule 2016-05-05 21:25:29 +10:00
Roger Clark 76157ad751 Updated 'category' in library.properties files, to shop the IDE complaining that this key is missing 2016-05-03 20:44:18 +10:00
WereCatf a1498ee778 Update Adafruit_ILI9341_STM.cpp 2016-04-23 06:05:38 +03:00
WereCatf 29a5400188 Bugfix Adafruit_ILI9341_STM
readcommand8() toggles _sclk, but when using hwSPI it's set to 0, ie. it's toggling GPIO0, which it obviously shouldn't be doing. Also, when SPI-transactions had been enabled the SPI-bus speed was set to only 8MHz -- now we set it to 36MHz on STM32F1.
2016-04-22 20:36:38 +03:00
Roger Clark ba5d4058f1 Merge branch 'development' 2016-02-28 14:52:14 +11:00
Dan Drown 4790010b78 Remove libraries/LiquidCrystal_I2C/
closes rogerclarkmelbourne/Arduino_STM32#158
2016-02-03 20:29:49 -06:00
Vassilis Serasidis 114861b36c Touch screen library for STM32F1, based on XPT2046 touch controller.
The XPT2046 touch controller can be found on the new 2.4" ILI9341 SPI
LCDs.
2015-12-03 20:38:20 +02:00
Roger Clark a7e909a6de Merge branch 'master' into development 2015-11-15 13:00:39 +11:00
Roger Clark 0469149581 Merge pull request #119 from jaretburkett/master
Added Touchscreen Library
2015-11-15 10:27:08 +11:00
Jean-Claude Wippler 91014b40a8 fixes #125 2015-11-05 16:27:24 +01:00
stevstrong b81d7b7334 removed unwanted dashes which caused compiling error 2015-11-04 08:08:21 +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
Vassilis Serasidis fea15b00d6 VS1053B MIDI example is added 2015-08-29 23:08:22 +03: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 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
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