-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from gendx/remove-patch
Remove patch
- Loading branch information
Showing
6 changed files
with
65 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Build supported boards | ||
on: | ||
push: | ||
paths: | ||
- 'patches/tock/*' | ||
- 'third_party/tock/**' | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
build_boards: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-18.04, macos-10.15] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
target: thumbv7em-none-eabi | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install Python dependencies | ||
run: python -m pip install --upgrade pip setuptools wheel | ||
- name: Set up OpenSK | ||
run: ./setup.sh | ||
- name: Create a long build directory | ||
run: mkdir this-is-a-long-build-directory-0123456789abcdefghijklmnopqrstuvwxyz && mv third_party this-is-a-long-build-directory-0123456789abcdefghijklmnopqrstuvwxyz/ | ||
|
||
- name: Building board nrf52840dk | ||
run: make -C this-is-a-long-build-directory-0123456789abcdefghijklmnopqrstuvwxyz/third_party/tock/boards/nordic/nrf52840dk | ||
- name: Building board nrf52840_dongle | ||
run: make -C this-is-a-long-build-directory-0123456789abcdefghijklmnopqrstuvwxyz/third_party/tock/boards/nordic/nrf52840_dongle |
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 was deleted.
Oops, something went wrong.
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,24 @@ | ||
diff --git a/boards/nordic/nrf52840_dongle/layout.ld b/boards/nordic/nrf52840_dongle/layout.ld | ||
index 657b0d26..f86b2321 100644 | ||
--- a/boards/nordic/nrf52840_dongle/layout.ld | ||
+++ b/boards/nordic/nrf52840_dongle/layout.ld | ||
@@ -1,6 +1,6 @@ | ||
MEMORY | ||
{ | ||
- rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K | ||
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 192K | ||
prog (rx) : ORIGIN = 0x00030000, LENGTH = 832K | ||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K | ||
} | ||
diff --git a/boards/nordic/nrf52840dk/layout.ld b/boards/nordic/nrf52840dk/layout.ld | ||
index 657b0d26..f86b2321 100644 | ||
--- a/boards/nordic/nrf52840dk/layout.ld | ||
+++ b/boards/nordic/nrf52840dk/layout.ld | ||
@@ -1,6 +1,6 @@ | ||
MEMORY | ||
{ | ||
- rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K | ||
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 192K | ||
prog (rx) : ORIGIN = 0x00030000, LENGTH = 832K | ||
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K | ||
} |
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
Submodule tock
updated
56 files