Skip to content

Commit

Permalink
Relicense as dual MIT OR Apache-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-richter committed Nov 25, 2019
1 parent 69cd603 commit 54137e8
Show file tree
Hide file tree
Showing 233 changed files with 460 additions and 247 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/arch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/arch/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/arch/aarch64/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/bsp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/bsp/rpi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/bsp/rpi/link.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: MIT
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2019 Andre Richter <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 01_wait_forever/src/panic_wait.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ diff -uNr 01_wait_forever/src/runtime_init.rs 02_runtime_init/src/runtime_init.r
--- 01_wait_forever/src/runtime_init.rs
+++ 02_runtime_init/src/runtime_init.rs
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: MIT
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2018-2019 Andre Richter <[email protected]>
+
Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/arch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/arch/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/arch/aarch64/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/bsp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/bsp/rpi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/bsp/rpi/link.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: MIT
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2019 Andre Richter <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/panic_wait.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 02_runtime_init/src/runtime_init.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
4 changes: 2 additions & 2 deletions 03_hacky_hello_world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ diff -uNr 02_runtime_init/src/interface.rs 03_hacky_hello_world/src/interface.rs
--- 02_runtime_init/src/interface.rs
+++ 03_hacky_hello_world/src/interface.rs
@@ -0,0 +1,36 @@
+// SPDX-License-Identifier: MIT
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2018-2019 Andre Richter <[email protected]>
+
Expand Down Expand Up @@ -204,7 +204,7 @@ diff -uNr 02_runtime_init/src/print.rs 03_hacky_hello_world/src/print.rs
--- 02_runtime_init/src/print.rs
+++ 03_hacky_hello_world/src/print.rs
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: MIT
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2018-2019 Andre Richter <[email protected]>
+
Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/arch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/arch/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/arch/aarch64/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/bsp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/bsp/rpi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/bsp/rpi/link.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: MIT
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2019 Andre Richter <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/interface.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/panic_wait.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/print.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 03_hacky_hello_world/src/runtime_init.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ diff -uNr 03_hacky_hello_world/src/arch/aarch64/start.S 04_zero_overhead_abstrac
--- 03_hacky_hello_world/src/arch/aarch64/start.S
+++ 04_zero_overhead_abstraction/src/arch/aarch64/start.S
@@ -1,21 +0,0 @@
-// SPDX-License-Identifier: MIT
-// SPDX-License-Identifier: MIT OR Apache-2.0
-//
-// Copyright (c) 2018-2019 Andre Richter <[email protected]>
-
Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/arch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/arch/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/bsp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/bsp/rpi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/bsp/rpi/link.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: MIT
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2019 Andre Richter <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/interface.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/panic_wait.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/print.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 04_zero_overhead_abstraction/src/runtime_init.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ diff -uNr 04_zero_overhead_abstraction/src/arch/aarch64/sync.rs 05_safe_globals/
--- 04_zero_overhead_abstraction/src/arch/aarch64/sync.rs
+++ 05_safe_globals/src/arch/aarch64/sync.rs
@@ -0,0 +1,52 @@
+// SPDX-License-Identifier: MIT
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2018-2019 Andre Richter <[email protected]>
+
Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/arch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/arch/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/arch/aarch64/sync.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/bsp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/bsp/rpi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/bsp/rpi/link.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: MIT
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2019 Andre Richter <[email protected]>
*/
Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/interface.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/panic_wait.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/print.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 05_safe_globals/src/runtime_init.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 06_drivers_gpio_uart/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-License-Identifier: MIT
## SPDX-License-Identifier: MIT OR Apache-2.0
##
## Copyright (c) 2018-2019 Andre Richter <[email protected]>

Expand Down
Loading

0 comments on commit 54137e8

Please sign in to comment.