From 0072ed418b8af74f21a2ce6923095c9c6be61632 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 16 Jun 2019 17:11:20 +0200 Subject: [PATCH] Initialize CMakeProject for Kousaten --- sw/kousaten/.gitignore | 5 +++++ sw/kousaten/CMakeLists.txt | 8 ++++++++ sw/kousaten/README.MD | 2 ++ sw/kousaten/src/main.c | 7 +++++++ 4 files changed, 22 insertions(+) create mode 100644 sw/kousaten/.gitignore create mode 100644 sw/kousaten/CMakeLists.txt create mode 100644 sw/kousaten/README.MD create mode 100644 sw/kousaten/src/main.c diff --git a/sw/kousaten/.gitignore b/sw/kousaten/.gitignore new file mode 100644 index 0000000..528e0f5 --- /dev/null +++ b/sw/kousaten/.gitignore @@ -0,0 +1,5 @@ +*.user +*~ +Makefile +*.autosave +build-* diff --git a/sw/kousaten/CMakeLists.txt b/sw/kousaten/CMakeLists.txt new file mode 100644 index 0000000..25811e5 --- /dev/null +++ b/sw/kousaten/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 2.8) + +project(kousaten) +#set(CMAKE_BUILD_TYPE Release) +set(CMAKE_C_FLAGS "-Wall") + +aux_source_directory(./src SRC_LIST) +add_executable(${PROJECT_NAME} ${SRC_LIST}) diff --git a/sw/kousaten/README.MD b/sw/kousaten/README.MD new file mode 100644 index 0000000..b9af80a --- /dev/null +++ b/sw/kousaten/README.MD @@ -0,0 +1,2 @@ +# TTL-FPGA Compiler *Kousaten* +Tool to generate bitstreams for the TTL-FPGA after manual synthesis and PNR. diff --git a/sw/kousaten/src/main.c b/sw/kousaten/src/main.c new file mode 100644 index 0000000..754935c --- /dev/null +++ b/sw/kousaten/src/main.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + printf("Hello World!\n"); + return 0; +}