Commit Graph

320 Commits

Author SHA1 Message Date
victorpv b892004cc2 Add files via upload 2017-07-10 12:00:29 -05:00
Roger Clark 385dfbf29c Merge pull request #270 from SukkoPera/Fix-ifSerial
Added "if serial" and deprecated isConnected()
2017-07-06 08:36:20 +10:00
Roger Clark 1189a3569c Merge pull request #276 from lacklustrlabs/Adafruit_SSD1306_STM32_swap
Add swap() function to ssd1306_128x64_i2c_STM32 as example would not build…
2017-07-04 08:39:56 +10:00
Roger Clark bd8ef73bef Merge pull request #302 from bmarquismarkail/rcmclone
Adding i2C repeated start condition from @bmarquismarkail
2017-07-03 15:31:45 +10:00
Roger Clark 2dbf8b72c3 Merge pull request #261 from victorpv/FreeRTOS900
Added Free rtos900 from @victorpv
2017-07-03 15:29:23 +10:00
U-MarquisSeven\Brandon 54044592fb changing comment 2017-06-26 18:59:33 -05:00
U-MarquisSeven\Brandon 80339e6073 checking out work from master 2017-06-26 18:57:49 -05:00
Roger Clark aef93f74cd Moved encoderLookup LUT from flash to RAM to give 30% speed increase of setPixelColor() - at the expense of 768 bytes of RAM 2017-06-13 10:39:42 +10:00
Roger Clark ca484b4fdd Add WS2812B library again, but this time without the .git folder in it 2017-06-13 10:38:05 +10:00
Roger Clark 40dd7c6fe1 Removed WS2812B lib as it had a .git folder in it which was causing problems 2017-06-13 10:37:16 +10:00
Roger Clark 7487d96f70 Fix typo in Hardware end() 2017-06-13 08:32:56 +10:00
Roger Clark cc355255ac Added WS2812B (aka Neopixel) library using SPI DMA asynchronous transfers and double buffering 2017-06-12 16:42:49 +10:00
Roger Clark 953aa8b88e Added end() to HardWire (I2C) 2017-06-11 15:55:08 +10:00
Roger Clark f47846662d Added Wire.end() for bit banged version (TwoWire.cpp) 2017-06-11 15:42:05 +10:00
Roger Clark 0444a36527 Added an additional SPI API function dmaSendAsync which will start the a DMA send of a buffer and return immediately. The next time dmaSendAsync is called it waits if the previous transfer is not complete. Note the buffer is not copied, so ddouble buffering is needed to use this function 2017-06-11 15:35:14 +10:00
SukkoPera ef60992e20 Merge remote-tracking branch 'upstream/master' into Fix-ifSerial 2017-06-09 22:11:52 +02:00
SukkoPera c4643b265e Remove isConnected() usage and binary zeros from StringEx_Parsinge xample 2017-06-09 22:07:33 +02:00
SukkoPera bf138eb389 Remove isConnected() usage from examples 2017-06-09 22:07:05 +02:00
Roger Clark ed8c7a186f Merge branch 'F1_SPI_development' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-F1_SPI_development 2017-06-06 20:54:53 +10:00
Roger Clark 8477fba5d5 Merge branch 'master' into stevstrong-F1_SPI_development 2017-06-06 20:54:17 +10:00
stevstrong 782b53119d used GFX library changed back to GFX_AS 2017-05-25 10:18:27 +02:00
stevstrong aa79ea1d6e Adafruit_ILI9341_STM - reworked for 16 bit SPI register accesses 2017-05-24 18:40:41 +02:00
stevstrong f1608abe0b SPI update
- cleaned up commented out lines
- run-time optimized write and transfer functions
- run-time optimized non-DMA block read routine
- function call order within DMA routines tied to F4 structure - in line
with AN4031, chapter 4.3
- reworked send functions (currently not used, deprecated, but still)
2017-05-22 21:09:12 +02:00
syfre c8df44228c Add, SMT32ADC example, Single channel at fixed sample rate (timer) using circular buffer (DMA) 2017-05-07 11:41:58 +02:00
syfre d240a7efa7 Fix, compile error in enable_internal_reading() 2017-05-06 23:04:11 +02:00
lacklustrlabs 1d29d13967 The ssd1306_128x64_i2c_STM32 example would not build because of a missing swap() macro. 2017-04-27 18:22:18 +02:00
victorpv ea81f36fa5 FreeRTOS900 2017-03-25 08:31:44 -05:00
Josh Stewart 7c320774b1 Add EEPROM.update() function 2017-02-08 15:17:58 +11:00
stevstrong 38ea7287ca Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-12-27 11:42:34 +01:00
stevstrong fb823b6929 remove unused code & bugfixes
- setDataSize shall first disable the SPI before writing new value
- dmaTransfer adapted for TFT library usage
2016-12-26 15:26:51 +01:00
stevstrong 22fad7582d Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-12-26 15:13:43 +01:00
Roger Clark 76dcee39a9 Removed old - mainly non functional Due related display examples 2016-12-23 09:48:43 +11:00
stevstrong e7456e1916 further optimizations
- extend read function to 16bit
- add repeated write the same byte/word a specified number of time
- revert increment option to dmaSend
2016-12-10 22:36:21 +01:00
Roger Clark 69413ee56e Update InternalTempSensor.ino
Fixed issue caused by https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/132/files
2016-11-27 10:10:42 +11:00
Roger Clark 1892447080 Fix issue 196, for Servo library 2016-11-12 18:34:58 +11:00
stevstrong b2e349ca36 Revert "Revert "improve SPI low level functions""
This reverts commit 3469ef291b.
2016-11-11 22:12:13 +01:00
stevstrong 3469ef291b Revert "improve SPI low level functions"
This reverts commit 5db2523284.
2016-11-11 22:04:16 +01:00
stevstrong eec2e64ad0 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-10-31 23:23:09 +01:00
stevstrong 5db2523284 improve SPI low level functions
- optimize code and run-time
2016-10-31 22:29:40 +01:00
Roger Clark 34b6bd927d Fixed issue with ILI9341_due library (and Touch libary), incorrectly including pins_arduino.h 2016-10-29 22:09:44 +11:00
Roger Clark ffea9588ea Merge branch 'master' of https://github.com/stevstrong/Arduino_STM32 into stevstrong-master 2016-10-17 09:35:56 +11:00
stevstrong 073aa23ed2 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-10-16 23:02:16 +02:00
Roger Clark e1e2cac780 renamed 16 bit version of transfer() to transfer16() as per the Arduino API 2016-10-16 13:34:09 +11:00
stevstrong 8f847cc786 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-10-12 19:19:03 +02:00
Roger Clark e165d27711 Merge branch 'master' into bubulindo-master 2016-09-27 15:00:21 +10:00
Mike Causer 29f52516c2 In TFT_Show_Font_ILI9341 example change init to begin 2016-09-27 11:29:23 +10:00
Roger Clark 9147a461e7 Merge branch 'master' of https://github.com/bubulindo/Arduino_STM32 into bubulindo-master 2016-09-26 10:42:42 +10:00
Bubulindo 5c13d8b0d4 Addition of a better way to deal with the Onboard ADC.
This modification adds support for a STM32ADC library. There are a
couple of examples on how to use it. The library allows usage of the
ADC with DMA in circular mode or scan mode, it allows the ADC to be
used in scan mode. And also to use the EOC interrupt.
More functionality needs to be added and will be in time.

Eventually the util files will be moved into the adc files in the core.
2016-09-23 16:35:18 +01:00
stevstrong 43b3376881 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-09-23 17:07:49 +02:00
Samuel Brucksch 29ef21629c Update Wire.h
changed SDA/SCL pins to the ones that were default in construcor of Wire.cpp
2016-08-07 13:22:53 +02:00
Samuel Brucksch 8119f88b8d Update Wire.cpp
default constructor now uses SCL and SDA defintinion from wire.h
2016-08-07 13:22:05 +02:00
stevstrong a079114bdc added transaction in slave mode, and 16 bit data transfer 2016-07-26 20:36:39 +02:00
stevstrong a98a47d379 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-07-25 23:30:10 +02:00
stevstrong efbbe6a4be Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2016-07-25 23:22:02 +02: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 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 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
stevstrong 9fe188a901 added SPI data size management to allow true 16 bit transfer 2015-12-26 18:39:28 +01:00
stevstrong 9679eaa5d3 Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' 2015-12-07 18:14:05 +01:00
stevstrong 4932a309f2 reworked update SPI settings
remove entirely the disturbing glitches on SCK line
2015-12-06 16:15:00 +01: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
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
Roger Clark 146dad4512 Upadted VS1003_STM lib with latest files from Vasillis Serasidis 2015-06-03 10:44:10 +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
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
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
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
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 f5b2940a49 Minor change to RTClock library keywords 2015-05-23 18:23:14 +10:00
rogerclarkmelbourne a47f46f34a Fixed issue with duplicate keywords in RTClock library 2015-05-23 11:21:26 +10:00
rogerclarkmelbourne fd224ab288 Added working version of RTClock, thanks to Ray and @ahull etc 2015-05-23 11:19:16 +10:00
victorpv 060dc414b9 Still part of the RTOS commit 2015-05-21 23:36:16 -05:00
victorpv 377217c9f5 CoOS 1.12 and 1.1.6 (latest), and FreeRTOS 8.2.1
Ported FreeRTOS 8.2.1 by finding the changes in the 7.0.1 version and
carrying them over. Then found an almost working port of CoOS, and
corrected it to work, and then carried the changes to 1.1.6 Tested all
of them with USBSerial, GPIO, SPI, DMA and a DMA ISR all working fine.
Similar examples ported to all of them.
2015-05-21 22:44:41 -05:00
victorpv e13b9a0709 SPI DMA functions.
Adds 6 new functions: DMA Transfer, DMA 8bit send, DMA 16bit send, write
16 bit int. and mode change to change between 8bit and 16 bit transfer.
2015-05-21 22:35:40 -05:00
rogerclarkmelbourne 89d3262d17 Movred FreeRTOS from untested into the libraries folder now its been tested by @victor_pv 2015-05-19 07:45:47 +10:00
rogerclarkmelbourne badf7057f0 Removed BOARD_LED_PIN and button pin definitions as they are not core Arduino API definitions and they were causing confusion on users of generic stm32 boards which don't all have an LED and even if they have an LED, the pin it is on is not always on the same pin depending on the model of generic board 2015-04-25 10:41:27 +10:00
Roger Clark 14b59151dd Replaced LiquidCrystal_I2C lib with newer version which was reported to have worked on the arduino forum - ref http://forum.arduino.cc/index.php?topic=310743.msg2186521#msg2186521 2015-04-15 21:08:01 +10:00
Roger Clark f9db223756 Changed to new library format and also updated comments in examples 2015-04-09 19:59:19 +10:00
Roger Clark 84019eede7 renamed OneWireSTM exampeles from pde to ino extension 2015-04-09 19:51:34 +10:00
Roger Clark 54ceae68ce Renamed OneWire library to OneWireSTM and also modified so it doesnt crash Maple or Maple mini boards 2015-04-09 19:50:32 +10:00
Roger Clark 5dcfa4f1b0 Removed non standard functions togglePin, toggleLED,isButtonPressed, and waitForButtonPress. And updated all examples that used these, to use other functions. Note togglePin was used internally in shiftOut. Also note, that some of these functions were replaced by the code that was inside the non standard function e.g inside togglePin. In the longer term these internal maple function calls need to be replaced by high level Arduino API calls like digitalRead and digitalWrite where applicable 2015-04-07 20:57:51 +10:00
Roger Clark 664e1c88ac Second attempt at SPI::DMATransfer. Now uses separate tx and rx buffers, and I also added code to wait for tx to complete and SPI to not be busy before exiting the function. Note. Operation of rx buffer has not been tested 2015-03-30 06:47:26 +11:00
Roger Clark 5f9e8a04dd Added first pas at SPI::DMATransfer(byte *buf, int length) - and updated ILI9341 lib to use DMA Transfer for fill rect 2015-03-30 03:31:41 +11:00
Roger Clark a47caee80d Added old Adafruit_ILI9341 lib, and modified the STM version of the lib so that the class name matches the filename for adafruit_ILI9341_STM 2015-03-27 10:08:47 +11:00
Roger Clark 88933cb191 Merge branch 'master' of https://github.com/victorpv/Arduino_STM32 into victorpv-master 2015-03-21 05:03:17 +11:00
victorpv ab59d0e690 ILI9341_due adapter for STM32F1 DMA 2015-03-19 23:06:51 -05:00
victorpv 78f9031154 Renamed libraries, but using original function names.
This way one knows if he is using the old or STM library by looking at
the include line, while the sketch should compile file as the functions
are named the same. I believe this is the best compromise.
2015-03-18 11:27:31 -05:00
victorpv cbfb5d40b0 Part of the previous commit, github didn't catch this first. 2015-03-18 08:59:25 -05:00
victorpv fcdd15e0ad Revert "Revert "These are the DMA ILI9341 library and Extra fonts GFX""
This reverts commit 6cc87e88bb.
2015-03-18 08:57:46 -05:00
victorpv 6cc87e88bb Revert "These are the DMA ILI9341 library and Extra fonts GFX"
This reverts commit 7e41e0d11b.
2015-03-18 08:55:48 -05:00
victorpv 7e41e0d11b These are the DMA ILI9341 library and Extra fonts GFX
Added DMA support for STM32F1xx, and extra check in line and rect
funtions to avoid trying to draw a 0 width or 0 height line/rectangle,
which would cause 0 bytes DMA transmission and hang in a loop.
2015-03-18 08:55:11 -05:00
Roger Clark e9f67b2f63 Added accessor function for the spi device to spi.h 2015-03-18 20:32:56 +11:00
victorpv d8cf268443 Added adafruit_gfx_as library adapted to maple mini 2015-03-12 19:43:53 -05:00
victorpv 5a3f0db33a Added adafruit_gfx_as library adapted to maple mini 2015-03-12 19:43:03 -05:00
Roger Clark 9cc8f9a0f0 Speed improvements to ILI9341 library (between 25% and 58% faster depending on which function is being called 2015-03-07 05:47:07 +11:00
Roger Clark ef6adc6534 Added LCD7920 library ported by Matthias (@madias on the Arduino forum) 2015-03-07 00:28:59 +11:00
Roger Clark 33e332b0a6 Updated readme.txt in ili9431 lib 2015-03-07 00:24:53 +11:00
Roger Clark 3bc36db069 Added modified version of AdaFruit_ILI9341 library, based on work by Matthias (@madias on the Arduino forum). Also includes a small speed optimization to call nonstandard spi::write(byte) function, as this gives around 20% speed improvement. Note SPI clock rate, chosen my @madias, of DIV_2 is 36Mhz, which exceeds the publish maximum spi clock of 10Mhz, however it seems to work with most devices 2015-03-06 23:03:45 +11:00
Roger Clark ac742edbd7 Improved speed of SPI::write(byte) 2015-03-06 22:40:53 +11:00
Roger Clark 0ca64e1a9a Brought latest version of my fork of the OneWire libary into the repo as a copy. Note. I've not used a submodule as this is harder for people to clone 2015-02-28 09:17:31 +11:00
Roger Clark 06a9ad1ec0 Moved Servo library out of the untested folder now that its been tested and proved working by @ahull on the Arduino forum 2015-02-26 16:15:23 +11:00
Roger Clark 29ddd3beef Update SPI library properties file to fix issue caused by changing folder namne from STM32F1XX to STM32F1 2015-02-26 07:45:16 +11:00
Roger Clark d1950f0aaf Moved untested and probably not working libraroes to a 'Untested' subfolder within libraries 2015-02-25 08:02:07 +11:00
Roger Clark 5f83c13285 renamed top level folder STM32F1XX to STM32F1 to correspond to other top level folder names e.g. STM32F3 and STM32F4 2015-02-24 20:13:04 +11:00