aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/apps
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-03-05 10:16:25 +0100
committerHarald Welte <laforge@gnumonks.org>2017-03-05 10:16:25 +0100
commit2363fa032750dead33e3a676b95148e5989f16af (patch)
tree8175bb7bc8e96d97bd4d95cf81f04315afa1fbdb /firmware/apps
parent1405100dff33d03a5faeedd602493ebb8ce3521c (diff)
Generate USB Strings from apps/*/usb_strings.txt files at compile time
This way we can skip the manually-crafted USB string definitions in the dfu_desc.c and usb.c files.
Diffstat (limited to 'firmware/apps')
-rw-r--r--firmware/apps/cardem/usb_strings.txt8
-rw-r--r--firmware/apps/dfu/usb_strings.txt5
2 files changed, 13 insertions, 0 deletions
diff --git a/firmware/apps/cardem/usb_strings.txt b/firmware/apps/cardem/usb_strings.txt
new file mode 100644
index 0000000..a9c3a8e
--- /dev/null
+++ b/firmware/apps/cardem/usb_strings.txt
@@ -0,0 +1,8 @@
+sysmocom - s.f.m.c. GmbH
+SIMtrace 2 compatible device
+SIMtrace Sniffer
+SIMtrace CCID
+SIMtrace Phone
+SIMtrace MITM
+CardEmulator USIM1
+CardEmulator USIM2
diff --git a/firmware/apps/dfu/usb_strings.txt b/firmware/apps/dfu/usb_strings.txt
new file mode 100644
index 0000000..bdf2048
--- /dev/null
+++ b/firmware/apps/dfu/usb_strings.txt
@@ -0,0 +1,5 @@
+sysmocom - s.f.m.c. GmbH
+SIMtrace 2 compatible device
+DFU (Device Firmare Upgrade)
+RAM
+Flash (Application Partition)