Skip to content
Open
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
27 changes: 27 additions & 0 deletions config/arm/boards/ek-lm3s6965/board.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Board configuration for Stellaris LM3S6965 Evaluation Kit

# Copyright (C) 2018-2019 Technical University - Sofia

# Contributor Lubomir Bogdanov <lbogdanov@tu-sofia.bg>

# This file is part of BEEBS

# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.

# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.

# This file should be suitable for sourcing by configure

# Default to the tm4c123g chip
if test $chip == none; then
chip=lm3s6965
fi
35 changes: 35 additions & 0 deletions config/arm/boards/ek-lm3s6965/boardsupport.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* Copyright (C) 2019 Technical University - Sofia

Contributor Lubomir Bogdanov <lbogdanov@tu-sofia.bg>

This file is part of the Bristol/Embecosm Embedded Benchmark Suite.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include <support.h>

void initialise_board()
{
PIN_INIT(6);
}

void start_trigger()
{
PIN_SET(6);
}

void stop_trigger()
{
PIN_CLEAR(6);
}
85 changes: 85 additions & 0 deletions config/arm/boards/ek-lm3s6965/calibration
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
2dfir 4
adpcm 9
aha-compress 4
aha-mont64 4
blowfish 11
bubblesort 7
cnt 3
compress 2
cover 1
crc 1
crc32 5
ctl-stack 4
ctl-string 4
ctl-vector 4
cubic 9
dhrystone 12
dijkstra 10
dtoa 3
duff 0
edn 7
expint 2
fac 0
fasta 12
fdct 2
fft 6
fir 8
frac 7
huffbench 12
insertsort 0
jfdctint 3
levenshtein 6
lms 11
ludcmp 4
matmult-int 8
matmult-float 7
mergesort 9
miniz 12
minver 3
nbody 12
ndes 6
nettle-arcfour 5
nettle-cast128 1
nettle-des 2
nettle-md5 0
newlib-exp 3
newlib-log 2
newlib-sqrt 2
ns 4
nsichneu 3
picojpeg 10
prime 5
qrduino 10
qsort 1
qurt 4
recursion 1
rijndael 10
select 2
sglib-arraybinsearch 4
sglib-arrayheapsort 5
sglib-arrayquicksort 5
sglib-dllist 5
sglib-hashtable 5
sglib-listinsertsort 6
sglib-listsort 5
sglib-queue 6
sglib-rbtree 6
slre 5
stringsearch1 2
strstr 0
sqrt 11
st 9
statemate 0
stb_perlin 9
trio-snprintf 4
trio-sscanf 4
ud 3
wikisort 12
whetstone 11
bs 0
fibcall 0
janne_complex 0
lcdnum 0
newlib-mod 0
sha 12
tarai 0
27 changes: 27 additions & 0 deletions config/arm/boards/stm32f769i-disco/board.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Board configuration for STM32F769I-DISCO development board

# Copyright (C) 2018-2019 Technical University - Sofia

# Contributor Lubomir Bogdanov <lbogdanov@tu-sofia.bg>

# This file is part of BEEBS

# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.

# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.

# This file should be suitable for sourcing by configure

# Default to the stm32f769 chip
if test $chip == none; then
chip=stm32f769
fi
35 changes: 35 additions & 0 deletions config/arm/boards/stm32f769i-disco/boardsupport.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* Copyright (C) 2019 Technical University - Sofia

Contributor Lubomir Bogdanov <lbogdanov@tu-sofia.bg>

This file is part of the Bristol/Embecosm Embedded Benchmark Suite.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

#include <support.h>

void initialise_board()
{
PIN_INIT(4);
}

void start_trigger()
{
PIN_SET(4);
}

void stop_trigger()
{
PIN_CLEAR(4);
}
85 changes: 85 additions & 0 deletions config/arm/boards/stm32f769i-disco/calibration
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
2dfir 1
adpcm 1
aha-compress 1
aha-mont64 1
blowfish 1
bubblesort 1
cnt 1
compress 1
cover 1
crc 1
crc32 1
ctl-stack 1
ctl-string 1
ctl-vector 1
cubic 1
dhrystone 1
dijkstra 1
dtoa 1
duff 1
edn 1
expint 1
fac 1
fasta 1
fdct 1
fft 1
fir 1
frac 1
huffbench 1
insertsort 1
jfdctint 1
levenshtein 1
lms 1
ludcmp 1
matmult-int 1
matmult-float 1
mergesort 1
miniz 1
minver 1
nbody 1
ndes 1
nettle-arcfour 1
nettle-cast128 1
nettle-des 1
nettle-md5 1
newlib-exp 1
newlib-log 1
newlib-sqrt 1
ns 1
nsichneu 1
picojpeg 1
prime 1
qrduino 1
qsort 1
qurt 1
recursion 1
rijndael 1
select 1
sglib-arraybinsearch 1
sglib-arrayheapsort 1
sglib-arrayquicksort 1
sglib-dllist 1
sglib-hashtable 1
sglib-listinsertsort 1
sglib-listsort 1
sglib-queue 1
sglib-rbtree 1
slre 1
stringsearch1 1
strstr 1
sqrt 1
st 1
statemate 1
stb_perlin 1
trio-snprintf 1
trio-sscanf 1
ud 1
wikisort 1
whetstone 1
bs 1
fibcall 1
janne_complex 1
lcdnum 1
newlib-mod 1
sha 1
tarai 1
29 changes: 29 additions & 0 deletions config/arm/chips/lm3s6965/chip.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Chip configuration for ARM LM3S6965.

# Copyright (C) 2018-2019 Technical University - Sofia

# Contributor Lubomir Bogdanov <lbogdanov@tu-sofia.bg>

# This file is part of BEEBS

# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.

# You should have received a copy of the GNU General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.

# SPDX-License-Identifier: GPL-3.0-or-later

# This file should be suitable for sourcing by configure

chipdir=`readlink -m $srcdir/config/$arch/chips/$chip/`

export CHIP_CFLAGS="--static -mcpu=cortex-m3 -O0 -g -gdwarf-3 -gstrict-dwarf"
export CHIP_LDFLAGS="-T $chipdir/chip.ld -Wl,--start-group -lc -specs=nano.specs -specs=nosys.specs -nostartfiles -Wl,--end-group"
Loading