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
ff70c03a49
Merge branch 'victorpv-master'
2015-03-21 05:10:52 +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
d7cf10c6ee
Added linux upload_router script. Please note, Linux users may need to set execute permissions on this file. I can't however do this when commiting the file from my Windows machine
2015-03-09 01:52:39 +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
2617a3c25e
Update README.md
2015-02-27 11:47:43 +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
Roger Clark
710e66340c
Change boards.txt 'Maple mini generic' identifier from nano to MapleMiniGeneric to resolve clash on some other IDEs
2015-02-24 19:59:39 +11:00
rogerclarkmelbourne
2a9554335c
Removed .c and .s files from system folder as these are out of date duplicates of the files in cores. Note. Header files are still used from the system folder, hence they have not been deleted. In the long term, either the core should be built to a separate library, or the header files need to be merged into the cores folder
2015-02-25 14:49:13 +11:00
Roger Clark
88d8e2e7be
Revert "After discussion with evq on GitHub. The whole-archive flag has been removed from the build recipe in platform.txt. I have tested this change and it doesnt seem to have any bad side effects"
...
Although initially this change appeared to have no ill effects, subsequentially it appears that it causes problems with the hardware timers. I presume something no longer
gets linked into the binary if this flag is removed.
Hence I have reverted this change
This reverts commit b720afe6b5
.
2015-02-23 22:22:10 +11:00
Roger Clark
4fc5bbe8a8
Modified Hardware with patch file from timschuerewegen, which addresses isues with the hardware Wire constructor
2015-02-22 14:58:48 +11:00
rogerclarkmelbourne
05130a7db9
Added STM32F3 port supplied by Frank-Michael. Note this port looks like it is based on LibMaple for Arduino API 0022 and doesn't include more recent API features like the stream class and Serial.peek() etc
2015-02-20 12:26:17 +11:00
rogerclarkmelbourne
4e808480ca
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2015-02-20 10:07:29 +11:00
Roger Clark
29879eb1f2
Added OneWire library, and updated all variant.h files to include the macros to support this library. Note. I have tested the DS18x20 example, and just needed to change the pin that was passed to the global constructor, I used a 3.3k pull up resistor to 3.3v (normally 4.7k is used for 5V, so I presumed that 3.3k for 3.3V was the nearest equivalent to give the same current
2015-02-18 20:58:57 +11:00
Roger Clark
b720afe6b5
After discussion with evq on GitHub. The whole-archive flag has been removed from the build recipe in platform.txt. I have tested this change and it doesnt seem to have any bad side effects
2015-02-18 19:39:35 +11:00
Roger Clark
7201a63bc2
Added missing variant.h as copy of the maple-mini file. Also added commented out new pin macros (Work in progress)
2015-02-16 09:09:11 +11:00
Roger Clark
245571364b
removed SPI patch file
2015-02-08 21:28:35 +11:00
Roger Clark
97f6e2af8f
Added SPI patch by timschuerewegen. And this time I remembered to add the new file
2015-02-08 21:28:05 +11:00
Roger Clark
06de799de9
Modified boards.txt so that 'STM32 to flash (no bootloader)' upload method menu doesnt need to use upload_router and will consequentially work on all platforms
2015-02-06 21:04:43 +11:00
rogerclarkmelbourne
14393db46c
Addded modified and reportedly working LiquidCrystal_I2C library, supplied by @swe-dude from the Arduino forum
2015-02-03 19:23:34 +11:00
Roger Clark
d8f7103e1c
Added STLink to upload_router.bat and changed STM32 to Flash board type so that a new menu of UploadMethod allows selection of upload via Serial or STLink
2015-02-03 09:55:13 +11:00