Commit Graph

87 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 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 b27e9e6981 fix compilation error on F1 2017-06-24 08:24:43 +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
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 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 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 d1b910d582 USB: mass storage: move fat12 format into independent function 2017-05-28 06:32:57 +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 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 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 4fad9bf6cf Various compile warning/error fixes 2017-05-22 09:04:06 +03: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 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 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 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 a87b357507 PWM: If TIM2 is not available, use TIM3 timer 2017-05-09 14:03:31 +02:00
Daniel Fekete 7dd491ac1a USB CDC: move into its own folder 2017-05-09 11:31:31 +02:00
Daniel Fekete a6869ae8d4 Serial USB: fix operator bool() to not always return false 2017-05-09 07:46:47 +02:00
Daniel Fekete 348132f3c4 UART: Fix RX pin mode on F1 2017-05-08 19:52:54 +02:00
Daniel Fekete d1a682452b F7: Add USB config file 2017-05-04 17:51:01 +02:00
Daniel Fekete 53f4e63090 Variant: remove initVariant from stm32_init.c, so it can be used in variant.cpp 2017-05-04 16:46:15 +02:00
Daniel Fekete 5fc7208ea4 SDIO: Fix compilation where SDIO is called SDMMC 2017-05-03 20:03:52 +02:00
Daniel Fekete 57aa35806d Fix F3 compilation, EXTI2_IRQn -> EXTI2_TSC_IRQn 2017-05-02 17:26:33 +02:00
Daniel Fekete a36803dd48 Fix SPI compilation error on F1 2017-05-01 16:01:18 +02:00
Daniel Fekete 1d2d071ca9 Fix I2C compilation on chips without I2S 2017-05-01 16:01:05 +02:00
Daniel Fekete ff400490bd Fix compilation on chips that have no I2S 2017-04-29 06:25:34 +02:00
Daniel Fekete 6d4cc61c0a Fix typo in SerialUART 2017-04-28 18:04:37 +02:00
Daniel Fekete 1e141a35bd Fix millis() bug 2017-04-27 19:08:43 +02:00