Commit Graph

133 Commits

Author SHA1 Message Date
Daniel Fekete 779727e321 usb: serial: use buffered when sending data 2017-06-26 18:12:12 +02:00
Daniel Fekete 307098029d usb: cdc: add transfer complete callback 2017-06-26 18:11:50 +02:00
Daniel Fekete 047edf699a analog: add analogReadResolution 2017-06-25 11:53:46 +02:00
Daniel Fekete 79efdb1863 delay: call yield() 2017-06-25 11:44:22 +02:00
Daniel Fekete 8725933b51 print: add optimized print of F() strings 2017-06-24 08:28:32 +02:00
Daniel Fekete b27e9e6981 fix compilation error on F1 2017-06-24 08:24:43 +02:00
Daniel Fekete 4b4323cd53 firmware: Update F1 firmware 2017-06-24 08:24:24 +02:00
Daniel Fekete 2bfea32417 i2c: revert pin initialization 2017-06-24 08:04:42 +02:00
huaweiwx 2fa81de69d Update stm32_gpio_af.c
for stm32f1  spi3 err
2017-06-20 16:15:06 +08:00
huaweiwx 9b07c7131f Update Arduino.h
include <bit_constants.h>
2017-06-20 15:22:07 +08:00
huaweiwx fc134eed27 Create bit_constants.h
for arduino
2017-06-20 15:19:49 +08:00
Daniel Fekete 596e2523cb f1: Add menu item to make debug pins free 2017-06-18 16:48:51 +02:00
Daniel Fekete 3f32b7e417 spi: Add LL SPI 2017-06-15 07:21:16 +02:00
Daniel Fekete 06b7e97fd3 i2c: Fixing I2C initialization issue #20 2017-06-15 05:28:56 +02:00
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