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
### ----------------------------------------------------------- ### | |
### Local Makefile for building the RISC-V native application. ### | |
### Requires riscv-toolchain, linker script and firmware_words ### | |
### hex conversion program. Creates the 'firmware.hex' output ### | |
### for FPGA upload together with the bitstream. ### | |
### ### | |
### This program needs optimizer flag -O2 to fit into 6K BRAM. ### | |
### ----------------------------------------------------------- ### | |
TOOLCHAINDIR = /usr/cadtools/riscv-gnu-toolchain |