Commit Graph

222 Commits

Author SHA1 Message Date
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
King Kévin 5ab9402644 as3935: fix IRQ setup 2020-06-10 19:04:27 +02:00
King Kévin 6fa46ee86c sx172x: add library to communicate with semtech SX127x LoRa module 2020-06-10 19:04:27 +02:00
King Kévin 9417cbf392 vfd_hv518: minor, fix spacing 2020-03-23 11:41:08 +01:00
King Kévin a689229acb usb_dfu: fix U_ID decoding 2020-03-15 14:03:52 +01:00
King Kévin 3cec6dfb79 usb_cdcacm: fix U_ID decoding 2020-03-15 14:02:55 +01:00
King Kévin e9f7e574ba led_ws2812b: use open drain data signal 2020-03-09 09:56:00 +01:00
King Kévin 9b9751e79d led_ws2812b: improve set LED speed 2020-03-09 09:55:52 +01:00
King Kévin cfbe9234b1 led_ws2812b: replace transmit with continous circlar DMA transfer 2020-03-09 09:55:42 +01:00
King Kévin 607ba7e9b7 led_ws2812b: replace timer with SPI being master 2020-03-09 09:55:36 +01:00
King Kévin 1ac92ec4ac flash_internal: add function to probe actual flash size 2020-03-08 18:17:37 +01:00
King Kévin 2b3b4431e2 flash_internal: improve page size detection 2020-03-08 18:17:03 +01:00
King Kévin 699e46521f oled_ssd1306: fix writing to display 2020-02-27 19:46:48 +01:00
King Kévin 4b1651a1a3 i2c_master: fix writing function to cope with read function now including a stop 2020-02-27 13:09:10 +01:00
King Kévin 29226246f6 i2c_master: improve sending stop and integrated it into read function 2020-02-27 13:08:55 +01:00
King Kévin 4141c43682 uart: increase index type to allow larger buffer 2020-02-19 21:07:58 +01:00
King Kévin becf280d9a flash_internal: fix, EEPROM now grows from the end since invalidating does not work 2020-02-19 20:59:26 +01:00
King Kévin b7e72bba67 flash_internal: use common page size and flash end address 2020-02-19 20:58:32 +01:00
King Kévin c30b3ecb48 led_tm1637: allow number to be displayed without leading 0 2020-02-18 17:28:34 +01:00
King Kévin d2d09edaf8 vfd_hv518: fix all compilation and definition issues, and put some spaces 2020-02-17 18:04:38 +01:00
King Kévin 1dc728e40e sensor_dht22: minor, add space around operators 2020-02-17 15:24:21 +01:00
King Kévin 4a1470401c rtc_dcf77: minor, use newer GPIO definition 2020-02-17 15:19:21 +01:00
King Kévin 4b2e43a94b rtc_dcf77: minor, add space around operators 2020-02-17 15:16:04 +01:00
King Kévin 48bc700ed7 onewire_slave: minor, use newer GPIO definition 2020-02-17 15:03:28 +01:00