Skip to content

Commit 30bc4fe

Browse files
committed
Add missing license tags to files
In order to use the `Reuse Compliance` workflow all files must contain an acceptable license tag. This add the necessary tags to all of the existing examples and demos so that we can implement the reuse compliance workflow for future contributions. Signed-off-by: Winford <[email protected]>
1 parent ac2004b commit 30bc4fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+413
-7
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2018-2024 Fred Dushin <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
**/_build/**
26
**/deps/**
37
**/mix.lock

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2018-2024 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# AtomVM Example Programs
28

39
Welcome to the AtomVM Example Programs repository!

demos/morse_server/README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2019-2020 Davide Bettio <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `morse_server` Application
28

39
Welcome to the `morse_server` AtomVM application.
@@ -42,11 +48,8 @@ For more information about programming on the AtomVM platform, see the [AtomVM P
4248
| Platform | Supported |
4349
|----------------|-----------|
4450
| `esp32` ||
51+
| `pico` ||
4552
| `stm32` ||
4653
| `generic_unix` ||
4754

4855
For general information about building and executing Erlang AtomVM example programs, see the Erlang example program [README](../../erlang/README.md).
49-
50-
51-
52-

demos/morse_server/rebar.config

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
%
2+
% This file is part of AtomVM.
3+
%
4+
% Copyright 2019-2020 Davide Bettio <[email protected]>
5+
%
6+
% Licensed under the Apache License, Version 2.0 (the "License");
7+
% you may not use this file except in compliance with the License.
8+
% You may obtain a copy of the License at
9+
%
10+
% http://www.apache.org/licenses/LICENSE-2.0
11+
%
12+
% Unless required by applicable law or agreed to in writing, software
13+
% distributed under the License is distributed on an "AS IS" BASIS,
14+
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
% See the License for the specific language governing permissions and
16+
% limitations under the License.
17+
%
18+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
%
20+
121
{erl_opts, [debug_info]}.
222
{deps, []}.
323
{plugins, [

demos/morse_server/rebar.lock

+6
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
%
2+
% Copyright 2019-2020 Davide Bettio <[email protected]>
3+
%
4+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
%
6+
17
[].

demos/morse_server/src/morse_server.app.src

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
%
2+
% This file is part of AtomVM.
3+
%
4+
% Copyright 2019-2020 Davide Bettio <[email protected]>
5+
%
6+
% Licensed under the Apache License, Version 2.0 (the "License");
7+
% you may not use this file except in compliance with the License.
8+
% You may obtain a copy of the License at
9+
%
10+
% http://www.apache.org/licenses/LICENSE-2.0
11+
%
12+
% Unless required by applicable law or agreed to in writing, software
13+
% distributed under the License is distributed on an "AS IS" BASIS,
14+
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
% See the License for the specific language governing permissions and
16+
% limitations under the License.
17+
%
18+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
%
20+
121
{application, morse_server, [
222
{description, "An OTP library"},
323
{vsn, "0.1.0"},

demos/supervised_discs/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2023 Paul Guyot <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `supervised_discs` Application
28

39
Welcome to the `supervised_discs` AtomVM application.

demos/supervised_discs/rebar.config

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
%
2+
% Copyright 2023 Paul Guyot <[email protected]>
3+
%
4+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
%
6+
17
{erl_opts, [debug_info]}.
28
{deps, [
39
{atomvm_lib, {git, "https://github.com/atomvm/atomvm_lib.git", {branch, "master"}}}

demos/supervised_discs/rebar.lock

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
%
2+
% Copyright 2023 Paul Guyot <[email protected]>
3+
%
4+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
%
6+
17
[{<<"atomvm_lib">>,
28
{git,"https://github.com/atomvm/atomvm_lib.git",
39
{ref,"34e056e3de94555d0a51d0a30234cd95ff7920d7"}},

demos/supervised_discs/src/supervised_discs.app.src

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
%
2+
% This file is part of AtomVM.
3+
%
4+
% Copyright 2023 Paul Guyot <[email protected]>
5+
%
6+
% Licensed under the Apache License, Version 2.0 (the "License");
7+
% you may not use this file except in compliance with the License.
8+
% You may obtain a copy of the License at
9+
%
10+
% http://www.apache.org/licenses/LICENSE-2.0
11+
%
12+
% Unless required by applicable law or agreed to in writing, software
13+
% distributed under the License is distributed on an "AS IS" BASIS,
14+
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
% See the License for the specific language governing permissions and
16+
% limitations under the License.
17+
%
18+
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
%
20+
121
{application, supervised_discs, [
222
{description, "Supervised discs"},
323
{vsn, "0.1.0"},

elixir/Blinky/.formatter.exs

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#
2+
# This file is part of AtomVM.
3+
#
4+
# Copyright 2018 Davide Bettio <[email protected]>
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
#
20+
121
# Used by "mix format"
222
[
323
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]

elixir/Blinky/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2018 Davide Bettio <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `Blinky` Application
28

39
Welcome to the `Blinky` AtomVM application.

elixir/Blinky/mix.exs

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#
2+
# This file is part of AtomVM.
3+
#
4+
# Copyright 2018 Davide Bettio <[email protected]>
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
#
20+
121
defmodule Blinky.MixProject do
222
use Mix.Project
323

elixir/HelloWorld/.formatter.exs

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#
2+
# This file is part of AtomVM.
3+
#
4+
# Copyright 2018 Davide Bettio <[email protected]>
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
#
20+
121
# Used by "mix format"
222
[
323
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]

elixir/HelloWorld/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 Fred Dushin <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
_build/*
26
_checkouts/*
37
src/config.erl

elixir/HelloWorld/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2018 Davide Bettio <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `HelloWorld` Application
28

39
Welcome to the `HelloWorld` AtomVM application.

elixir/HelloWorld/mix.exs

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#
2+
# This file is part of AtomVM.
3+
#
4+
# Copyright 2018 Davide Bettio <[email protected]>
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
#
20+
121
defmodule HelloWorld.MixProject do
222
use Mix.Project
323

elixir/LEDC_Example/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 Winford (Uncle Grumpy) <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
# The directory Mix will write compiled artifacts to.
26
/_build/
37

elixir/LEDC_Example/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2022 Winford (Uncle Grumpy) <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `LEDC_Example` Application
28

39
Welcome to the `LEDC_Example` AtomVM application.

elixir/LEDC_Example/lib/LEDC_Example.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# This file is part of AtomVM.
33
#
4-
# Copyright 2022 Winford (Uncle Grumpy) <[email protected]>
4+
# Copyright 2022 Winford (Uncle Grumpy) <[email protected]>
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.

elixir/LEDC_Example/mix.exs

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#
2+
# This file is part of AtomVM.
3+
#
4+
# Copyright 2022 Winford (Uncle Grumpy) <[email protected]>
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
19+
#
20+
121
defmodule LedcExample.MixProject do
222
use Mix.Project
323

elixir/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!---
2+
Copyright 2018-2024 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
16

27
# AtomVM Elixir Example Programs
38

erlang/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!---
2+
Copyright 2018-2024 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
16

27
# AtomVM Erlang Example Programs
38

erlang/arepl_example/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 Fred Dushin <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
_build/*
26
_checkouts/*
37
src/config.erl

erlang/arepl_example/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2023 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `arepl_example` Application
28

39
Welcome to the `arepl_example` AtomVM application.

erlang/blinky/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 Fred Dushin <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
_build/*
26
_checkouts/*
37
src/config.erl

erlang/blinky/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2023 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `blinky` Application
28

39
Welcome to the `blinky` AtomVM application.

erlang/deep_sleep/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2023 Fred Dushin <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
4+
15
_build/*
26
_checkouts/*
37
src/config.erl

erlang/deep_sleep/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!---
2+
Copyright 2023 Fred Dushin <[email protected]>
3+
4+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
5+
-->
6+
17
# `deep_sleep` Application
28

39
Welcome to the `deep_sleep` AtomVM application.

0 commit comments

Comments
 (0)