-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
815ef4a
commit 18be9a6
Showing
7 changed files
with
41 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
cmake_minimum_required(VERSION 3.22) | ||
|
||
if(NOT DEFINED ENV{FP_SDK_PATH}) | ||
message(FATAL_ERROR "FP_SDK_PATH environment variable not set!") | ||
endif() | ||
project(patmos) | ||
|
||
include($ENV{FP_SDK_PATH}/cmake/riscv-toolchain.cmake) | ||
include($ENV{FP_SDK_PATH}/cmake/fp-app.cmake) | ||
|
||
project(fp-lf) | ||
|
||
add_executable(fp-smoke src/main.c) | ||
add_executable(patmos src/main.c) | ||
add_subdirectory(src-gen/Smoke) | ||
target_link_libraries(fp-smoke PUBLIC Smoke) | ||
fp_add_outputs(fp-smoke) | ||
target_link_libraries(patmos PUBLIC Smoke) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "lf_main.h" | ||
|
||
int main() { | ||
lf_start(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
|
||
#undef PLATFORM_POSIX | ||
#define PLATFORM_PATMOS | ||
|
||
#if defined(PLATFORM_POSIX) | ||
#include "platform/posix/posix.c" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters