Commit Graph

851 Commits

Author SHA1 Message Date
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
stevstrong 54a2309783 corrected digitalPinToBitMask(P) 2017-06-02 17:25:32 +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
Tom Vijlbrief 84dd916230 Fix documentation for usart_putc() 2017-05-25 20:53:24 +02: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 70aa720e34 corrected RESERVED size in fsmc_nor_psram_reg_map 2017-05-22 17:53:17 +02:00
stevstrong 8574d238e8 added FSMC + SPI brought in line with F1 2017-05-22 17:36:50 +02:00
stevstrong f7a444b9ef implemented FSMC for driving an LCD on 16 bit parallel data bus 2017-05-21 11:01:22 +02:00
MicroBahner ba4f3808c2 channel output disabled in non pwm-mode
pwmMode disables the channel output in non pwm modes.
Attached ISRs are left unchanged
2017-05-20 16:11:00 +02:00
stevstrong a84b8b209a cosmetics 2017-05-19 17:26:16 +02:00
stevstrong c294b0d0dc SPI DMA cleanup 2017-05-19 17:25:51 +02:00
stevstrong 04cf037a1d digital IO write optimizations for 16bit parallel display types
- digitalWrite value increased to 16 bit width
- added IO device bit access functions
- removed PWM enable/disable from pinMode()
2017-05-19 17:24:26 +02:00
edogaldo 3d5c54e344 Make HardwareSerial.flush() compatible with Arduino 1.0 api 2017-05-16 00:00:59 +02:00
MicroBahner 20fbc3613d donot disable Timer in pinMode 2017-05-14 21:21:03 +02:00
stevstrong b8afde026a increase digitalWrite() value parameter width to 16 bit
- this useful for the 16 bit parallel TFT lib
2017-05-14 16:31:11 +02:00
stevstrong fbd6927d56 resolve Invalid library version number 2017-05-14 16:27:43 +02:00
stevstrong 8ba463a68c improved SPI non-DMA block read routine, taken over from F4 2017-05-13 14:30:24 +02:00
stevstrong 97329efca3 push the generic_f4 branch to master 2017-05-13 10:27:33 +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
stevstrong be69e9b024 Merge branch 'Black_F4_variant' of https://github.com/stevstrong/Arduino_STM32 into Black_F4_variant
# Conflicts:
#	STM32F4/libraries/SPI/src/SPI.cpp
#	STM32F4/libraries/SPI/src/SPI.h
2017-05-11 00:08:43 +02:00
stevstrong bd3fb68a5e SPI improvements: non-DMA block read + added DMA transfer functions 2017-05-11 00:05:08 +02:00
stevstrong fc0ee24184 Revert "improved SPI no DMA block read + added SPI DMA"
This reverts commit 59ebf2a818.
2017-05-11 00:01:53 +02:00
stevstrong 59ebf2a818 improved SPI no DMA block read + added SPI DMA 2017-05-10 20:48:14 +02:00