Commit Graph

245 Commits

Author SHA1 Message Date
King Kévin 991921ed99 application: remove MLX90614 because of errounous readings 2020-12-16 20:05:50 +01:00
King Kévin 5ab04af9b0 remove unused library 2020-12-16 19:40:13 +01:00
King Kévin e3dcd93f9e sensor_mlx90614: add library to read from MLX90614 IR-thermometer 2020-12-16 02:45:13 +01:00
King Kévin 6897b3fae3 smbus_master: add SMBus library 2020-12-16 02:44:02 +01:00
King Kévin 69787f1714 i2c_master: fix stop generation 2020-12-16 02:42:34 +01:00
King Kévin 99593b92d0 i2c_master: fix wait_stop call 2020-12-16 02:38:57 +01:00
King Kévin 0c723fee11 sensor_sr04: fix shadow counter value issue 2020-12-16 02:37:35 +01:00
King Kévin 579aed6e39 USB: increase text buffer size for project 2020-12-14 13:34:18 +01:00
King Kévin 90ead50dff oled_ssd1306: adapt to ported I²C library 2020-12-12 14:09:35 +01:00
King Kévin d0e43a82c8 i2c_master: port to STM32F4 2020-12-12 14:08:05 +01:00
King Kévin 2976f59622 interrupt: port to STM32F4 2020-12-11 20:56:41 +01:00
King Kévin 4f89a6a8ef interrupt: minor, fix comment 2020-12-11 20:55:39 +01:00
King Kévin 491ee17c9a onewire_master: set project specific configuration 2020-12-11 20:54:21 +01:00
King Kévin 5425e861e8 onewire_master: port to STM32F4 2020-12-11 20:53:58 +01:00
King Kévin 1cbe029139 onewire_master: minor, fix spacing 2020-12-11 20:53:21 +01:00
King Kévin b86846e945 sensor_sr04: add library for HC-SR04 ultrasonic range sensor 2020-12-11 00:57:28 +01:00
King Kévin 26f6de3015 sensor_max1247: STM32F4 incompatible for now 2020-12-11 00:02:44 +01:00
King Kévin e32e27100d USB CDC ACM: fix sending loop (and spacing) 2020-12-11 00:00:25 +01:00
King Kévin 5b0523f751 uart: port to STM32F4 2020-12-11 00:00:25 +01:00
King Kévin d6cac41b78 USB CDC ACM: minor fix spacing 2020-12-11 00:00:25 +01:00
King Kévin adc62ebb9a USB CDC ACM: port to STM32F4 2020-12-11 00:00:25 +01:00
King Kévin d9a15f2daa USB CDC ACM: match serial to STM32 bootloader 2020-12-11 00:00:25 +01:00
King Kévin c4af940975 dfu: minor, improve disconnect 2020-12-11 00:00:25 +01:00
King Kévin ff5fbc847d DFU: fix DP pull down 2020-12-11 00:00:25 +01:00
King Kévin 51e0bfd188 DFU: minor, remove unused/duplicate code 2020-12-11 00:00:25 +01:00
King Kévin c411d552a1 DFU: set serial to match STM32 DFU bootloader 2020-12-11 00:00:25 +01:00
King Kévin 40ee01ce67 usb_dfu: update to work with F4 2020-12-11 00:00:25 +01:00
King Kévin 87af738378 flash_internal: remove F1 flash utilities, add F4 section utility
compared to the STM32F1, the STM32F4 does not used 1 KB flash pages.
F4 uses variable large (>= 16 KB) flash sections.
this makes using the last page (128 KB instead of 1KB) for EEPROM highly inefficient.
caching such large pages before reprogramming small portion is also no doable (there is not enough RAM).
thus almost all F1 utilities are not applicable anymore.
to help erasing the right section, a utility to get the section from an address is added.
2020-12-11 00:00:25 +01:00
King Kévin e4ce622f15 terminal: minor, fix doc 2020-12-11 00:00:25 +01:00
King Kévin aff4275478 lib: disable most libraries since they need tuning to be F4 compatible 2020-12-11 00:00:25 +01:00
King Kévin 952d947c1b oled_text: add library to show text on SSD1306 OLED display 2020-12-10 20:16:02 +01:00
King Kévin 353b11e710 font: add graphical font library 2020-12-10 20:16:02 +01:00
King Kévin 974ca75027 sensor_max1247: add library to read ADC values from MAX1247 2020-12-10 20:16:02 +01:00
King Kévin c085f2d292 sensor_ds18b20: fix set precision for single device 2020-12-10 20:16:02 +01:00
King Kévin 58ef5f3d1b sensor_ds18b20: minor, add spacing around operator 2020-12-10 20:16:02 +01:00
King Kévin 6574a65ea6 led_sk6812rgbw: extended version of WS2812B library, supporting 4th color, using bit banding, removing need of timer 2020-10-11 12:51:05 +02:00
King Kévin 620e46938e led_tm1637: allow the display to be upside down 2020-10-11 12:51:05 +02:00
King Kévin 9b522b4228 led_ws2812b: minorx, fix comment 2020-10-11 12:51:05 +02:00
King Kévin 2f251e0ad7 led_tm1637: fix updating (both command and data need to be sent every time 2020-10-11 12:51:05 +02:00
King Kévin 5a028c23c4 flash_internal: probe_write only tests over advertized flash (works also with linker info) 2020-06-24 11:58:03 +02:00
King Kévin 60279d0a52 print: fix hex padding (and add spaces) 2020-06-24 11:57:59 +02:00
King Kévin 8566a4043b uart_soft: use new pin definition, fix multi-uart support, use masking instead of mod 2020-06-24 11:57:54 +02:00
King Kévin 97d197237c uart: replace mod with masking 2020-06-24 11:57:51 +02:00
King Kévin e054774544 flash_internal: don't used unreliable MCUID to figure out flash page size 2020-06-24 11:57:35 +02:00
King Kévin 8142854522 flash_internal: replace probe size with more accurate probe_read and probe_write 2020-06-24 11:57:28 +02:00
King Kévin 55c6319928 print: fix padding on hex printing 2020-06-24 11:57:13 +02:00
King Kévin 3b7179d49a print: minor, add spaces around operators 2020-06-24 11:57:08 +02:00
King Kévin 60a1859008 usb_cdcacm: add flush method to wait for empty buffer 2020-06-24 11:57:04 +02:00
King Kévin e71515bcce replace header license with SPDX statement 2020-06-10 19:04:41 +02:00
King Kévin 28604a43fd uart: improve setup, blocking transmission, and flushing 2020-06-10 19:04:27 +02:00