Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manufacturer and product strings #12

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ TARGET_NAME = bootloader
# Per-board configuration.
include boards/$(BOARD)/board.mk

PRODUCT_STRING ?= "Bootloader"

# Compiler flags.
CFLAGS = -Wall --std=gnu99 -Os -g3 -nostartfiles -fno-builtin \
Expand All @@ -40,8 +41,8 @@ CFLAGS = -Wall --std=gnu99 -Os -g3 -nostartfiles -fno-builtin \
CFLAGS += \
-D USB_PRODUCT_ID=0x615c \
-D USB_VENDOR_ID=0x1d50 \
-D USB_MANUFACTURER_STR='"Great Scott Gadgets"' \
-D USB_PRODUCT_STR='"Cynthion Saturn-V Bootloader"' \
-D USB_MANUFACTURER_STR='"Saturn-V Project"' \
-D USB_PRODUCT_STR='$(PRODUCT_STRING)' \
-D_BOARD_REVISION_MAJOR_=$(BOARD_REVISION_MAJOR) \
-D_BOARD_REVISION_MINOR_=$(BOARD_REVISION_MINOR)

Expand Down
2 changes: 2 additions & 0 deletions boards/cynthion/board.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PRODUCT_STRING = "Cynthion Bootloader"

# Hardware configuration. Not so critical. I suspect binary would not change
# for any value here in the D11/D21 family.
#
Expand Down