Commit Graph

157 Commits

Author SHA1 Message Date
Daniel Fekete 93ece607bf serial: typo in SerialUART.h Serial5/4, fixes #37 2017-08-31 06:23:34 +02:00
Daniel Fekete bf225b33f2 adc: F0/L0 Add channel deselection to the end of analogRead() 2017-08-27 18:40:26 +02:00
Daniel Fekete 81d9023ae4 adc: add debug messages 2017-08-27 16:42:39 +02:00
Daniel Fekete 881754336d timer: change pwmWrite so dutyCycle is always 16 bits 2017-08-06 10:07:43 +02:00
Daniel Fekete 3763298aaf timer: add function for repeated callback scheduling 2017-08-06 09:59:41 +02:00
Daniel Fekete addd9df9db debug: print log level too 2017-07-26 19:35:18 +02:00
Daniel Fekete ebf556e5ce print: fix compilation error of Print on arm-gcc 4.8 when va_list is in stdarg.h 2017-07-26 06:54:05 +02:00
Daniel Fekete 39723fa515 debug: add functions to print pin names for debug purposes 2017-07-24 20:37:59 +02:00
Daniel Fekete 286006c393 debug: add files for logging debug messages 2017-07-24 20:33:14 +02:00
Daniel Fekete 0f39bf5593 print: add printf to Print 2017-07-24 20:16:59 +02:00
Daniel Fekete 3a7e869439 syscalls: move _write into .cpp file, so it can call Serial
printf works now
2017-07-24 20:16:10 +02:00
Daniel Fekete f1b0ebeb24 adc: when using numbers, analogRead(x) == analogRead(Ax), if Ax is in variant.h 2017-07-16 10:46:18 +02:00
Daniel Fekete 8dd7908367 spi: add code to guess SPI instance based on pins 2017-07-16 10:41:47 +02:00
Daniel Fekete bb40ba4a05 uart: add uart 4/5/6, and fix when some chips have UART, and others USART 2017-07-15 20:58:24 +02:00
Daniel Fekete e7a8661a1c chip: Regenerate chip files
Now the chip files only include the peripheral files, which are grouped together
2017-07-15 18:56:13 +02:00
Daniel Fekete 9b5d9b0547 chip: Add timer channel / pin to the generation 2017-07-15 18:49:08 +02:00
Daniel Fekete 304267d95e analogRead: Use all ADC instances when searching for the pin / channel 2017-07-15 18:21:53 +02:00
Daniel Fekete 2dd6e692ff arduino: add missing standard arduino udp.h 2017-07-05 05:59:28 +02:00
Daniel Fekete 07a17f6e4c arduino: add missing standard arduino files 2017-07-04 20:20:46 +02:00
Daniel Fekete 0313c7afce pwm: add tone() 2017-06-26 18:22:15 +02:00
Daniel Fekete d6efe6df86 pwm: add analogWriteResolution 2017-06-26 18:22:08 +02:00
Daniel Fekete f551dd732b pwm: Increase timer resolution 2017-06-26 18:21:59 +02:00
Daniel Fekete cc7a09c696 gpio: use medium speed for SDIO 2017-06-26 18:21:26 +02:00
Daniel Fekete 28a1ff7abe gpio: use default high speed for peripheral gpio 2017-06-26 18:21:11 +02:00
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