Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 75bc510

Browse files
committed
✨ feat: use gpl3
1 parent 68f8037 commit 75bc510

File tree

22 files changed

+291
-277
lines changed

22 files changed

+291
-277
lines changed

LICENSE

Lines changed: 219 additions & 201 deletions
Large diffs are not rendered by default.

packages/a/arm-none-eabi/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,

packages/c/csp_hal_apm32f1/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,

tools/scripts/flags.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file flags.lua

tools/scripts/modules.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
-- Licensed under the Apache License, Version 2.0 (the "License");
1+
--
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
23
-- You may not use this file except in compliance with the License.
34
-- You may obtain a copy of the License at
45
--
5-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
67
--
78
-- Unless required by applicable law or agreed to in writing, software
89
-- distributed under the License is distributed on an "AS IS" BASIS,

tools/scripts/options.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file options.lua

tools/scripts/rules.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file rules.lua

tools/scripts/rules/csp.bin.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
17-
-- @file csp_bin.lua
17+
-- @file csp.bin.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes

tools/scripts/rules/csp.cpu.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
17-
-- @file csp_bin.lua
17+
-- @file csp.bin.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes

tools/scripts/rules/csp.map.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
17-
-- @file csp_map.lua
17+
-- @file csp.map.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes

tools/scripts/tasks.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file tasks.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-02-22 xqyjlj add sdk
23-
-- 2023-02-21 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2423
--
2524
for _, file in ipairs(os.files(path.join(os.scriptdir(), "tasks", "*", "xmake.lua"))) do
2625
includes(file)

tools/scripts/tasks/csp-config/main.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file main.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-10-15 xqyjlj copy from RT-Thread
23-
-- 2023-10-16 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2423
--
2524
-- imports
2625
import("core.base.option")

tools/scripts/tasks/csp-config/xmake.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file xmake.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-10-19 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2323
--
2424

2525
function _project_menu_options()

tools/scripts/tasks/csp-file2c/main.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file main.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-11-05 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2323
--
2424
-- imports
2525
import("core.base.option")

tools/scripts/tasks/csp-file2c/xmake.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file xmake.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-11-05 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2323
--
2424

2525
task("csp-file2c")

tools/scripts/tasks/csp-project/cmake/cmakelists.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2015-2022 Xmake Development Team
15-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1615
--
1716
-- @author xqyjlj
1817
-- @file cmakelists.lua
1918
--
2019
-- Change Logs:
2120
-- Date Author Notes
2221
-- ------------ ---------- -----------------------------------------------
23-
-- 2023-10-16 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
23+
--
2424
--
2525
import("core.project.project")
2626
import("core.project.config")

tools/scripts/tasks/csp-project/main.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
--
2-
-- Licensed under the Apache License, Version 2.0 (the "License");
2+
-- Licensed under the GNU General Public License v. 3 (the "License");
33
-- You may not use this file except in compliance with the License.
44
-- You may obtain a copy of the License at
55
--
6-
-- http://www.apache.org/licenses/LICENSE-2.0
6+
-- https://www.gnu.org/licenses/gpl-3.0.html
77
--
88
-- Unless required by applicable law or agreed to in writing, software
99
-- distributed under the License is distributed on an "AS IS" BASIS,
1010
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
-- See the License for the specific language governing permissions and
1212
-- limitations under the License.
1313
--
14-
-- Copyright (C) 2022-2023 xqyjlj<xqyjlj@126.com>
14+
-- Copyright (C) 2023-2023 xqyjlj<xqyjlj@126.com>
1515
--
1616
-- @author xqyjlj
1717
-- @file main.lua
1818
--
1919
-- Change Logs:
2020
-- Date Author Notes
2121
-- ------------ ---------- -----------------------------------------------
22-
-- 2023-10-15 xqyjlj copy from RT-Thread
23-
-- 2023-10-16 xqyjlj initial version
22+
-- 2023-12-17 xqyjlj initial version
2423
--
2524
-- imports
2625
import("core.base.option")

0 commit comments

Comments
 (0)