valentyusb: rename from foosn

While Fomu is produced by Foosn, the actual name of the hardware
block is `valentyusb`.  Rename the module to match that.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross
2019-11-12 21:11:46 -08:00
parent e05e9801e4
commit 8c5f02960b
5 changed files with 45 additions and 157 deletions

View File

@@ -2,7 +2,7 @@ CFLAGS += \
-march=rv32i \
-mabi=ilp32 \
-nostdlib \
-DCFG_TUSB_MCU=OPT_MCU_FOMU_EPTRI
-DCFG_TUSB_MCU=OPT_MCU_VALENTYUSB_EPTRI
MCU_DIR = hw/mcu/fomu
BSP_DIR = hw/bsp/fomu
@@ -21,8 +21,8 @@ INC += \
$(TOP)/$(BSP_DIR)/include
# For TinyUSB port source
VENDOR = foosn
CHIP_FAMILY = fomu
VENDOR = valentyusb
CHIP_FAMILY = eptri
# flash using dfu-util
flash: $(BUILD)/$(BOARD)-firmware.dfu