-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build H.bin or H4.bin depend from board
Remove dead code
- Loading branch information
DiSlord Live
committed
Jan 10, 2023
1 parent
83b7cd1
commit c60f20a
Showing
6 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,11 @@ endif | |
# | ||
|
||
# Define project name here | ||
PROJECT = ch | ||
ifeq ($(TARGET),F303) | ||
PROJECT = H4 | ||
else | ||
PROJECT = H | ||
endif | ||
|
||
# Imported source files and paths | ||
#CHIBIOS = ../ChibiOS-RT | ||
|
@@ -265,7 +269,7 @@ ULIBS = -lm | |
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC | ||
include $(RULESPATH)/rules.mk | ||
|
||
flash: build/ch.bin | ||
flash: build/build/$(PROJECT).bin | ||
This comment has been minimized.
Sorry, something went wrong. |
||
dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin | ||
This comment has been minimized.
Sorry, something went wrong.
Ho-Ro
Contributor
|
||
|
||
dfu: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
change
flash: build/build/$(PROJECT).bin
to
flash: build/$(PROJECT).bin