Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3865 commits
Select commit Hold shift + click to select a range
b6b298e
Merge pull request #3975 from lschuermann/dev/userspace-predictable-t…
alevy Jun 4, 2024
3e3eb9a
Merge pull request #4013 from alistair23/alistair/dead-code
alevy Jun 4, 2024
463e3af
capsules: 154: add low-level 15.4 userspace driver
bradjc May 20, 2024
3be4de7
components: 154: add raw syscall driver
bradjc May 28, 2024
c32f059
15.4: backport new commands to existing driver
bradjc Jun 4, 2024
287b53c
bump Rust nightly to nightly-2024-05-23
alistair23 May 23, 2024
be1b5b5
boards: Support optimise for size
alistair23 May 23, 2024
8f009b2
Merge pull request #4002 from alistair23/alistair/rust-bump
alevy Jun 4, 2024
f67e271
802154: raw driver: need to replace rx buffer
bradjc Jun 5, 2024
d95f067
boards: nrf52840dk: remove thread capsule
bradjc Jun 5, 2024
d4f205a
appid: add null checker
bradjc May 14, 2024
690848d
Merge pull request #3995 from tock/nrf52840-ieee802154-updates
ppannuto Jun 5, 2024
ec23bde
Merge pull request #4019 from tock/null-checker
alevy Jun 6, 2024
7d05810
Merge pull request #4017 from tock/nrf52840dk-remove-thread
alevy Jun 6, 2024
2861299
Fix temperature sign in bme280 and bmp280 drivers
brghena Jul 28, 2022
7d3dff2
Fix missing parentheses in sign extension shifting
brghena Aug 5, 2022
0252cda
Merge pull request #4016 from tock/154-phy-driver
alevy Jun 6, 2024
30f977b
Merge pull request #4014 from tock/revert-enc-recv
alevy Jun 6, 2024
fcb5c80
doc: trd: storage permissions
bradjc Mar 21, 2024
b8cc379
Revert "Merge pull request #3851 from tyler-potyondy/15.4-syscall"
bradjc May 20, 2024
b97af52
boards: nrf52840dk: make 15.4 stack optional
bradjc Jun 5, 2024
84e5c25
boards: nrf52840dk tutorial: add 15.4 raw stack
bradjc Jun 5, 2024
8c9586b
Merge pull request #4015 from tock/ieee802154-revert-send-raw
alevy Jun 6, 2024
ffdc15f
capsules: add 15.4 readme
bradjc May 17, 2024
51d7dae
Merge pull request #4018 from tock/nrf52840dk-optional-154
alevy Jun 6, 2024
4aa3d32
libraries: tbf: add short id TBF header
bradjc Jun 6, 2024
51dabe6
kernel: process: shortid: add From implementation
bradjc Jun 6, 2024
422732a
kernel: process: add Display for ShortId
bradjc Jun 6, 2024
3902f52
capsules: system: process checking: tbf id assign
bradjc Jun 6, 2024
4bfa875
components: appid: null checker: remove ;
bradjc Jun 6, 2024
722a938
components: add TBF header assigner component
bradjc Jun 6, 2024
8c7ed75
boards: configurations: add tbf header assigner
bradjc Jun 6, 2024
cc30d2e
trd: storage: clarify permission types
bradjc Jun 7, 2024
3d29c8e
Tweak 15.4 Stack Readme
alevy Jun 9, 2024
5ef6b65
Merge pull request #4022 from tock/154-readme
alevy Jun 9, 2024
6df14fa
Network working group call notes: June 10, 2024
brghena Jun 10, 2024
2a1eb32
trd: storage: add link to short id
bradjc Jun 10, 2024
0692a8a
trd: storage: add section on policy
bradjc Jun 10, 2024
dda945c
trd: storage: explain how capsules should use SP
bradjc Jun 10, 2024
8ab88f6
trd: storage: add storage examples and SP mappings
bradjc Jun 10, 2024
9aa754d
Merge pull request #4024 from tock/network-notes-2024-06-10
alevy Jun 10, 2024
7b59521
Core Team Notes 6-7-24
tyler-potyondy Jun 7, 2024
18bce19
doc: trd: storage: update to StoragePermissions
bradjc Jun 11, 2024
c6900e2
doc: trd: storage: update policy trait
bradjc Jun 11, 2024
09821f3
boards: add tutorial board for HOTP tutorial
bradjc Jun 12, 2024
bc1a59d
Merge pull request #4025 from tyler-potyondy/core-notes-6-7-24
alevy Jun 14, 2024
92cfc95
Fix copyright years in nrf52840dk-hotp-tutorial board
alevy Jun 14, 2024
8d7b54e
Merge pull request #4027 from tock/board-tut-hotp
alevy Jun 14, 2024
7e2fe68
NOMERGE: conceptual updates to TRD104 for YieldFor
ppannuto Jul 28, 2023
5a97c80
kernel: rough implementation of YieldFor
ppannuto Jul 28, 2023
5bc08b2
Update for PR comments; allow 'skip-callback'
ppannuto Aug 5, 2023
22b3530
add context switch comment from gh discussion
ppannuto Aug 7, 2023
9c7e4b4
some formatting cleanups
ppannuto Aug 16, 2023
70d9a25
document SubscribeUpcall
ppannuto Aug 16, 2023
e71a7b8
add design rationale / discussion
ppannuto Aug 16, 2023
0e60e50
update proposal to CallbackIfPresent + yield-return
ppannuto Aug 16, 2023
4e30f49
doc: trd104, update to yield-waitfor-nocallback
ppannuto Sep 8, 2023
7545035
kernel: update impl for Yield-WaitFor-NoCallback
ppannuto Sep 8, 2023
1db35b9
make fmt
ppannuto Sep 8, 2023
3af764b
kernel: process: state comment
bradjc Jun 14, 2024
53e7a88
kernel: yieldfor: update names/comments
bradjc Jun 14, 2024
eff9cf8
kernel: waitfor: IPC no upcall
bradjc Jun 14, 2024
75854d6
kernel: waitfor: use name WaitFor
bradjc Jun 14, 2024
5527fc6
doc: syscall TRD: update yield
bradjc Jun 14, 2024
efdb090
doc: syscall TRD: revert upcall changes
bradjc Jun 14, 2024
6a21420
doc: syscall TRD: remove generic yield text
bradjc Jun 14, 2024
2795955
doc: syscall TRD: remove design rationale
bradjc Jun 14, 2024
b3fae2d
kernel: yield-waitfor: standardize on name
bradjc Jun 14, 2024
165dd9b
kernel: impl TryFrom<usize> for YieldCall
bradjc Jun 14, 2024
c1f2ce6
arch/rv32i: separate kernel and app trap handlers
lschuermann May 28, 2024
9efe5e1
kernel: yield: do not need all three params
bradjc Jun 14, 2024
96f0403
Add explicit refernce to AppIds as policy
ppannuto Jun 14, 2024
0222998
Merge pull request #4009 from lschuermann/dev/riscv-separate-kernel-a…
alevy Jun 14, 2024
32ad86b
Merge pull request #4021 from tock/trd-storage
ppannuto Jun 14, 2024
b17f230
kernel: process std: manage state
bradjc Jun 14, 2024
5cc23b9
kernel: yield-waitfor: match TRD variable names
bradjc Jun 14, 2024
5d22afd
doc: syscall trd: only 3 regs for upcall args
bradjc Jun 14, 2024
f21bab3
Add Core Team Call Notes of 2024-05-31
lschuermann Jun 14, 2024
ed2107f
boards/apoloo3: Update the flash layout
alistair23 Jun 15, 2024
070a688
Merge pull request #4030 from alistair23/alistair/apollo3
alevy Jun 16, 2024
f2466b9
Merge pull request #4029 from lschuermann/notes/2024-05-31
alevy Jun 16, 2024
54f09ba
Fix field name case in syscall.rs
alevy Jun 16, 2024
ab293c5
Rename `dequeue_specific` to `remove_first`
alevy Jun 16, 2024
f82ffd9
Extract yield-for call from internal match arms
alevy Jun 16, 2024
f817110
Update comments on YieldWaitFor implementation in kernel.rs
alevy Jun 16, 2024
07bd118
Update kernel/src/process.rs
alevy Jun 16, 2024
db6b982
Merge pull request #3577 from tock/yeild-for
alevy Jun 16, 2024
58c9772
kernel/collections/queue: rename `remove_first` to `remove_first_matc…
lschuermann Jun 17, 2024
5dd121a
doc/reference/trd104: bump draft version and date modified
lschuermann Jun 17, 2024
8e37412
Merge pull request #4032 from lschuermann/dev/yield-for-trd-bump
alevy Jun 17, 2024
254081a
Merge pull request #3112 from tock/bme280-bmp280-sign-fixes
alevy Jun 17, 2024
bf18e38
opentitan: Add ROM_EXT-compatible ePMP setup.
Jun 17, 2024
b5edf6f
opentitan: Disable ePMP regions 2 & 3 in the test_rom constructor to …
Jun 17, 2024
040b5b7
build(deps): bump urllib3 from 2.1.0 to 2.2.2 in /tools/tockbot
dependabot[bot] Jun 17, 2024
f13b9ae
Merge pull request #4026 from tock/tbf-short-id
alevy Jun 17, 2024
922afb0
Merge pull request #4035 from tock/dependabot/pip/tools/tockbot/urlli…
alevy Jun 17, 2024
5a65d68
Merge pull request #4034 from jrvanwhy/tock-new-rom_ext
bradjc Jun 18, 2024
49b2416
components: add sequential loader component
bradjc Jun 18, 2024
a1e0d0f
boards: config: nrf: sha256: use loader component
bradjc Jun 18, 2024
a9e0410
boards: config: nrf: tbf: use loader component
bradjc Jun 18, 2024
6bf58e3
boards: imix: use loader component
bradjc Jun 18, 2024
f90ee05
boards: makepython: use loader component
bradjc Jun 18, 2024
56eb6e6
kernel: processstd: remove unsafe in version
bradjc Jun 19, 2024
7905d40
kernel: process: stop: yieldfor
bradjc Jun 19, 2024
eacb24b
Merge pull request #4038 from tock/kernel-procstd-version-unsafe
alevy Jun 19, 2024
b0f8201
Merge pull request #4036 from tock/components-loader
alevy Jun 19, 2024
1c55c2b
boards: tut: hotp: enable screen
bradjc Jun 19, 2024
0dcb702
Merge pull request #4033 from lschuermann/dev/ring-buffer-remove-firs…
alevy Jun 19, 2024
3ccfe29
Merge pull request #4039 from tock/kernel-stopped-states
ppannuto Jun 19, 2024
0b7d25c
Merge pull request #4040 from tock/boards-hotp-screen
alevy Jun 20, 2024
aecc5b2
capsules: appid: names: simplify impl
bradjc Jun 20, 2024
292e86a
chips: nrf52: use only spi0 and twi1
bradjc Jun 20, 2024
66ace22
boards: twi0 -> twi1
bradjc Jun 20, 2024
813c483
doc: scheduling: moved to book
bradjc Jun 20, 2024
88b90ea
ci: change syntax
bradjc Jun 21, 2024
9f040ec
Merge pull request #4045 from tock/ci-nightly-junk
alevy Jun 21, 2024
dc2120d
Merge pull request #4041 from tock/appid-names-simplify
ppannuto Jun 21, 2024
650812b
Merge pull request #4043 from tock/scheduling-doc
ppannuto Jun 21, 2024
31cf4d3
Add notes from core wg meeting June 14, 2024
hudson-ayers Jun 23, 2024
18c4f49
Merge pull request #4042 from tock/nrf52-spi0-twi1
hudson-ayers Jun 23, 2024
c90996c
Merge pull request #4046 from tock/core-notes-6-14-2024
brghena Jun 25, 2024
ea2bfde
Email group changed
brghena Jun 26, 2024
e649d02
ci-nightly action: fix YAML workflow spec indentation
lschuermann Jun 26, 2024
a8c3e9e
Merge pull request #4049 from lschuermann/dev/fix-ci-nighly-yaml
bradjc Jun 26, 2024
0f9dca7
Include Network WG in list of working groups
brghena Jun 26, 2024
7e9208d
ci-nightly action: fix assignees attribute
lschuermann Jun 26, 2024
d8c8b4c
Merge pull request #4050 from tock/oops-network-exists
lschuermann Jun 26, 2024
d14e43d
Merge pull request #4048 from tock/readme-email-update
lschuermann Jun 26, 2024
f4f3670
Fix ACK buf Size
tyler-potyondy Jun 26, 2024
b30f2da
Merge pull request #4051 from lschuermann/dev/fix-ci-nighly-yaml
bradjc Jun 26, 2024
0b0410d
doc: wg: core: update Hudson's affiliation
bradjc Jun 26, 2024
352e43b
15.4 ACK Buffer Length: Comment updates
tyler-potyondy Jun 26, 2024
f31fba2
Merge pull request #4052 from tock/doc-wg-core-ayers
brghena Jun 27, 2024
ab884ba
Merge pull request #4047 from tyler-potyondy/dev/15.4-ack
alevy Jun 28, 2024
5e36496
ipc: avoid double grant entry
bradjc Jun 28, 2024
ab35489
Merge pull request #4053 from tock/ipc-no-double-entry
brghena Jun 30, 2024
1bc808f
readme: TockWorld 7 has completed
bradjc Jul 1, 2024
57617d5
Use the right syntax for initialising the screen buffer
U-alb Jul 1, 2024
ef7f18e
Merge pull request #4055 from tock/tw7-completed
jrvanwhy Jul 1, 2024
9d1f488
Merge pull request #4056 from U-alb/master
alevy Jul 1, 2024
1f00753
arch: cortex-m: fix docs
bradjc Jul 2, 2024
506c4ff
Fix cargo miri test
alevy Jun 29, 2024
e8d10a4
makefile: miri: include system capsules
bradjc Jul 2, 2024
3200c2d
arch: rv32i: fix comments
bradjc Jul 3, 2024
0a1e6a5
boards: teensy: use start()
bradjc Jul 3, 2024
3f2a7c0
Merge pull request #4060 from tock/teensy-main
ppannuto Jul 3, 2024
91297df
Merge pull request #4057 from tock/cortex-m-docs
ppannuto Jul 3, 2024
82eec01
Merge pull request #4058 from tock/miri-capsules
ppannuto Jul 3, 2024
3c74632
kernel: process: do not store ref to process name
bradjc Jul 3, 2024
5b7af97
Merge pull request #4061 from tock/kernel-process-standard-nonameref
lschuermann Jul 5, 2024
91af070
Merge pull request #4059 from tock/arch-rv32i-docs
lschuermann Jul 5, 2024
12ae6a1
Makefile: alias `format` to `cargo fmt`, add `format-check` command
lschuermann Jun 18, 2024
5ee94cc
tools/check_format.sh: add documentation
lschuermann Jul 5, 2024
7d53362
Merge pull request #4037 from lschuermann/dev/make-format-check
ppannuto Jul 5, 2024
ac17c80
build(deps): bump certifi from 2023.11.17 to 2024.7.4 in /tools/tockbot
dependabot[bot] Jul 5, 2024
e5da7d6
chips: apollo3: Handle the errata for clock double increments
alistair23 Jul 5, 2024
97132c4
Merge pull request #4065 from tock/dependabot/pip/tools/tockbot/certi…
lschuermann Jul 6, 2024
d383b14
make: doc: use cargo doc --document-private-items
bradjc Jul 8, 2024
f91407e
capsules: fix documentation issues
bradjc Jul 8, 2024
e7a0881
kernel: fix documentation link issues
bradjc Jul 8, 2024
e5cb6f0
arch: fix comments
bradjc Jul 8, 2024
73780c2
chips: fix comments
bradjc Jul 8, 2024
25e001c
Merge pull request #4068 from tock/doc-private
brghena Jul 8, 2024
587f93a
Merge pull request #4063 from alistair23/alistair/apollo3-clock-skip
lschuermann Jul 8, 2024
4d0429a
libraries: specify edition
bradjc Jul 7, 2024
305cf63
Merge pull request #4067 from tock/libs-rust-edition
brghena Jul 8, 2024
ff7cb3a
chips/litex/liteeth: remove unused LiteEthPhyRegisters
lschuermann Jul 8, 2024
896f398
chips/lowrisc/usbdev: remove unused SetupRequest struct
lschuermann Jul 8, 2024
59d483a
Merge pull request #4073 from lschuermann/dev/remove-dead-code
ppannuto Jul 8, 2024
2cf5088
Update Rust nightly toolchain to nightly-2024-07-08
lschuermann Jul 8, 2024
8da17b1
Merge pull request #4071 from lschuermann/dev/rust-update-nightly-202…
bradjc Jul 9, 2024
f612c7f
make: simplify cargo doc rule
bradjc Jul 9, 2024
80b0553
Merge pull request #4077 from tock/make-cargo-doc
ppannuto Jul 9, 2024
20c699e
lib: tbf: parse without 'static
bradjc Jul 10, 2024
1bcce9c
kernel: improve kernel.rs comments
bradjc Jul 4, 2024
2afa8ac
kernel: grant: improve comments
bradjc Jul 4, 2024
3e39e2d
kernel: errorcode: improve comments
bradjc Jul 4, 2024
71447be
kernel: component: improve comments
bradjc Jul 4, 2024
5c74fda
kernel: upcall: improve comments
bradjc Jul 4, 2024
3f9181d
kernel: syscall: improve comments
bradjc Jul 4, 2024
40ded3c
kernel: process printer: improve comments
bradjc Jul 10, 2024
7aea14a
Merge pull request #4079 from tock/tbf-header-parse-no-static
ppannuto Jul 10, 2024
f32bc22
workspace: cargo.toml: move clippy allows
bradjc Jul 10, 2024
e133afb
make: use `cargo clippy` instead of our script
bradjc Jul 10, 2024
439edb3
tools: remove old run clippy script
bradjc Jul 10, 2024
db45478
Cargo.toml: clippy: add [lints]
bradjc Jul 10, 2024
2ca99f7
boards: stm32f429: use start()
bradjc Jul 11, 2024
74c0dbd
boards: stm32f3: use start()
bradjc Jul 11, 2024
d43970b
boards: stm32f4: use start()
bradjc Jul 11, 2024
1f6219d
boards: litex: arty: use start()
bradjc Jul 11, 2024
f4483cd
boards: litex: sim: use start()
bradjc Jul 11, 2024
3eb652a
boards: imix: use start()
bradjc Jul 11, 2024
2861e73
boards: imxrt: use start()
bradjc Jul 11, 2024
ac210f7
boards: msp_exp432: use start()
bradjc Jul 11, 2024
bee74ab
boards: qemu_rv32: use start()
bradjc Jul 11, 2024
d70147a
boards: redboard: use start()
bradjc Jul 11, 2024
63018ef
boards: smaq3: use start
bradjc Jul 11, 2024
b4b05f2
boards: swervolf: use start()
bradjc Jul 11, 2024
cef73d0
boards: weact: use start()
bradjc Jul 11, 2024
f856f9f
chips: apollo3: stimer: Ensure alarm occurs if set in the past
alistair23 Jul 10, 2024
cf870b3
chips: apollo3: stimer: Increase the minimum_dt()
alistair23 Jul 11, 2024
95dee46
docs: fix various links
bradjc Jul 11, 2024
f052b6d
Merge pull request #4087 from tock/docs-fix-links
ppannuto Jul 11, 2024
efd7f4e
readme: simplify tock 2 blurb
bradjc Jul 11, 2024
2db7a93
readme: replace paragraphs with lists
bradjc Jul 11, 2024
17a97f2
Merge pull request #4088 from tock/simple-readme
ppannuto Jul 11, 2024
9883af3
Merge pull request #4085 from tock/boards-start-others
ppannuto Jul 11, 2024
2834b8d
Merge pull request #4083 from tock/stm32-boards-start
ppannuto Jul 11, 2024
4c6cae0
Merge pull request #4084 from tock/boards-start-litex
ppannuto Jul 11, 2024
a95c618
Merge pull request #4082 from tock/cargo-clippy
lschuermann Jul 11, 2024
f3f87a8
clippy: deny wrong-self-convention
bradjc Jul 10, 2024
c110da0
clippy: deny unnecessary_unwrap
bradjc Jul 10, 2024
8bd9a15
clippy: deny needless_match
bradjc Jul 10, 2024
42667c2
clippy: deny type_repetition_in_bounds
bradjc Jul 10, 2024
e5032fd
Merge pull request #4090 from tock/cargo-unnecessary_unwrap
brghena Jul 11, 2024
f994270
Merge pull request #4091 from tock/clippy-needless_match
brghena Jul 11, 2024
58a31f6
Merge pull request #4092 from tock/clippy-type_repetition_in_bounds
brghena Jul 11, 2024
537af60
clippy: deny needless-if
bradjc Jul 11, 2024
f7f2475
clippy: deny from-over-into
bradjc Jul 11, 2024
9a42b4b
Merge pull request #4095 from tock/clippy-needless-if
brghena Jul 11, 2024
9c0fa5a
The deferred call should have been registered in chip.rs instead of d…
inesmaria08 Jul 12, 2024
3fd7b60
clippy: deny explicit_auto_deref
bradjc Jul 12, 2024
f2356c7
Merge pull request #4096 from tock/clippy-explicit_auto_deref
lschuermann Jul 12, 2024
09a2c62
clippy: deny redundant_field_names
bradjc Jul 12, 2024
fd1d33c
clippy: deny borrow_deref_ref
bradjc Jul 10, 2024
3f897bd
Merge pull request #4093 from tock/clippy-borrow_deref_ref
ppannuto Jul 12, 2024
669e8bb
Merge pull request #4097 from tock/clippy-from-over-into
ppannuto Jul 12, 2024
803fc0a
Merge pull request #4098 from inesmaria08/fixing_deferred_calls_regis…
ppannuto Jul 12, 2024
2b60c18
Notes from Core working group call: July 12, 2024
brghena Jul 12, 2024
0cb6df4
Merge pull request #4089 from tock/clippy-wrong-self-convention
alevy Jul 12, 2024
bc7785d
Merge pull request #4078 from alistair23/alistair/apollo3-clock-fix
ppannuto Jul 12, 2024
c160f94
clippy: deny overflow_check_conditional
bradjc Jul 10, 2024
8bbd278
chips: sam4l: fix flash address check
bradjc Jul 12, 2024
634b577
Merge pull request #4101 from tock/clippy-redundant_field_names
alevy Jul 13, 2024
2404126
Merge pull request #4094 from tock/clippy-overflow_check_conditional
lschuermann Jul 15, 2024
c3f16ba
Merge pull request #4080 from tock/kernel-doc-kernel
lschuermann Jul 15, 2024
b73d010
Merge pull request #4102 from tock/core-notes-2024-07-12
lschuermann Jul 15, 2024
2ea7bfa
tickv: Remove the offset from read_region()
alistair23 Jul 8, 2024
2105615
tickv: Implement Default for Crc to keep clippy happy
alistair23 Jul 8, 2024
3054b46
tickv: Bump to version 2.0.0
alistair23 Jul 8, 2024
77acce8
kernel: syscall: fix missing comments
bradjc Jul 16, 2024
4ee3a0c
make: clippy error on warnings
bradjc Jul 16, 2024
16cf70b
Merge pull request #4105 from tock/kernel-syscall-doc
lschuermann Jul 16, 2024
03de23a
Merge pull request #4106 from tock/make-clippy-warnings
ppannuto Jul 16, 2024
6bd0551
Network working group call notes: July 15, 2024
brghena Jul 16, 2024
1755904
Update doc/wg/network/notes/network-notes-2024-07-15.md
alevy Jul 16, 2024
403be95
Merge pull request #4107 from tock/network-notes-2024-07-15
alevy Jul 17, 2024
8b9d425
Merge pull request #4069 from alistair23/alistair/tickv
alevy Jul 17, 2024
c035606
updated wifinina
U-alb Jul 17, 2024
59f19dd
updated wifinina
U-alb Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 0 additions & 19 deletions .github/bors.toml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright Tock Contributors 2023.

# This is a configuration file for the labeler github action.
# The labeler action runs uses this configuration to automatically
# label each PR submitted to the Tock repository, by applying labels
Expand Down Expand Up @@ -28,6 +32,26 @@ WG-OpenTitan:
- boards/opentitan/**/*
- chips/earlgrey/**/*
- chips/lowrisc/**/*
- doc/wg/opentitan/**/*

WG-Network:
- capsules/extra/src/ble_advertising_driver.rs
- capsules/extra/src/can.rs
- capsules/extra/src/ieee802154/**/*
- capsules/extra/src/net/**/*
- capsules/extra/src/rf233.rs
- capsules/extra/src/rf233_const.rs
- chips/apollo3/src/ble.rs
- chips/litex/src/liteeth.rs
- chips/nrf52/src/ble_radio.rs
- chips/nrf52840/src/ieee802154_radio.rs
- chips/stm32f429zi/src/can_registers.rs
- chips/stm32f4xx/src/can.rs
- chips/virtio/src/devices/virtio_net.rs
- doc/wg/network/**/*
- kernel/src/hil/ble_advertising.rs
- kernel/src/hil/can.rs
- kernel/src/hil/radio.rs

# add kernel label unless already covered by hil label
kernel:
Expand All @@ -36,3 +60,6 @@ kernel:
# add documentation label only if all changes are in doc/
documentation:
- all: ['doc/**/*']

component:
- boards/components/**/*
14 changes: 9 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright Tock Contributors 2023.

# This workflow calculates size diffs for the compiled binary of each supported tock board

name: Benchmarks
Expand All @@ -10,19 +14,19 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# If you add additional jobs, remember to add them to bors.toml
permissions:
contents: read

jobs:
benchmarks:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 # pulls version from rust-toolchain file
with:
components: rustfmt, clippy
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
88 changes: 88 additions & 0 deletions .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright Tock Contributors 2024.

name: tock-nightly-ci

on:
schedule:
- cron: "0 0 * * *"

env:
TERM: xterm # Makes tput work in actions output

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# If you add additional jobs, remember to add them to bors.toml
permissions:
contents: read
issues: write

jobs:
ci-build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: ci-job-syntax
run: make ci-job-syntax
- name: ci-job-compilation
run: make ci-job-compilation
- name: ci-job-debug-support-targets
run: make ci-job-debug-support-targets

- name: ci-job-collect-artifacts
run: make ci-job-collect-artifacts
- name: upload-build-artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: tools/ci-artifacts

ci-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Update package repositories
run: |
sudo apt update
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies for ubuntu-latest
run: |
sudo apt install libudev-dev libzmq3-dev
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies for macos-latest
run: |
brew install zeromq
if: matrix.os == 'macos-latest'
- uses: actions/checkout@v3
- name: ci-job-libraries
run: make ci-job-libraries
- name: ci-job-archs
run: make ci-job-archs
- name: ci-job-kernel
run: make ci-job-kernel
- name: ci-job-chips
run: make ci-job-chips
- name: ci-job-tools
run: make ci-job-tools
- name: Create Issue on Failed workflow
if: failure()
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
title: Nightly CI failed
body: |
### Context
[Failed Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
[Codebase](https://github.com/${{ github.repository }}/tree/${{ github.sha }})
Workflow name - `${{ github.workflow }}`
Job - `${{ github.job }}`
status - `${{ job.status }}`
assignees: tock/core-wg
107 changes: 55 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# This workflow contains all tock-ci, seperated into jobs
# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright Tock Contributors 2023.

# This workflow contains all tock-ci, separated into jobs

name: tock-ci
env:
Expand All @@ -7,12 +11,17 @@ env:
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches-ignore: [ staging.tmp, trying.tmp ] # Run CI for all branches except bors tmp branches
push: # Run CI for all branches except GitHub merge queue tmp branches
branches-ignore:
- "gh-readonly-queue/**"
pull_request: # Run CI for PRs on any branch
merge_group: # Run CI for the GitHub merge queue

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# If you add additional jobs, remember to add them to bors.toml
permissions:
contents: read

jobs:
ci-format:
strategy:
Expand All @@ -23,15 +32,14 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 # pulls version from rust-toolchain file
- uses: actions/setup-node@v1
with:
components: rustfmt
- name: ci-job-format
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: ci-job-format
run: make ci-job-format
- name: ci-markdown-toc
run: make ci-job-markdown-toc
- name: ci-job-markdown-toc
run: make ci-job-markdown-toc
- name: ci-job-readme-check
run: make ci-job-readme-check

ci-clippy:
strategy:
Expand All @@ -42,42 +50,36 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 # pulls version from rust-toolchain file
with:
components: clippy
- name: ci-job-clippy
- uses: actions/checkout@v3
- name: ci-job-clippy
run: make ci-job-clippy

ci-build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1

- name: ci-job-syntax
run: make ci-job-syntax
- name: ci-job-compilation
run: make ci-job-compilation
- name: ci-job-debug-support-targets
run: make ci-job-debug-support-targets

- name: ci-job-collect-artifacts
run: make ci-job-collect-artifacts
- uses: actions/checkout@v3
- name: ci-job-syntax
run: make ci-job-syntax
- name: ci-job-compilation
run: make ci-job-compilation
- name: ci-job-debug-support-targets
run: make ci-job-debug-support-targets
- name: ci-job-collect-artifacts
run: make ci-job-collect-artifacts
- name: upload-build-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: tools/ci-artifacts

ci-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -89,25 +91,27 @@ jobs:
run: |
sudo apt install libudev-dev libzmq3-dev
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies for macos-latest
run: |
brew install zeromq
if: matrix.os == 'macos-latest'
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- name: ci-job-libraries
run: make ci-job-libraries
- name: ci-job-archs
run: make ci-job-archs
- name: ci-job-kernel
run: make ci-job-kernel
- name: ci-job-chips
run: make ci-job-chips
- name: ci-job-tools
run: make ci-job-tools
- uses: actions/checkout@v3
- name: ci-job-libraries
run: make ci-job-libraries
- name: ci-job-archs
run: make ci-job-archs
- name: ci-job-kernel
run: make ci-job-kernel
- name: ci-job-capsules
run: make ci-job-capsules
- name: ci-job-chips
run: make ci-job-chips
- name: ci-job-tools
run: make ci-job-tools
- name: ci-job-cargo-test-build
run: make ci-job-cargo-test-build

ci-qemu:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Update package repositories
Expand All @@ -117,7 +121,6 @@ jobs:
continue-on-error: true
run: |
sudo apt install meson
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- name: ci-job-qemu
run: make ci-job-qemu
- uses: actions/checkout@v3
- name: ci-job-qemu
run: make ci-job-qemu
12 changes: 11 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright Tock Contributors 2023.

name: "Pull Request Labeler"
on:
- pull_request_target

permissions:
contents: read

jobs:
triage:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- uses: actions/labeler@v4.3.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading