Commit Graph

265 Commits

Author SHA1 Message Date
Daniel Fekete c14d265e9b Upload: add wait for serial scripts 2017-05-23 20:17:41 +02:00
Daniel Fekete e3d4218f11 SPI: fix preprocessor condition 2017-05-23 07:15:14 +02:00
Daniel Fekete 257dc58733 fix: loop variable types 2017-05-23 07:13:30 +02:00
Daniel Fekete e08d847b17 gpio clock: Fix name of stm32GpioClockEnable function 2017-05-23 07:01:24 +02:00
Daniel Fekete ed377e2ace interrupts: fix interrupts/noInterrupts macros 2017-05-23 06:53:50 +02:00
Daniel Fekete c40812cc8b USB: when USB is diabled in menu, do not call USBDevice.cpp
This way it will not be compiled in, freeing up RAM
2017-05-23 06:53:46 +02:00
Daniel Fekete c58dc86ae5 Merge pull request #13 from grafalex82/patch_1
Various compile warning/error fixes
2017-05-23 06:48:58 +02:00
Oleksandr Masliuchenko 8455f537b7 More warning fixes 2017-05-22 21:54:41 +03:00
Oleksandr Masliuchenko 4fad9bf6cf Various compile warning/error fixes 2017-05-22 09:04:06 +03:00
Daniel Fekete 664dd77792 Script: add script for interrupt handlers 2017-05-17 13:51:57 +02:00
Daniel Fekete 0cb5733528 USB: L4, remove multiple definition of HAL_GPIO_EXTI_Callback 2017-05-16 18:04:56 +02:00
Daniel Fekete 9e0d00a07a USB: Add configuration for L4 2017-05-16 17:47:07 +02:00
Daniel Fekete 93f47b64c9 USB: Move CDC handler to its own file 2017-05-16 17:46:55 +02:00
Daniel Fekete 623e0c5f4a USB: Do not compile USB on devices that does not have it 2017-05-15 20:17:49 +02:00
Daniel Fekete b6c8b8bc18 Heap: Fix _sbrk when there is no more memory 2017-05-14 08:10:41 +02:00
Daniel Fekete 5d32faceba UART: Implement flush() 2017-05-13 21:26:46 +02:00
Daniel Fekete 868a5021e2 Add license text to files 2017-05-13 17:21:47 +02:00
Daniel Fekete 53b8d3906f Discovery F746: Add example for SDRAM 2017-05-13 14:52:44 +02:00
Daniel Fekete 84770aa317 Discovery F746: enable external SDRAM, and move heap to there 2017-05-13 14:52:14 +02:00
Daniel Fekete 869b634188 system_stm32f7xx.c: update to containt SystemInit_ExtMemCtl function 2017-05-13 14:51:04 +02:00
Daniel Fekete b634bd5444 Setup: Add preinitVariant for variants to call before constructors
This allows variants to move heap to external ram, initialize data/bss in non-default ram, etc.
2017-05-13 14:49:00 +02:00
Daniel Fekete 6b32b58d20 Syscalls: Add setHeap(), so variants can move Heap to external ram 2017-05-13 14:41:58 +02:00
Daniel Fekete d489e26b96 Merge remote-tracking branch 'origin/master' 2017-05-13 13:02:21 +02:00
Daniel Fekete 5f5556b638 Merge pull request #10 from ChrisMicro/master
basic examples for BLACK407VE
2017-05-13 13:02:11 +02:00
ChrisMicro 99fe3918d3 Blink_allLeds example readability improved 2017-05-13 12:01:46 +02:00
ChrisMicro b90c278c5c HAL_timer1 example corrected, HAL include not longer needed 2017-05-13 11:33:48 +02:00
ChrisMicro 0035efd049 descriptions corrected 2017-05-13 07:26:16 +02:00
ChrisMicro 45541f38eb button and led example added 2017-05-13 06:37:51 +02:00
ChrisMicro 29048c7f48 Merge branch 'master' of https://github.com/danieleff/STM32GENERIC into development 2017-05-13 05:24:27 +02:00
ChrisMicro fcd036203b I2S_MAX98357A example added 2017-05-13 05:20:44 +02:00
Daniel Fekete bb92877dcd Arduino.h: Remove function definitions of inline functions
Including Arduino.h in multiple files caused problems otherwise
2017-05-12 19:42:32 +02:00
Daniel Fekete a376d7db60 HAL: Always include all hal source files 2017-05-12 06:58:23 +02:00
Daniel Fekete 745c653a7f USB MSC: add example code for testing in documentation 2017-05-12 05:59:45 +02:00
Daniel Fekete 330013e1ee Print: add 64 bit number printing
Thanks to Pito
2017-05-12 05:40:20 +02:00
Daniel Fekete 63be13ee6e ADC: add adc_ex.c to core 2017-05-11 19:53:50 +02:00
Daniel Fekete ac64d02071 Merge remote-tracking branch 'victorpv/SerialUSB' 2017-05-11 19:01:19 +02:00
victorpv f9bf375142 Small additions to SerialUSB
Resolves enumeration problem in F4 and !Serial never returning true.
When the USB port connects to a host goes thru several states, and can
start sending data once the state is USBD_STATE_CONFIGURED
2017-05-11 07:24:27 -05:00
Daniel Fekete 3d9bea9a1f USB: Add MSC menu selection to boards.txt 2017-05-10 18:50:21 +02:00
Daniel Fekete 926830ea0e USB: Move interrupts to USBDevice.cpp 2017-05-10 18:50:04 +02:00
Daniel Fekete fef7fba454 USB: automatically start based on menu selection 2017-05-10 18:48:09 +02:00
ChrisMicro e1754ccd5d free ram example added 2017-05-10 07:54:58 +02:00
Daniel Fekete c135b467ad USB: Fix endpoints 2017-05-09 22:00:56 +02:00
Daniel Fekete caf6d0063e USB CDC: use new USBDeviceClass from SerialUSB 2017-05-09 22:00:31 +02:00
Daniel Fekete 324c3df773 USB: add new USBDeviceClass class 2017-05-09 22:00:06 +02:00
Daniel Fekete b30f6af024 USB: add mass storage class descriptor 2017-05-09 21:59:02 +02:00
Daniel Fekete ab565f4585 USB: fix returning length of string descriptors 2017-05-09 19:02:19 +02:00
Daniel Fekete 8b67150245 USB: Rename descriptors that belong to CDC 2017-05-09 17:17:29 +02:00
Daniel Fekete c26ed43a25 USB MSC: use static memory instead of USBD_malloc 2017-05-09 16:21:33 +02:00
Daniel Fekete 433f5c2679 USB: Add MSC middleware 2017-05-09 16:18:17 +02:00
Daniel Fekete a87b357507 PWM: If TIM2 is not available, use TIM3 timer 2017-05-09 14:03:31 +02:00