Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit b050a04

Browse files
committed
Relicense theCore sources under MPL license
The project comes under the LGPL3.0+. It could be worthwhile to re-license under MPLv2, since it has the SLE (Static Linking Exception) baked in and is a standard license. It is largely motivated by the embedded industry itself where static linkage is a common practice.
1 parent 7f5f3ae commit b050a04

File tree

323 files changed

+1684
-862
lines changed

Some content is hidden

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

323 files changed

+1684
-862
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
15
# ASM is crucial
26
enable_language(ASM-ATT)
37
# Subproject may use tests

COPYING

Lines changed: 373 additions & 674 deletions
Large diffs are not rendered by default.

COPYING.LESSER

Lines changed: 0 additions & 165 deletions
This file was deleted.

arch/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
15
# `arm_cm*` not an architectures, but ARM cores.
26
# Still, it is better to threat them as `architectures` of some kind since
37
# the `core` term is something that peculiar to ARM and collides with

arch/arm_cm/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
15
# ARM Cortex-M architecture
26
add_library(arch STATIC startup_arm_cm.S arch.cpp)
37

arch/arm_cm/arch.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
#include <stdint.h>
26

37
extern "C" void __attribute__((naked)) arch_delay(uint32_t loop_count)

arch/arm_cm/execution.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
#include "arch/execution.hpp"
26

37
namespace ecl

arch/arm_cm/export/arch/execution.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
15
//! \file
26
//! \brief Various routines for CM* architectures, altering execution flow.
37

build_api.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
15
if(__build_api_def)
26
return()
37
endif()

dev/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
15
add_subdirectory(pcd8544)
26
add_subdirectory(sdspi)
37
add_subdirectory(bus)

0 commit comments

Comments
 (0)