Commit Graph

119 Commits

Author SHA1 Message Date
Daniel Fekete 21a856702b gpio: chang GPIO speed to medium to reduce noise 2017-06-13 17:18:05 +02:00
Daniel Fekete 6d266912d4 Merge pull request #19 from grafalex82/patch_1
Cleanup of unused stuff
2017-06-06 06:09:47 +02:00
Daniel Fekete 094ea3603a SerialUSB: always have SerialUSB 2017-06-06 06:01:49 +02:00
Oleksandr Masliuchenko 23ba9478dc Cleanup of unused stuff 2017-06-05 22:24:52 +03:00
Daniel Fekete 56cb432941 pin: move pinModeLL into its own compilation unit 2017-05-31 19:22:48 +02:00
Daniel Fekete 16c1e52650 pin: use LL for compile time gpio 2017-05-31 19:13:41 +02:00
Daniel Fekete e4bca48953 LL: Add F1 low level headers 2017-05-31 17:55:00 +02:00
Daniel Fekete fde12daf27 gpio: Add generic ll_gpio.h 2017-05-31 17:52:38 +02:00
Daniel Fekete 3eae917c34 pins: Move duplicated pin enum into common stm32_pin_list file 2017-05-31 06:03:14 +02:00
Daniel Fekete 26a5bd399b chip: add default chip pin lists 2017-05-31 05:51:33 +02:00
Daniel Fekete d2bfb9e27d gpio: use inline static 2017-05-30 17:58:51 +02:00
Daniel Fekete ecbd17e3ac compile: regenerate chip files 2017-05-30 17:58:39 +02:00
Daniel Fekete de5ab1d310 compile: Fix implicit decladation of Error_Handler() 2017-05-30 17:20:03 +02:00
Daniel Fekete 3c00150306 pins: add inlineable pin changing methods 2017-05-29 20:44:45 +02:00
Daniel Fekete a84b8f4bb9 pins: change variant pins into macros, and deduplicate variant_pin_list 2017-05-29 20:36:45 +02:00
Daniel Fekete 3f348268f4 USB: same class cannot be used on multiple USB ports 2017-05-29 17:55:50 +02:00
Daniel Fekete d1b910d582 USB: mass storage: move fat12 format into independent function 2017-05-28 06:32:57 +02:00
Daniel Fekete b897bedc99 compilation: ignore errors in HAL when compiling with -Werror 2017-05-27 15:26:36 +02:00
Daniel Fekete 6d95fbcbe5 pwm: do not use HAL_TIM_PeriodElapsedCallback
Reduces RAM usage when using pinMode, but not using analogWrite
2017-05-26 19:21:33 +02:00
Daniel Fekete 53eed0c2a5 Merge branch 'FW-update' 2017-05-26 18:51:27 +02:00
Daniel Fekete e06c64fc96 Mass storage: add library 2017-05-24 20:38:58 +02:00
Daniel Fekete d02b7ff902 Mass storage: add block device interface 2017-05-24 20:38:25 +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
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 81f19c4331 FW: add new files to the .c compiler proxy 2017-05-18 19:04:32 +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 6b32b58d20 Syscalls: Add setHeap(), so variants can move Heap to external ram 2017-05-13 14:41:58 +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 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 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
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