Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyterKit 0.4.0 #154

Merged
merged 15 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

# Specify the minimum required version of CMake
cmake_minimum_required(VERSION 3.10)
Expand Down Expand Up @@ -94,10 +94,11 @@ else ()
endif ()

# Define the project name and languages used
project(SyterKit VERSION 0.3.0 LANGUAGES C CXX ASM)
project(SyterKit VERSION 0.4.0 LANGUAGES C CXX ASM)

# Include other CMake modules
include(cmake/add_syterkit_app.cmake)
include(cmake/add_syterkit_driver.cmake)

# Get the name of the compiler
string(SUBSTRING ${CMAKE_C_COMPILER} 1 -1 COMPILER_NAME)
Expand Down Expand Up @@ -234,6 +235,7 @@ include_directories(
include/drivers/reg
include/drivers/usb
include/drivers/mtd
include/drivers/intc
include/lib/fatfs
include/lib/fdt
include/lib/elf
Expand Down
File renamed without changes.
674 changes: 0 additions & 674 deletions LICENSE.GPL3.0

This file was deleted.

2 changes: 2 additions & 0 deletions board/100ask-d1-h/board.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/eabi_compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

void abort(void) {
while (1)
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-d1-h/head.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/hello_world/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(helloworld
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/hello_world/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/init_dram/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(init_dram
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/init_dram/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/load_hifi4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(load_hifi4
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/load_hifi4/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <linkage.h>
#include <csr.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/syter_boot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(syter_boot
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-d1-h/syter_boot/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-ros/board.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/eabi_compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

void abort(void) {
while (1)
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/extlinux_boot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(extlinux_boot
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/extlinux_boot/fdt.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#ifdef SYTERKIT_CLI_CMD_FDT
msh_declare_command(fdt);
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/extlinux_boot/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-ros/head.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/hello_world/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(helloworld
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/hello_world/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/init_dram/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(init_dram
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/init_dram/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/smhc_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(smhc_test
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/smhc_test/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <linkage.h>

Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/syter_boot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(syter_boot
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-ros/syter_boot/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-t113i/board.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/eabi_compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

void abort(void) {
while (1)
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-t113i/head.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/hello_world/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(helloworld
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/hello_world/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/load_c906/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(load_c906
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/load_c906/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/load_hifi4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(load_hifi4
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/load_hifi4/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/os_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(os_test
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/os_test/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <linkage.h>

Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/sys_info/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(sys_info
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/sys_info/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/syter_boot/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(syter_boot
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113i/syter_boot/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-t113s3/board.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/eabi_compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

void abort(void) {
while (1)
Expand Down
2 changes: 2 additions & 0 deletions board/100ask-t113s3/head.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/hello_world/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(helloworld
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/hello_world/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/load_hifi4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(load_hifi4
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/load_hifi4/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/start.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <linkage.h>

Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/syter_boot_rtt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(syter_boot_rtt
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/syter_boot_rtt/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/usb_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: GPL-2.0+

add_syterkit_app(usb_test
main.c
Expand Down
2 changes: 1 addition & 1 deletion board/100ask-t113s3/usb_test/main.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
Expand Down
4 changes: 4 additions & 0 deletions board/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ endif()

if(CONFIG_BOARD_AVAOTA-CAM)
add_subdirectory(avaota-cam)
endif()

if(CONFIG_BOARD_AVAOTA-NAS)
add_subdirectory(avaota-nas)
endif()
6 changes: 4 additions & 2 deletions board/avaota-a1/board.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Expand Down Expand Up @@ -140,7 +142,7 @@ sunxi_sdhci_t sdhci2 = {
.id = MMC_CONTROLLER_2,
.reg_base = SUNXI_SMHC2_BASE,
.sdhci_mmc_type = MMC_TYPE_EMMC,
.max_clk = 25000000,
.max_clk = 5200000,
.width = SMHC_WIDTH_8BIT,
.dma_des_addr = SDRAM_BASE + 0x30080000,
.pinctrl = {
Expand Down Expand Up @@ -168,7 +170,7 @@ sunxi_sdhci_t sdhci2 = {
.reg_factor_n_offset = SDHCI_DEFAULT_CLK_FACTOR_N_OFFSET,
.reg_factor_m_offset = SDHCI_DEFAULT_CLK_FACTOR_M_OFFSET,
.clk_sel = 0x1,
.parent_clk = 600000000,
.parent_clk = 800000000,
},
};

Expand Down
2 changes: 1 addition & 1 deletion board/avaota-a1/eabi_compat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* SPDX-License-Identifier: GPL-2.0+ */

void abort(void) {
while (1)
Expand Down
Loading
Loading