King Kévin
f93644d127
usb_cables: add load check function
...
this needed to add information about the pin type.
also pins are now considered as connected if any direction or
level works.
thus there are no errors anymore when testing cables.
power with ground pins are not tested anymore because optional
loads are causing false positives (regarding if pins are
connected).
2020-02-27 16:44:10 +01:00
King Kévin
76d8a23281
usb_cables: minor, make more readable
2020-02-27 16:44:10 +01:00
King Kévin
4735911444
usb_cables: add faster inter-connector test using ground
2020-02-27 16:44:10 +01:00
King Kévin
84c70a61d1
usb_cables: improve inter-connector test
2020-02-27 16:44:10 +01:00
King Kévin
9bcd7c94f0
usb_cables: minor, rename USB-C +/- to p/n
2020-02-27 16:44:10 +01:00
King Kévin
2513c89fa9
application: add USB-C shunt to test list
2020-02-27 16:44:10 +01:00
King Kévin
a604531eae
usb_cables: minor, document cable connections
2020-02-27 16:44:10 +01:00
King Kévin
f310a453a7
usb_cables: add USB-C shunt cable definitions
2020-02-27 16:44:10 +01:00
King Kévin
946ba2e243
usb_cables: fix inter-connector output
2020-02-27 16:44:10 +01:00
King Kévin
f69ff24764
usb_cables: fix USB mini-B pinout
2020-02-27 16:44:10 +01:00
King Kévin
5673df323e
usb_cables: fix USB-C D+2/D-2 pinout
2020-02-27 16:44:10 +01:00
King Kévin
e2a3a60d3a
application: add board test action
2020-02-27 16:44:10 +01:00
King Kévin
c0bd9291cc
application: fix cable finder
2020-02-27 16:44:10 +01:00
King Kévin
8519698af6
application: improve cable check output
2020-02-27 16:44:10 +01:00
King Kévin
710a2f8218
application: fix string output conditions
2020-02-27 16:44:10 +01:00
King Kévin
2fe895d964
usb_cables: allow NULL arguments
2020-02-27 16:44:10 +01:00
King Kévin
619954239a
usb_cables: fix output string
2020-02-27 16:44:10 +01:00
King Kévin
b1d0262699
usb_cables: give more time for signal to settle for more stable connection checks
2020-02-27 16:44:10 +01:00
King Kévin
990241c0c8
usb_cables: fix USB-A 3.0 pinout and names
2020-02-27 16:44:10 +01:00
King Kévin
a00bd3fd24
usb_cdcacm: set product string
2020-02-27 16:44:10 +01:00
King Kévin
6b517bc4f2
application: fix and improvement pin action
2020-02-27 16:44:10 +01:00
King Kévin
99fc82227a
usb_cables: add settling time before reading GPIO
2020-02-27 16:44:10 +01:00
King Kévin
29e0ec99df
application: add action to get/set individual USB pins
2020-02-27 16:44:10 +01:00
King Kévin
57de92d362
application: fix, peripheral clocks must be enable individually
2020-02-27 16:44:10 +01:00
King Kévin
3e37211c90
update linker script to STM32F103xC memory sizes
2020-02-27 16:43:57 +01:00
King Kévin
2538ee6683
usb_cables: add miniB and microB cable definitions
2020-02-27 16:41:18 +01:00
King Kévin
b16621314e
usb_cables: add cable definitions
2020-02-27 16:41:18 +01:00
King Kévin
3624ca410f
usb_cables: use more pointers to save space (and add cable definitions)
2020-02-27 16:41:18 +01:00
King Kévin
4f4a16b9db
application: add individual USB connector and cable test commands
2020-02-27 16:41:18 +01:00
King Kévin
a5a5b06926
usb_cables: add output to intra and inter connection check
2020-02-27 16:41:18 +01:00
King Kévin
871153de51
usb_cables: fix cable checker return value
2020-02-27 16:41:18 +01:00
King Kévin
84035eaca7
usb_cables: add and use common method to test connection between two pins
2020-02-27 16:41:18 +01:00
King Kévin
99515e579f
application: use caps for system actions
2020-02-27 16:41:18 +01:00
King Kévin
5a5543ae53
add test action to test USB cables
2020-02-27 16:41:18 +01:00
King Kévin
9750148e86
application: add USB cables library
2020-02-27 16:41:16 +01:00
King Kévin
5cf6f20319
usb_cables: add definitions of USB pin, connectors, (some) cables, and utilities to test connections
2020-02-27 16:39:57 +01:00
King Kévin
5e970a55b0
remove unused libraries
2020-02-27 16:39:55 +01:00
King Kévin
e70edfb77e
define LED and DFU board specific pins and remove unused definitions
2020-02-27 16:39:03 +01:00
King Kévin
bea3ff1f53
global: fix LED defined
2020-02-27 14:14:58 +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
f1168608c7
application: minor, use proper wait
2020-02-19 21:16:37 +01:00
King Kévin
44c75a70a2
application: minor, replace printf with puts when applicable
2020-02-19 21:16:07 +01:00
King Kévin
55d4a2fdb5
README: minor, removed unused feature
2020-02-19 21:10:56 +01:00
King Kévin
1ae88823ce
README: minor, update board link
2020-02-19 21:10:16 +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
afd5bef309
application: fix uptime action
2020-02-17 18:08:17 +01:00