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
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
rogerclarkmelbourne
0b7bbab0ac
Updated platform.txt with improved size calculatin from Rick
2015-05-23 08:25:43 +10:00
rogerclarkmelbourne
73bc96b898
Updated platform.txt with enhancement from Rick to allow more compiler warnings and debugging to be more easily changed
2015-05-23 08:21:03 +10:00
rogerclarkmelbourne
1c99387a1b
Manually implemented part of #47 in print.cpp
2015-05-23 08:13:23 +10:00
rogerclarkmelbourne
bffbdce50f
Temporary fix to Nucleo F103RB to get around missing pin definitions (which should not really be needed), this is temporary fix, I need to sort out the Serial USB code and make a separate define for maple hardware etc
2015-05-23 08:05:32 +10:00
rogerclarkmelbourne
72324b5bd1
Merge branch 'master' of https://github.com/rogerclarkmelbourne/arduino_stm32
2015-05-22 21:08:16 +10:00
rogerclarkmelbourne
6a2e51585d
Added DFU upload options for all generic boards. Note, Its not possible to set the correct memort size in the linker file for DFU uploads, so its always set as having the max ram and rom for the series in question. So beware using this if you are maxing out the RAM or Flash (which seems highly unlikely!)
2015-05-22 21:07:57 +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
331a02e296
Updated BlackMagicProbe upload pattern in platform.txt, and commented out windows specific upload lines
2015-05-20 19:38:16 +10:00
rogerclarkmelbourne
973fa0268e
Added Black Magic Probe upload support for C series boards, Note Windows BAT file has not been tested yet
2015-05-19 21:44:10 +10: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
cbc78edce3
Include VictorPV's usb reset code to all generic board when SERIAL_USB is enabled ( by the defined in boards.txt)
2015-05-16 21:54:10 +10:00
rogerclarkmelbourne
f69d71ba9d
Fixed issue with DFU upload ID for F103V board
2015-05-14 20:00:15 +10:00
rogerclarkmelbourne
e3d460d566
Added STM32F103V series boards from files supplied by VictorPV (after updating to latest changes to -DSERIAL_USB etc) , also added victors experimental USB reset code - which partially works !
2015-05-13 20:33:30 +10:00
rogerclarkmelbourne
2ab2e5cac7
Changed definition for BOARD_HAVE_SERIALUSB so its always true (1) so that compiling in of SERIAL_USB is just controlled by the -DSERIAL_USB flag and not reliant on the DISC pin defintions. Also added experimental code into the ZET to reset USB on startup - this is not fully working, but doesnt seem to cause any ill effects
2015-05-13 19:31:23 +10:00
Roger Clark
8c0004f573
Updated size calculation recipe regex with new version from @victor_pv
2015-05-09 18:29:31 +10:00
Roger Clark
115bb6ebbf
Added pulseIn API function
2015-05-09 15:11:35 +10:00
Roger Clark
0c7ac4c1bb
Fixed issue with Maple RET6 in boards.txt - already fixed in PIN_MAP-in-FLASH branch
2015-05-07 21:16:23 +10:00
Roger Clark
311b36450c
Defined DEBUG_LEVEL=DEBUG_NONE in platform.txt so that it doesnt get defaulted to DEBUG_ALL in util.h, as this causes extra, unused code to be added. This change seems to save around 1.5k to the total on an empty sketch
2015-05-07 13:55:44 +10:00
Roger Clark
1df09212c0
Updated Nucleo F103RB variant with files from Matthias
2015-05-07 12:55:58 +10:00
Roger Clark
bb535029cb
updated setup_nvic for maple mini, which seems to have been missed when I made the changed to do with removing VECT_TAB_FLASH
2015-05-06 03:09:15 +10:00
Roger Clark
13e27c1dc5
Renamed generic_stm32f103rxx and generic_stm32f103zxx to remove th e xx at the end to match changes to boards.txt
2015-05-06 03:02:10 +10:00
Roger Clark
30946d8a1c
Fixed another typo in boards.txt
2015-05-05 23:21:34 +10:00
Roger Clark
d9e5f1ed4d
Removed typo in flash size of generic stm32f103cb board type name
2015-05-05 21:34:10 +10:00
Roger Clark
15cdd88daa
Tidied boards.txt and made change to platform.txt to support changes to boards.txt
2015-05-05 11:16:01 +10:00
rogerclarkmelbourne
0901ab89af
Fixed issue with missing dot (period) in definition of max ram for maple mini original bootloader params
2015-05-02 16:24:40 +10:00
rogerclarkmelbourne
0631786008
Added Maple RET6 board provided by @skyng22003. Tested and compiles OK, but I'm unable to test as I don't have that hardware
2015-04-30 12:17:08 +10:00
rogerclarkmelbourne
5fd0efa673
Updated and renames STM32 to Flash, so that STLink works better on Windows. Thanks to Rick Kimball, on the stm32duino.com forum
2015-04-29 21:20:42 +10:00
rogerclarkmelbourne
0d87f72bd8
Updated Nucleo_f103rb variant files with new versions from @madias
2015-04-28 17:40:11 +10:00
rogerclarkmelbourne
e163e3c1ae
Bootloader and also boards.txt, so that its backwards compatible with the original bootloader. The new bootloader now has an additional altID for the new upload type (ID2) which is set in boards.txt for the maple mini on the Bootloader version menu. Note there was also a bug in the old version of boards.txt where the upload size params were not being set by the Bootloader version menu. Binaries folder has also been updated with the revised bootloader
2015-04-26 16:31:32 +10:00
rogerclarkmelbourne
cdf0fc0d65
Fixed small issue with incorrect flash and ram sizes being reported to the IDE for maple mini, orignal and bootloader 2.0
2015-04-25 20:47:34 +10:00
rogerclarkmelbourne
f92904f577
Added support for bootloader 2.0 to Maple mini, and added source and binary for maple_mini_boot20.bin to the repo
2015-04-25 19:15:48 +10:00
rogerclarkmelbourne
fddefc13a9
Separated USB Serial functionality definitions from the BOOTLOADER_maple definition, so that generic boards can use USB serial without needing to have the bootloader and the disconnect hardware. NOTE. I have only tested the SERIAL_USB on the F103ZE board, it may not work on other generic boards
2015-04-25 15:28:45 +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
rogerclarkmelbourne
4d3c370314
added bootloader and non bootloder version of STM32F103RE to STM32F103R series boards
2015-04-20 12:26:16 +10:00
rogerclarkmelbourne
6408adc02f
Added experimental Maple RET6 board for @skyng22003
2015-04-20 10:17:58 +10:00
rogerclarkmelbourne
5ae71423df
Fixed typo / bug in USART5
2015-04-20 10:10:43 +10:00
rogerclarkmelbourne
7b980c433e
Fix for missing UART 4 and 5 from STM32F104RE and STM32F103Z series boards. Note this code has not been fully tested
2015-04-20 09:50:33 +10:00
Roger Clark
fa41407524
Fixed mistake in boards.txt in flash.maximum size
2015-04-16 20:03:31 +10:00
Roger Clark
167320f462
Added variants to Generic STM32F103Z and tidied up unused files in the stm32f103zxx variants folder
2015-04-16 19:55:11 +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
f92015b9f4
Added provisional support for STM32F103Z series. Note this is a work in progress
2015-04-15 20:25:00 +10:00
Roger Clark
4e03bac542
Fixed issue with incorrect USART RX Pin number, added PB2 as this pin can be used with caution (as its shared with Boot1)
2015-04-15 10:05:55 +10:00
Roger Clark
347cee0d4e
added comment to generic stm32f103c board.h
2015-04-15 09:40:54 +10:00
Roger Clark
e8aa9b0620
Changed generic stm32f103c board definitions to tidy up the order of the PIN MAP
2015-04-15 09:21:35 +10:00
Roger Clark
6fec429e99
Made new generic STM32F103C board variant based on Maple mini. This is a work in process. It seems to work, but needs more tidying up ;-)
2015-04-14 20:18:37 +10:00
Roger Clark
544908bb14
Fixed issue with options on Mini maple generic, and I also renamed this board type, as it does now work relatively well
2015-04-14 17:14:58 +10:00
Roger Clark
4a3da022b8
Updated platform.txt and added platform rewrite keys file to aid operation with IDE 1.6.2 onwards
2015-04-12 10:05:32 +10:00
Roger Clark
fedb642aa1
Updated 'Maple mini generic' board type - fixed issue with c8 boards, removed non working gcc compilor menu and removed non working debug options menu. Renamed boards to 'STM32 boards' etc
2015-04-10 17:09:07 +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
7bc0e0f015
Added missing paths for upload_router upload method to platforms.txt
2015-04-06 09:20:20 +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
Roger Clark
456f38a726
Work in progress- Added folder for STM32F103Z series
2015-03-21 04:58:01 +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
425e9e0895
Added bool type, typedefed to boolean. Also found error where unit8 had been typedefed to boolean and then re-typedefed to byte - which has now been fixed
2015-03-18 20:39:17 +11:00
Roger Clark
e9f67b2f63
Added accessor function for the spi device to spi.h
2015-03-18 20:32:56 +11:00
Roger Clark
bfc6440ccb
Added build.board to each board in boards.txt as when this is missing, it has been reported that the Linux version gives warnings during startup. Also re-organised the order of the boards so that the most popular board, tha Maple mini is at the top and I renamed and moved the 'Maple mini generic' as this was causing problems for novices who thought it was the correct board for a normal Maple mini
2015-03-16 18:29:20 +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
26150944c1
Removed definition for MEDIUM_DENSITY in boards.txt as this is now in stm32.h
2015-03-12 07:30:12 +11:00
Roger Clark
e6460b6b8d
Merge branch 'new-variants'
2015-03-12 07:19:58 +11:00
Roger Clark
cd7b0badcf
Fixed issue of missing port pins in board.cpp
2015-03-12 07:19:33 +11: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
f21592574f
Added serial config parameter support to HardwareSerial :: begin(), so that word length (of 8 or 9 bits), parity (None, Even or Odd) and 1 or 2 stop bits can now be set. Note the STM32 doesnt support all the word lengths supprted by AVR or SAM e.g. the hardware doesnt support 5,6 or 7 bit word lengths.
2015-03-04 22:59:11 +11:00
Roger Clark
29c5d538da
Added missing include to avr/dostrf.h in wirish.h so that dtostrf can be used without needing to include that file
2015-03-04 22:30:57 +11:00
Roger Clark
244674ca81
Added dummy parameter to HardwareSerial begin() for device config. This is a work in progress, the config value is not used to control the hardware yet
2015-03-04 10:02:44 +11:00
Roger Clark
61ef2bca74
Started work on new variants and fixed a few other minor issues
2015-03-04 08:27:47 +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
d130fa5f0d
Changed definition _STM32F1XX__ in boards.txt to __STM32F1__ as this was accidently missed from the commit which changed the folder name
2015-02-25 08:57:48 +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