generated from libhal-google/libhal-__device__
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Khalil Estell
committed
Dec 11, 2023
1 parent
adf2616
commit 44b71cf
Showing
11 changed files
with
98 additions
and
83 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 |
---|---|---|
|
@@ -3,61 +3,23 @@ name: ✅ CI | |
on: | ||
workflow_dispatch: | ||
pull_request: | ||
release: | ||
types: | ||
- published | ||
- deleted | ||
push: | ||
branches: | ||
- main | ||
# Remove before merging with main | ||
- exceptions | ||
schedule: | ||
- cron: "0 12 * * 0" | ||
|
||
jobs: | ||
ci: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
library: libhal-armcortex | ||
secrets: inherit | ||
|
||
cortex-m0: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
profile: cortex-m0 | ||
upload: true | ||
secrets: inherit | ||
|
||
cortex-m0plus: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
profile: cortex-m0plus | ||
upload: true | ||
secrets: inherit | ||
|
||
cortex-m1: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
profile: cortex-m1 | ||
upload: true | ||
secrets: inherit | ||
|
||
cortex-m3: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
profile: cortex-m3 | ||
upload: true | ||
secrets: inherit | ||
|
||
cortex-m4: | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
with: | ||
profile: cortex-m4 | ||
upload: true | ||
uses: libhal/ci/.github/workflows/[email protected] | ||
secrets: inherit | ||
|
||
cortex-m4f: | ||
uses: libhal/ci/.github/workflows/platform_deploy.yml@4.x.y | ||
test-cortex-m0: | ||
uses: libhal/ci/.github/workflows/deploy.yml@5.x.y | ||
with: | ||
profile: cortex-m4f | ||
upload: true | ||
arch: cortex-m0 | ||
os: baremetal | ||
compiler_package: arm-gnu-toolchain | ||
secrets: inherit |
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,16 @@ | ||
[settings] | ||
compiler=gcc | ||
compiler.cppstd=20 | ||
compiler.libcxx=libstdc++ | ||
compiler.version=12.2 | ||
os=baremetal | ||
arch={{ cpu }} | ||
|
||
[tool_requires] | ||
arm-gnu-toolchain/12.2.1 | ||
picolibc/12.2.1 | ||
|
||
[conf] | ||
tools.build:cflags=["-mcpu={{ cpu }}", "-mfloat-abi=hard", "-mthumb", "-ffunction-sections", "-fdata-sections"] | ||
tools.build:cxxflags=["-mcpu={{ cpu }}", "-fno-rtti", "-mfloat-abi=hard", "-mthumb", "-ffunction-sections", "-fdata-sections"] | ||
tools.build:exelinkflags=["--specs=nosys.specs", "--specs=picolibc.specs", "-mcpu={{ cpu }}", "-mfloat-abi=hard", "-mthumb", "-fno-rtti", "-Wl,--gc-sections", "-Wl,--print-memory-usage"] |
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,2 @@ | ||
{% set cpu = "cortex-m4+nofp" %} | ||
{% include "cortex" %} |
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
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,23 @@ | ||
/* | ||
* Copyright 2023 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
__flash = 0x00000000; | ||
__flash_size = 64K; | ||
__ram = 0x10000000; | ||
__ram_size = 8K; | ||
__stack_size = 1K; | ||
|
||
INCLUDE "libhal-armcortex/standard.ld" |
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