Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vadd vsub #56

Merged
merged 6 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions test_arm-cmsis-dsp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
set -e
{ set +x; } 2>/dev/null

if ! command -v arm-none-eabi-gcc &> /dev/null
if [ -z "$GCC_HOME" ]; then
echo "GCC_HOME is undefined"
exit
fi

CC=$GCC_HOME/bin/arm-none-eabi-gcc

if ! command -v $CC &> /dev/null
then
echo "GCC for ARM is not installed. Please install with: 'sudo apt install gcc-arm-none-eabi'"
echo "GCC for ARM is not installed. Please install from developer.arm.com"
exit
fi

Expand Down
12 changes: 8 additions & 4 deletions test_coremark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
set -e
{ set +x; } 2>/dev/null

# cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply
# cortex-m23 cortex-m3 cortex-m33 cortex-m33+nodsp cortex-m4 cortex-m7
if [ -z "$GCC_HOME" ]; then
echo "GCC_HOME is undefined"
exit
fi

CC=$GCC_HOME/bin/arm-none-eabi-gcc

if ! command -v arm-none-eabi-gcc &> /dev/null
if ! command -v $CC &> /dev/null
then
echo "GCC for ARM is not installed. Please install with: 'sudo apt install gcc-arm-none-eabi'"
echo "GCC for ARM is not installed. Please install from developer.arm.com"
exit
fi

Expand Down
11 changes: 9 additions & 2 deletions test_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
set -e
{ set +x; } 2>/dev/null

if ! command -v arm-none-eabi-gcc &> /dev/null
if [ -z "$GCC_HOME" ]; then
echo "GCC_HOME is undefined"
exit
fi

CC=$GCC_HOME/bin/arm-none-eabi-gcc

if ! command -v $CC &> /dev/null
then
echo "GCC for ARM is not installed. Please install with: 'sudo apt install gcc-arm-none-eabi'"
echo "GCC for ARM is not installed. Please install from developer.arm.com"
exit
fi

Expand Down
6 changes: 6 additions & 0 deletions testall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ echo "building..."
##
./test_coremark.sh

##
## ARM CMSIS DSP
##
# TODO: enable once basic level VFP support is done
# ./test_arm-cmsis-dsp.sh

##
## TODO: Rusty Clock
##
Expand Down
4 changes: 2 additions & 2 deletions tests/cmsis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# RUNNER: path to the runner script

# Compilation tools
CC := arm-none-eabi-gcc
ARMAR := arm-none-eabi-ar
CC := $(GCC_HOME)/bin/arm-none-eabi-gcc
ARMAR := $(GCC_HOME)/bin/arm-none-eabi-ar

# Compilation flags
CFLAGS_LIB := -Wsign-compare \
Expand Down
2 changes: 1 addition & 1 deletion tests/coremark/core_portme.mak
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif
OUTFLAG= -o
# Flag : CC
# Use this flag to define compiler to use
CC = arm-none-eabi-gcc
CC = $(GCC_HOME)/bin/arm-none-eabi-gcc
# Flag : CFLAGS
# Use this flag to define compiler options. Note, you can add compiler options from the command line using XCFLAGS="other flags"
PORT_CFLAGS = -O3 --specs=rdimon.specs -mthumb -g -nostartfiles -T $(PORT_DIR)/link.ld -D__STARTUP_CLEAR_BSS
Expand Down
Loading
Loading