Commit Graph

412 Commits

Author SHA1 Message Date
Roger Clark ac27993d10 Added makeWord macro and functions to fix #316 2017-07-31 13:33:00 +10:00
Roger Clark 7d1119ee34 Removed Debug with LTO optimisation option, to fix issue #320 2017-07-31 10:56:31 +10:00
Roger Clark 14ddcfd97d Changed text on 128Mhz CPU speed option - to add warning that there is No USB and also Manual reset needed to upload 2017-07-31 10:51:52 +10:00
Roger Clark 375a8f84b5 Fixed typo in F1 boards.txt for STM32F103CB RAM size 2017-07-30 20:08:20 +10:00
Roger Clark cb901b4e4f Added CPU Speed menu to all boards except Nucleo RB, with additional entry for 128Mhz Turbo - NO USB. Note only tested on the Blue Pill 2017-07-30 17:43:40 +10:00
Roger Clark 7aae010eae Fixed yet another of my typos in the optimisation menu 2017-07-30 17:05:57 +10:00
Roger Clark 86d823a3b5 Fixed typo in optimisation menu 2017-07-30 16:21:26 +10:00
Roger Clark 0aae3d31f1 Changed order of optimisation options, so that current settings (-Os) are the default, and reverted F4 and F3 boards.txt to current master to remove these changes from those boards, as they will need to be updated in the same way I did for the F1, and I don't have time to do it now 2017-07-30 16:07:30 +10:00
Roger Clark 0696f70148 Merge branch 'mtiutiu/compiler_opts_menus' of https://github.com/mtiutiu/Arduino_STM32 into mtiutiu-mtiutiu/compiler_opts_menus 2017-07-30 10:26:52 +10:00
stevstrong 0db43ae36f SPI clean up + add 16 bit access functions in 8 bit mode 2017-07-28 17:51:54 +02:00
Roger Clark 6b85615221 Change Wire endTransmission to have bool instead of unit8 argument - to match with the Arduino API 2017-07-20 17:43:13 +10:00
Cristi Marius Tiutiu 4bfb444447 added teensy like ide compiler opts menus 2017-07-17 10:35:23 +03:00
Roger Clark 43299e4544 Merge pull request #236 from Testato/patch-1
Update F1 boards.txt to address memory size display issues
2017-07-16 17:18:53 +10:00
Roger Clark b5eadb8409 Merge pull request #312 from victorpv/SPI-Callbacks
Added Spi callbacks from @victorpv
2017-07-16 08:54:18 +10:00
Roger Clark 0f3c6e5854 Merge pull request #278 from syfre/master
Enhancements and fixes to use ADC in continuous mode triggered by an internal timer
2017-07-16 08:45:38 +10:00
Roger Clark 0393be3400 Added setClock() to Wire and Hardware - only 100000Hz and 400000Hz are supported 2017-07-15 18:31:02 +10:00
victorpv 910072c7db Changes tabs for spaces. 2017-07-10 12:08:59 -05:00
victorpv b892004cc2 Add files via upload 2017-07-10 12:00:29 -05:00
victorpv fd95b99914 Added readBytes function to usbSerial
Add Arduino USB implementation of Arduino Stream class readBytes, which reads bytes in blocks with a timeout.
Increases the speed from 300KB/s to 500KB/s over the Stream class readBytes function.
2017-07-08 10:52:50 -05:00
victorpv 1c07e25bd7 Update usb_serial.h 2017-07-08 10:49:14 -05:00
victorpv 8683035cb7 Update usb_serial.h 2017-07-08 10:46:49 -05:00
Roger Clark 8b2699bdba Merge branch 'master' of https://github.com/rogerclarkmelbourne/Arduino_STM32 2017-07-06 10:57:55 +10:00
Roger Clark 54dd788f2b Fix warning caused by commit #f7a576f2e0efcee958bdfd737d9af7a2f6c76051 2017-07-06 10:57:20 +10:00
Roger Clark 385dfbf29c Merge pull request #270 from SukkoPera/Fix-ifSerial
Added "if serial" and deprecated isConnected()
2017-07-06 08:36:20 +10:00
Roger Clark 1189a3569c Merge pull request #276 from lacklustrlabs/Adafruit_SSD1306_STM32_swap
Add swap() function to ssd1306_128x64_i2c_STM32 as example would not build…
2017-07-04 08:39:56 +10:00
Roger Clark d4103b8cd1 Merge pull request #294 from tomtor/fix-doc
Fix documentation for usart_putc()
2017-07-03 15:36:23 +10:00
Roger Clark 6891e40546 Merge pull request #288 from MicroBahner/pinmodeTimer
Added Pinmode timer fix by @MicroBahner
2017-07-03 15:35:30 +10:00
Roger Clark bd8ef73bef Merge pull request #302 from bmarquismarkail/rcmclone
Adding i2C repeated start condition from @bmarquismarkail
2017-07-03 15:31:45 +10:00
Roger Clark e4f598683c Merge pull request #262 from victorpv/timer_dma
Timer dma from @victorpv
2017-07-03 15:30:14 +10:00
Roger Clark 2dbf8b72c3 Merge pull request #261 from victorpv/FreeRTOS900
Added Free rtos900 from @victorpv
2017-07-03 15:29:23 +10:00
U-MarquisSeven\Brandon 54044592fb changing comment 2017-06-26 18:59:33 -05:00
U-MarquisSeven\Brandon 80339e6073 checking out work from master 2017-06-26 18:57:49 -05:00
Roger Clark f7a576f2e0 Fixed issue with PB10 being set to OUTPUT for use as a USB Disconnect control on boards which do not have the additional USB disconnect hardware e.g. the Blue Pill. Note. Some variants seem to have the disconnect control on another pin, so I did not change those in case they were actually used 2017-06-25 13:08:30 +10: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
SukkoPera ef60992e20 Merge remote-tracking branch 'upstream/master' into Fix-ifSerial 2017-06-09 22:11:52 +02:00
SukkoPera c4643b265e Remove isConnected() usage and binary zeros from StringEx_Parsinge xample 2017-06-09 22:07:33 +02:00
SukkoPera bf138eb389 Remove isConnected() usage from examples 2017-06-09 22:07:05 +02: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 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 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