Skip to content

Commit

Permalink
Use xPack toolchain to build test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinYikMing committed Oct 9, 2024
1 parent a0262df commit 7daa045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/system/alignment/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PREFIX ?= riscv32-unknown-elf-
PREFIX ?= riscv-none-elf-
ARCH = -march=rv32izicsr
LINKER_SCRIPT = linker.ld

DEBUG_CFLAGS = -g
CFLAGS = -c
CFLAGS = -c -march=rv32i_zicsr
LDFLAGS = -T
EXEC = misalign.elf

Expand Down
6 changes: 3 additions & 3 deletions tests/system/alignment/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

#define TEST_OUTPUT(msg, length) printstr(msg, length)

#define TEST_LOGGER(msg) \
{ \
char _msg[] = msg; \
#define TEST_LOGGER(msg) \
{ \
char _msg[] = msg; \
TEST_OUTPUT(_msg, sizeof(_msg) - 1); \
}

Expand Down

0 comments on commit 7daa045

Please sign in to comment.