King Kévin
0b2bbf8c97
libopencm3: use branch with OTG fix
...
because the MINIF4 board does not have an optional pull-up resistor on D+, the device is not enumerated without this fix.
this fix is not yet in official libopencm3 master.
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
dbd0ea4d27
global: remove macro pin definition since on F4 they are not unique
2020-12-11 00:00:25 +01:00
King Kévin
a878a1ad9c
global: define MINIF401 button/led pins
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
609188d74e
Rakefile: compile for STM32F4
2020-12-11 00:00:25 +01:00
King Kévin
63a2e5e5ff
*.ld: set flash and RAM size for STM32F401xC
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
fb088e6057
global: fix ADD_SAFE macro and add function returning sum
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
a4b5f95b07
application: minor, fix typo
2020-11-13 11:42:54 +01:00
King Kévin
dd52d0bf98
README: update flash bootloader
2020-10-11 12:55:04 +02: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
d80587c21d
application: re-add uptime command
2020-07-22 16:22:22 +02:00
King Kévin
629500e4bd
application: remove all MCU model info. this has moved to the dedicated identifier firmware
2020-06-24 11:58:08 +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
f261cac536
Rakefile: allow to specify CPUTADIP to use SWD with CKS32
2020-06-24 11:57:45 +02:00
King Kévin
905b7d153b
application: improve MCU identification
2020-06-24 11:57:40 +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
e85af656d3
bootloader: disable clocks after domains used
2020-06-24 11:57:22 +02:00
King Kévin
a310fb402a
global: add RST macros for GPIO
2020-06-24 11:57:18 +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
86ad8ea7ef
Rakefile: don't overwrite and restart when debugging
2020-06-24 11:56:58 +02:00
King Kévin
b8d4be47e4
Rakefile: halt after attaching
2020-06-24 11:56:42 +02:00
King Kévin
99d4be6a44
application: fix date display and add offset
2020-06-21 10:15:14 +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
54456e0cb4
application: minor, improve code
2020-06-10 19:04:27 +02:00
King Kévin
b48c65b5e0
application: only show additional MCU info on DEBUG
2020-06-10 18:02:53 +02:00
King Kévin
9f419e1da0
application: minor, improve code
2020-06-10 17:40:54 +02:00
King Kévin
9417cbf392
vfd_hv518: minor, fix spacing
2020-03-23 11:41:08 +01:00
King Kévin
6bb7cd1606
application: add dev_id for STM32F411xC/E in version action
2020-03-17 09:47:28 +01:00
King Kévin
66bb0bdcaa
application: add dev_id for STM32F401 in version action
2020-03-17 09:43:18 +01:00
King Kévin
87f8e3a157
application: add dev_id for STM32F4xx in version action
2020-03-17 09:32:29 +01:00
King Kévin
25c0ae0271
application: add fake STM32 detection in version action
2020-03-16 20:55:50 +01:00