stevstrong
f1e2cba93b
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into generic_f4
...
# Conflicts:
# .gitignore
2017-06-20 18:34:36 +02:00
stevstrong
b7fb21aa0c
make USB serial Tx blocking (bugfix for lost TX characters)
2017-06-20 18:33:00 +02:00
Roger Clark
6fa060c05a
Updated readme for gitter (again)
2017-06-19 17:11:31 +10:00
Roger Clark
8af6002812
Added link to gitter chat room in the readme
2017-06-19 17:11:04 +10:00
stevstrong
4aa44ee0e0
added SDIO lib files
2017-06-18 18:40:40 +02:00
stevstrong
f58a96e0f6
implemented SDIO
...
+ small changes in DMA - reworked get and clear ISR bits
+ wirish_time compatible with "C"
2017-06-18 17:27:02 +02: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
Roger Clark
3c4307ebac
Fix issue where USB Serial begin(xx) begin(xx,yy) did nothing, when they should ahave called begin()
2017-06-07 14:00:24 +10:00
Roger Clark
16a73348f1
Merge branch 'hanyazou-Avoid_USB_init_twice'
2017-06-07 08:20:48 +10:00
Roger Clark
1e88fcfc61
Merge branch 'Avoid_USB_init_twice' of https://github.com/hanyazou/Arduino_STM32 into hanyazou-Avoid_USB_init_twice
2017-06-07 08:19:07 +10:00
Roger Clark
8423fb9807
Merge branch 'stevstrong-F1_SPI_development'
2017-06-06 21:03:33 +10: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
Roger Clark
df78777e98
Add yield() call in delay() to support the Arduino Scheduler library. Ref issue #299
2017-06-06 20:45:50 +10:00
Zou Hanya
9ae2f6fa78
Avoid initializing USB serial twice
2017-06-03 08:27:33 +09:00
stevstrong
6dde3d39b4
added serial bool operator for "if(!Serial)"
2017-06-02 20:26:55 +02:00
stevstrong
220aa0e20f
Merge branch 'master' into generic_f4
2017-06-02 20:11:45 +02:00
stevstrong
642495bec9
corrected typo for BOARD_SDIO_CLK (generic F4)
2017-06-02 19:37:36 +02:00
stevstrong
cbd20e9384
corrected digitalPinToBitMask(P) for disco F4, too
2017-06-02 19:35:32 +02:00
stevstrong
1c097cc8c3
added pin modes: GPIO_AF_OUTPUT_PP_PU (for SDIO)
...
and GPIO_AF_INPUT_PU/PD
2017-06-02 19:32:34 +02:00
stevstrong
9e4b05289c
corrected digitalPinToBitMask(P)
2017-06-02 19:28:50 +02:00
Roger Clark
920b57a4a9
Merge pull request #272 from grafalex82/patch_2
...
Compiler warning fixed in gpio_get_mode
2017-05-29 10:43:42 +10:00
Roger Clark
b19fc38e5e
Applied change to fix issue in itoa.c and itoa.h with newer versions of GCC (using the changes from STM's fix, in Arduino_Core_STM32)
2017-05-26 17:00:47 +10:00
Roger Clark
f2c2323afd
Changed board variants to use calculate value from F_CPU for CYCLES_PER_MICROSECOND
2017-05-26 16:22:16 +10:00
Roger Clark
66579ef8ef
Added -std=gnu++11 and -std=gnu11 compile flags to F1 and F4 platform.txt compile recipes
2017-05-26 16:03:49 +10:00
Roger Clark
7de415531e
Merge pull request #249 from noisymime/master
...
Add EEPROM.update() function
2017-05-25 20:32:24 +10:00
Roger Clark
d3058d39f0
Fixed F4 ADC typo as noted by @stevstrong in reply to issue #265
2017-05-25 20:29:01 +10:00
Roger Clark
ccddc1f354
Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32
2017-05-25 20:07:48 +10:00
Roger Clark
437834a91f
Added code by @danieleff to delay leaving the maple_upload script (in all platforms) until the Serial device has reconnected - this helps resolve the problem of needing to close the Arduino Serial Monitor prior to upload
2017-05-25 20:06:37 +10:00
Roger Clark
8c433e3c71
Merge pull request #287 from edogaldo/Fix-HardwareSerial.flush()
...
Make HardwareSerial.flush() compatible with Arduino 1.0 api
2017-05-25 18:26:01 +10:00
stevstrong
782b53119d
used GFX library changed back to GFX_AS
2017-05-25 10:18:27 +02:00
Roger Clark
c3d9d1bc1e
Added define for LED_BUILTIN to Maple mini and generic STM32F103C (on PC13 to suit the BluePill)
2017-05-25 18:16:47 +10:00
Roger Clark
c6fe342d0f
Add prototype for systick_attach_callback (thanks to @ag123)
2017-05-25 17:59:48 +10: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
stevstrong
8574d238e8
added FSMC + SPI brought in line with F1
2017-05-22 17:36:50 +02:00
edogaldo
3d5c54e344
Make HardwareSerial.flush() compatible with Arduino 1.0 api
2017-05-16 00:00:59 +02:00
stevstrong
220247c115
bugfix: other variants than generic did not work
2017-05-12 20:51:12 +02:00
stevstrong
679217dfaf
F4 development
...
- added generic F4 variant
- removed F1 and F2 files/defines
- resolved include headers - now libraries are detected within sketches
- reworked + added new GPIO access functions
- moved and size-optimized PIN_MAP in flash
- SPI improvements: optimized block read + added DMA
2017-05-11 00:57:08 +02:00
stevstrong
ff0244affc
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into generic_f4
2017-05-11 00:35:17 +02:00
Oleksandr Masliuchenko
0590f27afa
Compiler warning fixed
2017-04-22 16:27:30 +03:00
stevstrong
ff53626018
Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master'
2017-04-13 22:54:12 +02:00
stevstrong
83e5f48322
remove "deprecated" flag from dma_setup_transfer
...
remove deprecated flag
2017-04-13 22:34:37 +02:00