-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mikaël BRIDAY
committed
Feb 15, 2024
1 parent
80f417e
commit 9c9fea4
Showing
8 changed files
with
98 additions
and
19 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
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
17 changes: 17 additions & 0 deletions
17
goil/templates/config/cortex-m/armv7em/mk20dx256/buildOptionsTarget.oil
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,17 @@ | ||
rm /* | ||
* ARMv7 build options for gcc - CortexM4 | ||
* TODO: we use only soft FPU for now! | ||
*/ | ||
CPU buildOptions { | ||
BUILDOPTIONS buildForCortexM4 { | ||
COMMONFLAGS = "-mcpu=cortex-m4"; // Compile for cortex-m4 | ||
COMMONFLAGS = "-mthumb"; // Thumb instruction set | ||
COMMONFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
COMMONFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
|
||
ASFLAGS = "-mcpu=cortex-m4"; // Assemble for cortex-m4 | ||
ASFLAGS = "-mthumb"; // Thumb instruction set | ||
ASFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
ASFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
goil/templates/config/cortex-m/armv7em/stm32f303/buildOptionsTarget.oil
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,17 @@ | ||
rm /* | ||
* ARMv7 build options for gcc - CortexM4 | ||
* TODO: we use only soft FPU for now! | ||
*/ | ||
CPU buildOptions { | ||
BUILDOPTIONS buildForCortexM4 { | ||
COMMONFLAGS = "-mcpu=cortex-m4"; // Compile for cortex-m4 | ||
COMMONFLAGS = "-mthumb"; // Thumb instruction set | ||
COMMONFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
COMMONFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
|
||
ASFLAGS = "-mcpu=cortex-m4"; // Assemble for cortex-m4 | ||
ASFLAGS = "-mthumb"; // Thumb instruction set | ||
ASFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
ASFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
goil/templates/config/cortex-m/armv7em/stm32f407/buildOptionsTarget.oil
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,17 @@ | ||
rm /* | ||
* ARMv7 build options for gcc - CortexM4 | ||
* TODO: we use only soft FPU for now! | ||
*/ | ||
CPU buildOptions { | ||
BUILDOPTIONS buildForCortexM4 { | ||
COMMONFLAGS = "-mcpu=cortex-m4"; // Compile for cortex-m4 | ||
COMMONFLAGS = "-mthumb"; // Thumb instruction set | ||
COMMONFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
COMMONFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
|
||
ASFLAGS = "-mcpu=cortex-m4"; // Assemble for cortex-m4 | ||
ASFLAGS = "-mthumb"; // Thumb instruction set | ||
ASFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
ASFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
goil/templates/config/cortex-m/armv7em/stm32h743/buildOptionsTarget.oil
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,17 @@ | ||
rm /* | ||
* ARMv7 build options for gcc - CortexM7 | ||
* TODO: we use only soft FPU for now! | ||
*/ | ||
CPU buildOptions { | ||
BUILDOPTIONS buildForCortexM4 { | ||
COMMONFLAGS = "-mcpu=cortex-m7"; // Compile for cortex-m7 | ||
COMMONFLAGS = "-mthumb"; // Thumb instruction set | ||
COMMONFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
COMMONFLAGS = "-mfpu=fpv5-d16"; // FPU version for CortexM7 | ||
|
||
ASFLAGS = "-mcpu=cortex-m7"; // Assemble for cortex-m7 | ||
ASFLAGS = "-mthumb"; // Thumb instruction set | ||
ASFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
ASFLAGS = "-mfpu=fpv5-d16"; // FPU version for CortexM7 | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
goil/templates/config/cortex-m/armv7em/stm32l432/buildOptionsTarget.oil
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,17 @@ | ||
rm /* | ||
* ARMv7 build options for gcc - CortexM4 | ||
* TODO: we use only soft FPU for now! | ||
*/ | ||
CPU buildOptions { | ||
BUILDOPTIONS buildForCortexM4 { | ||
COMMONFLAGS = "-mcpu=cortex-m4"; // Compile for cortex-m4 | ||
COMMONFLAGS = "-mthumb"; // Thumb instruction set | ||
COMMONFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
COMMONFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
|
||
ASFLAGS = "-mcpu=cortex-m4"; // Assemble for cortex-m4 | ||
ASFLAGS = "-mthumb"; // Thumb instruction set | ||
ASFLAGS = "-mfloat-abi=soft"; // Floating point numbers are computed in software | ||
ASFLAGS = "-mfpu=fpv4-sp-d16"; // FPU version for CortexM4 | ||
}; | ||
}; |