Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
f3dc9aea54 | |||
2f675e9bdd | |||
3114cb265a | |||
fca9f04264 | |||
fe1136c7ce |
@ -664,7 +664,7 @@ ee_vsprintf(char *buf, const char *fmt, va_list args)
|
||||
void
|
||||
uart_send_char(char c)
|
||||
{
|
||||
#if defined(BOARD_ehrenberg)
|
||||
#if defined(BOARD_ehrenberg) || defined(BOARD_tgc_vp)
|
||||
while (get_uart_rx_tx_reg_tx_free(uart)==0) ;
|
||||
uart_write(uart, c);
|
||||
if (c == '\n') {
|
||||
|
@ -9,7 +9,7 @@ HEADERS := dhry.h
|
||||
BOARD?=iss
|
||||
LINK_TARGET=link
|
||||
RISCV_ARCH:=rv32$(ISA)
|
||||
ifeq ($(ISA),e)
|
||||
ifneq (,$(findstring e,$(ISA)))
|
||||
RISCV_ABI:=ilp32e
|
||||
else
|
||||
RISCV_ABI:=ilp32
|
||||
@ -17,7 +17,7 @@ endif
|
||||
# '-lgcc -lm' are needed to add softfloat routines
|
||||
CFLAGS := -g -O3 -DITERATIONS=$(ITERATIONS) -DHZ=32768 -DTIME -DNO_INIT -fno-inline -fno-builtin-printf -fno-common -Wno-implicit \
|
||||
-funroll-loops -fpeel-loops -fgcse-sm -fgcse-las
|
||||
|
||||
LDFLAGS := -Wl,--wrap=scanf
|
||||
TOOL_DIR=$(dir $(compiler))
|
||||
|
||||
BSP_BASE = ../../bare-metal-bsp
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
TARGET = hello
|
||||
ISA?=imc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user