undefined TARGET defines both TINYSA3 and TINYSA4
any value of TARGET builds the F303 version
it is not possible to build the tinySA (TINYSA3) version
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
get a fixed string format for USB version string parsing
fix left border ver display for v1.2-3-g.., 1.2-34-g.. and 1.2-3456-g..
changes to make dfu (build *.dfu) and make flash (switch to dfu mode)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
use same name as PRODUCT from Makefile, either tinySA or tinySA4
report FW version as v1.3-nnn-gxxxxxxx in USB descriptor, see dmesg log:
[ +1,567891] usb 1-1: new full-speed USB device number 121 using uhci_hcd
[ +0,179094] usb 1-1: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[ +0,000008] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0,000005] usb 1-1: Product: tinySA
[ +0,000005] usb 1-1: Manufacturer: tinysa.org
[ +0,000004] usb 1-1: SerialNumber: v1.3-498-gf04006f
[ +0,003544] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
#33: rename all Si446*.h and SI446*.h files to all lower case
#33: change all #include "Si..." etc. accordingly
F072: put some undefined tinySA3 items between "#ifdef TINYSA4" "#endif"
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>