Commit Graph

874 Commits

Author SHA1 Message Date
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
SukkoPera ad51f6f8f8 Avoid usage of deprecated function 2017-05-09 23:16:47 +02:00
SukkoPera 54cd854161 Tag isConnected() with __attribute__(deprecated) 2017-05-09 23:16:10 +02:00
stevstrong 59b71f1370 improved block read routine 2017-05-09 17:00:27 +02:00
stevstrong e37d7eac48 removed unused const array 2017-05-09 14:37:47 +02:00
stevstrong 467c450449 revert removing SPI declaration (needed by SdFat lib) + remove unused lines 2017-05-09 14:35:13 +02:00
stevstrong 28fa836f4f PIN_MAP moved to flash 2017-05-07 15:09:15 +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
syfre 50e4d84db4 Add, setMasterModeTrGo to configure the TrGo mode
Use to trigger the ADC on TIMx_TRGO
2017-05-06 23:03:47 +02:00
syfre 30d1bf4900 Fix, add ADC_CR2_EXTTRIG to adc_set_extsel() to enable the external trigger mode 2017-05-06 23:02:54 +02:00
stevstrong 483bbe17d3 corrected OTYPER register setting 2017-05-04 17:18:11 +02:00
stevstrong 9dbcefdec3 bugfix to include external libraries: reworked include paths + moved Arduino.h + updated SPI lib 2017-05-03 18:27:39 +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
stevstrong 83c834091c reworked gpio pin handling functions 2017-04-26 23:19:20 +02:00
Oleksandr Masliuchenko 0590f27afa Compiler warning fixed 2017-04-22 16:27:30 +03:00
SukkoPera 81b1b08b95 Fix return type 2017-04-18 23:25:36 +02:00
Giorgioggì 38525521fd Update usb_serial.cpp 2017-04-18 12:44:10 +02:00
Giorgioggì 0be991b434 Update usb_serial.h 2017-04-18 12:43:01 +02:00
Giorgioggì cbfb87222f Fix indentation 2017-04-18 12:24:06 +02:00
stevstrong 5c9dc5ebfc renamed target from "black" to generic f407v + removed unused files 2017-04-15 12:35:06 +02:00
stevstrong 065f58684d added black F4 variant files + activated USB interface 2017-04-14 19:26:18 +02:00
stevstrong 3d775ac3c5 added variant black_f4 + cleanup old F1 anf F2 definitions 2017-04-14 00:04:32 +02:00
stevstrong e49f7faeef Merge remote-tracking branch 'refs/remotes/rogerclarkmelbourne/master' into Black_F4_variant 2017-04-13 22:57:52 +02: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
victorpv e7abad654e Timer DMA functions.
Adding 2 functions to enable and disable Timer peripheral DMA requests
on update event.
2017-03-26 14:33:48 -05:00
victorpv ea81f36fa5 FreeRTOS900 2017-03-25 08:31:44 -05:00