-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add de10-nano board specific compiler flags
-mcpu=cortex-a9: The CPU of de10-nano board is Cortex-A9. -mfloat-abi=softfp: The NEON intrinsics are not available with the soft option. Use softfp instead of soft. -mfpu=neon: neon equals to neon-vfpv3.
- Loading branch information
Showing
2 changed files
with
6 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ifeq ($(BOARD),de10nano) | ||
CFLAGS += -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=neon | ||
endif |