build: Alternative build system based on waf

Update #3818.
This commit is contained in:
Sebastian Huber
2019-07-19 13:09:43 +02:00
parent 9f096f4724
commit f3f0370f10
2071 changed files with 65911 additions and 2 deletions

11
.gitignore vendored
View File

@@ -1,6 +1,13 @@
aclocal.m4 aclocal.m4
autom4te.cache autom4te.cache
configure /build
config.h.in config.h.in
Makefile.in configure
doc doc
.lock*
Makefile.in
*.pyc
/testsuites/build/bin/fake-rtems5-g++
/testsuites/build/build
/testsuites/build/wscript
.waf*

View File

@@ -0,0 +1,27 @@
MEMORY {
SDRAM : ORIGIN = 0x20100000, LENGTH = 63M - 16k
SDRAM_MMU : ORIGIN = 0x23ffc000, LENGTH = 16k
SRAM : ORIGIN = 0x00200000, LENGTH = 16k
}
REGION_ALIAS ("REGION_START", SDRAM);
REGION_ALIAS ("REGION_VECTOR", SRAM);
REGION_ALIAS ("REGION_TEXT", SDRAM);
REGION_ALIAS ("REGION_TEXT_LOAD", SDRAM);
REGION_ALIAS ("REGION_RODATA", SDRAM);
REGION_ALIAS ("REGION_RODATA_LOAD", SDRAM);
REGION_ALIAS ("REGION_DATA", SDRAM);
REGION_ALIAS ("REGION_DATA_LOAD", SDRAM);
REGION_ALIAS ("REGION_FAST_TEXT", SDRAM);
REGION_ALIAS ("REGION_FAST_TEXT_LOAD", SDRAM);
REGION_ALIAS ("REGION_FAST_DATA", SDRAM);
REGION_ALIAS ("REGION_FAST_DATA_LOAD", SDRAM);
REGION_ALIAS ("REGION_BSS", SDRAM);
REGION_ALIAS ("REGION_WORK", SDRAM);
REGION_ALIAS ("REGION_STACK", SDRAM);
REGION_ALIAS ("REGION_NOCACHE", SDRAM);
REGION_ALIAS ("REGION_NOCACHE_LOAD", SDRAM);
_ttbl_base = ORIGIN (SDRAM_MMU);
INCLUDE linkcmds.armv4

238
gccdeps.py Normal file
View File

@@ -0,0 +1,238 @@
#!/usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2008-2010 (ita)
"""
Execute the tasks with gcc -MD, read the dependencies from the .d file
and prepare the dependency calculation for the next run.
This affects the cxx class, so make sure to load Qt5 after this tool.
Usage::
def options(opt):
opt.load('compiler_cxx')
def configure(conf):
conf.load('compiler_cxx gccdeps')
"""
import os, re, threading
from waflib import Task, Logs, Utils, Errors
from waflib.Tools import c_preproc
from waflib.TaskGen import before_method, feature
lock = threading.Lock()
gccdeps_flags = ['-MD']
if not c_preproc.go_absolute:
gccdeps_flags = ['-MMD']
# Third-party tools are allowed to add extra names in here with append()
supported_compilers = ['gas', 'gcc', 'icc', 'clang']
def scan(self):
if not self.__class__.__name__ in self.env.ENABLE_GCCDEPS:
return super(self.derived_gccdeps, self).scan()
nodes = self.generator.bld.node_deps.get(self.uid(), [])
names = []
return (nodes, names)
re_o = re.compile(r"\.o$")
re_splitter = re.compile(r'(?<!\\)\s+') # split by space, except when spaces are escaped
def remove_makefile_rule_lhs(line):
# Splitting on a plain colon would accidentally match inside a
# Windows absolute-path filename, so we must search for a colon
# followed by whitespace to find the divider between LHS and RHS
# of the Makefile rule.
rulesep = ': '
sep_idx = line.find(rulesep)
if sep_idx >= 0:
return line[sep_idx + 2:]
else:
return line
def path_to_node(base_node, path, cached_nodes):
# Take the base node and the path and return a node
# Results are cached because searching the node tree is expensive
# The following code is executed by threads, it is not safe, so a lock is needed...
if getattr(path, '__hash__'):
node_lookup_key = (base_node, path)
else:
# Not hashable, assume it is a list and join into a string
node_lookup_key = (base_node, os.path.sep.join(path))
try:
lock.acquire()
node = cached_nodes[node_lookup_key]
except KeyError:
node = base_node.find_resource(path)
cached_nodes[node_lookup_key] = node
finally:
lock.release()
return node
def post_run(self):
if not self.__class__.__name__ in self.env.ENABLE_GCCDEPS:
return super(self.derived_gccdeps, self).post_run()
name = self.outputs[0].abspath()
name = re_o.sub('.d', name)
try:
txt = Utils.readf(name)
except EnvironmentError:
Logs.error('Could not find a .d dependency file, are cflags/cxxflags overwritten?')
raise
#os.remove(name)
# Compilers have the choice to either output the file's dependencies
# as one large Makefile rule:
#
# /path/to/file.o: /path/to/dep1.h \
# /path/to/dep2.h \
# /path/to/dep3.h \
# ...
#
# or as many individual rules:
#
# /path/to/file.o: /path/to/dep1.h
# /path/to/file.o: /path/to/dep2.h
# /path/to/file.o: /path/to/dep3.h
# ...
#
# So the first step is to sanitize the input by stripping out the left-
# hand side of all these lines. After that, whatever remains are the
# implicit dependencies of task.outputs[0]
txt = '\n'.join([remove_makefile_rule_lhs(line) for line in txt.splitlines()])
# Now join all the lines together
txt = txt.replace('\\\n', '')
val = txt.strip()
val = [x.replace('\\ ', ' ') for x in re_splitter.split(val) if x]
nodes = []
bld = self.generator.bld
# Dynamically bind to the cache
try:
cached_nodes = bld.cached_nodes
except AttributeError:
cached_nodes = bld.cached_nodes = {}
for x in val:
node = None
if os.path.isabs(x):
node = path_to_node(bld.root, x, cached_nodes)
else:
# TODO waf 1.9 - single cwd value
path = getattr(bld, 'cwdx', bld.bldnode)
# when calling find_resource, make sure the path does not contain '..'
x = [k for k in Utils.split_path(x) if k and k != '.']
while '..' in x:
idx = x.index('..')
if idx == 0:
x = x[1:]
path = path.parent
else:
del x[idx]
del x[idx-1]
node = path_to_node(path, x, cached_nodes)
if not node:
raise ValueError('could not find %r for %r' % (x, self))
if id(node) == id(self.inputs[0]):
# ignore the source file, it is already in the dependencies
# this way, successful config tests may be retrieved from the cache
continue
nodes.append(node)
Logs.debug('deps: gccdeps for %s returned %s', self, nodes)
bld.node_deps[self.uid()] = nodes
bld.raw_deps[self.uid()] = []
try:
del self.cache_sig
except AttributeError:
pass
Task.Task.post_run(self)
def sig_implicit_deps(self):
if not self.__class__.__name__ in self.env.ENABLE_GCCDEPS:
return super(self.derived_gccdeps, self).sig_implicit_deps()
bld = self.generator.bld
try:
return self.compute_sig_implicit_deps()
except Errors.TaskNotReady:
raise ValueError("Please specify the build order precisely with gccdeps (asm/c/c++ tasks)")
except EnvironmentError:
# If a file is renamed, assume the dependencies are stale and must be recalculated
for x in bld.node_deps.get(self.uid(), []):
if not x.is_bld() and not x.exists():
try:
del x.parent.children[x.name]
except KeyError:
pass
key = self.uid()
bld.node_deps[key] = []
bld.raw_deps[key] = []
return Utils.SIG_NIL
def wrap_compiled_task(classname):
derived_class = type(classname, (Task.classes[classname],), {})
derived_class.derived_gccdeps = derived_class
derived_class.post_run = post_run
derived_class.scan = scan
derived_class.sig_implicit_deps = sig_implicit_deps
for k in ('asm', 'c', 'cxx'):
if k in Task.classes:
wrap_compiled_task(k)
@before_method('process_source')
@feature('force_gccdeps')
def force_gccdeps(self):
self.env.ENABLE_GCCDEPS = ['asm', 'c', 'cxx']
def configure(conf):
# in case someone provides a --enable-gccdeps command-line option
if not getattr(conf.options, 'enable_gccdeps', True):
return
global gccdeps_flags
flags = conf.env.GCCDEPS_FLAGS or gccdeps_flags
if conf.env.ASM_NAME in supported_compilers:
try:
conf.check(fragment='', features='asm force_gccdeps', asflags=flags, compile_filename='test.S', msg='Checking for asm flags %r' % ''.join(flags))
except Errors.ConfigurationError:
pass
else:
conf.env.append_value('ASFLAGS', flags)
conf.env.append_unique('ENABLE_GCCDEPS', 'asm')
if conf.env.CC_NAME in supported_compilers:
try:
conf.check(fragment='int main() { return 0; }', features='c force_gccdeps', cflags=flags, msg='Checking for c flags %r' % ''.join(flags))
except Errors.ConfigurationError:
pass
else:
conf.env.append_value('CFLAGS', flags)
conf.env.append_unique('ENABLE_GCCDEPS', 'c')
if conf.env.CXX_NAME in supported_compilers:
try:
conf.check(fragment='int main() { return 0; }', features='cxx force_gccdeps', cxxflags=flags, msg='Checking for cxx flags %r' % ''.join(flags))
except Errors.ConfigurationError:
pass
else:
conf.env.append_value('CXXFLAGS', flags)
conf.env.append_unique('ENABLE_GCCDEPS', 'cxx')
def options(opt):
raise ValueError('Do not load gccdeps options')

45
long_gcc.py Normal file
View File

@@ -0,0 +1,45 @@
#! /usr/bin/env python
# encoding: utf-8
"""
def build(bld):
bld.load('long_gcc')
"""
import os, tempfile
from waflib import Task
def exec_command(self, cmd, **kw):
# workaround for command line length limit:
# http://support.microsoft.com/kb/830473
tmp = None
try:
if not isinstance(cmd, str) and len(str(cmd)) > 8192:
(fd, tmp) = tempfile.mkstemp(dir=self.generator.bld.bldnode.abspath())
flat = ['"%s"' % x.replace('\\', '\\\\').replace('"', '\\"') for x in cmd[1:]]
try:
os.write(fd, ' '.join(flat).encode())
finally:
if tmp:
os.close(fd)
# Line may be very long:
# Logs.debug('runner:' + ' '.join(flat))
cmd = [cmd[0], '@' + tmp]
ret = super(self.__class__, self).exec_command(cmd, **kw)
finally:
if tmp:
os.remove(tmp)
return ret
def wrap_class(class_name):
cls = Task.classes.get(class_name)
if not cls:
return None
derived_class = type(class_name, (cls,), {})
derived_class.exec_command = exec_command
if hasattr(cls, 'hcode'):
derived_class.hcode = cls.hcode
return derived_class
for k in 'c cxx cprogram cxxprogram cshlib cxxshlib cstlib cxxstlib'.split():
wrap_class(k)

465
make/README Normal file
View File

@@ -0,0 +1,465 @@
make/README
This file describes the layout and conventions of the application
makefile support for RTEMS applications. Internally, RTEMS uses
GNU-style autoconf/automake Makefiles as much as possible to
ease integration with other GNU tools.
All of these "make" trees are substantially similar; however this
file documents the current state of the RTEMS Application Makefile
support.
This make tree is based on a build system originally developed
to simplify porting projects between various OS's. The primary
goals were:
. simple *and* customizable individual makefiles
. use widely available GNU make. There is no pre-processing or
automatic generation of Makefiles.
. Same makefiles work on *many* host OS's due to portability
of GNU make and the host OS config files.
. Support for different compilers and operating systems
on a per-user basis. Using the same sources (including
Makefiles) one developer can develop and test under SVR4,
another under 4.x, another under HPUX.
. Builtin support for compiling "variants" such as debug
versions. These variants can be built
recursively.
. Control of system dependencies. "hidden" dependencies on
environment variables (such as PATH)
have been removed whenever possible. No matter what your
PATH variable is set to, you should get the same thing
when you 'make' as everyone else on the project.
This Makefile system has evolved into its present form and as it
exists in RTEMS today, its sole goal is to build RTEMS applications.
The use of these Makefiles hides the complexity of producing
executables for a wide variety of embedded CPU families and target
BSPs. Switching between RTEMS BSPs is accomplished via setting
the environment variable "RTEMS_MAKEFILE_PATH."
This description attempts to cover all aspects of the Makefile tree. Most
of what is described here is maintained automatically by the configuration
files.
The example makefiles in make/Templates should be used as a starting
point for new directories.
There are 2 main types of Makefile:
directory and leaf.
Directory Makefiles
-------------------
A Makefile in a source directory with sub-directories is called a
"directory" Makefile.
Directory Makefile's are simply responsible for acting as "middle-men"
and recursing into their sub-directories and propagating the make.
For example, directory src/bin will contain only a Makefile and
sub-directories. No actual source code will reside in the directory.
The following commands:
$ cd src/bin
$ make all
would descend into all the subdirectories of 'src/bin' and recursively
perform a 'make all'.
A 'make debug' will recurse thru sub-directories as a debug build.
A template directory Makefile which should work in almost all
cases is in make/Templates/Makefile.dir
Leaf Makefiles
--------------
Source directories that contain source code for libraries or
programs use a "leaf" Makefile.
These makefiles contain the rules necessary to build programs
(or libraries).
A template leaf Makefile is in Templates/Makefile.leaf . A template
leaf Makefile for building libraries is in Templates/Makefile.lib .
NOTE: To simplify nested makefile's and source maintenance, we disallow
combining source and directories (that make(1) would be expected to
recurse into) in one source directory. Ie., a directory in the source
tree may contain EITHER source files OR recursive sub directories, but NOT
both. This assumption is generally shared with GNU automake.
Variants (where objects go)
---------------------------
All binary targets are placed in a sub-directory whose name is (for
example):
o-optimize/ -- optimized binaries
o-debug/ -- debug binaries
Using the template Makefiles, this will all happen automatically.
The contents of these directories are specific to a BSP.
Within a Makefile, the ${ARCH} variable is set to o-optimize,
o-debug, etc., as appropriate.
HISTORICAL NOTE: Prior to version 4.5, the name of the sub-directory
in which objects were placed included the BSP name.
Typing 'make' will place objects in o-optimize.
'make debug' will place objects in o-debug.
The debug targets are equivalent to 'all' except that
CFLAGS and/or LDFLAGS are modified as per the compiler config file for
debug and profile support.
The targets debug etc., can be invoked recursively at
the directory make level. So from the top of a tree, one could
install a debug version of everything under that point by:
$ cd src/lib
$ gmake debug
$ gmake install
When building a command that is linked with a generated library, the
appropriate version of the library will be linked in.
For example, the following fragments link the normal, debug, or
version of "libmine.a" as appropriate:
LD_LIBS += $(LIBMINE)
LIBMINE = ../libmine/${ARCH}/libmine.a
${ARCH}/pgm: $(LIBMINE) ${OBJS}
$(make-exe)
If we do 'gmake debug', then the library in
../libmine/o-debug/libmine.a will be linked in. If $(LIBMINE)
might not exist (or might be out of date) at this point, we could add
${LIBMINE}: FORCEIT
cd ../libmine; ${MAKE} ${VARIANT_VA}
The above would generate the following command to build libmine.a:
cd ../libmine; gmake debug
The macro reference ${VARIANT_VA} converts ${ARCH} to the word 'debug'
(in this example) and thus ensures the proper version of the library
is built.
Targets
-------
All Makefile's support the following targets:
all -- make "everything"
install -- install "everything"
The following targets are provided automatically by
the included config files:
clean -- delete all targets
depend -- build a make dependency file
"variant targets" -- special variants, see below
All directory Makefiles automatically propagate all these targets. If
you don't wish to support 'all' or 'install' in your source directory,
you must leave the rules section empty, as the parent directory Makefile
will attempt it on recursive make's.
Configuration
-------------
All the real work described here happens in file(s) included
from your Makefile.
All Makefiles include a customization file which is used to select
compiler and host operating system. The environment variable
RTEMS_MAKEFILE_PATH must point to the directory containing this file; eg:
export RTEMS_MAKEFILE_PATH=/.../pc386/
All leaf Makefile's also include either 'make/leaf.cfg' (or
'make/lib.cfg' for building libraries). These config files provide
default rules and set up the command macros as appropriate.
All directory Makefiles include 'make/directory.cfg'. directory.cfg
provides all the rules for recursing through sub directories.
The Makefile templates already perform these include's.
'make/leaf.cfg' (or directory.cfg) in turn includes:
a file specifying general purpose rules appropriate for
both leaf and directory makefiles.
( make/main.cfg )
personality modules specified by the customization file for:
compiler ( make/compilers/??.cfg )
generic rules file
------------------
[ make/main.cfg ]
included by leaf.cfg or directory.cfg.
This file contains some standard rules and variable assignments
that all Makefiles need.
It also includes the FORCEIT: pseudo target.
OS config file for host machine
-------------------------------
[ make/os/OS-NAME.cfg ]
included by main.cfg
Figures out the target architecture and specifies command names
for the OS tools including RCS/CVS (but NOT for the compiler tools).
Compiler configuration for the target
-------------------------------------
[ compilers/COMPILER-NAME.cfg ]
included by leaf.cfg
Specifies the names of tools for compiling programs.
Names in here should be fully qualified, and NOT depend on $PATH.
Also specifies compiler flags to be used to generate optimized,
debugging versions, as well as rules to compile
assembly language and make makefile dependencies.
Configuration Variables
-----------------------
Variables you have to set in the environment or in your Makefile.
Note: the RTEMS module files set RTEMS_ROOT and RTEMS_CUSTOM
for you.
Makefile Variables
------------------
RTEMS_BSP -- name of your 'bsp' eg: pc386, mvme136
RTEMS_CPU -- CPU architecture e.g.: i386, m68k
RTEMS_CPU_FAMILY -- CPU model e.g.: i486dx, m68020
RTEMS_ROOT -- The root of your source tree.
All other file names are derived from this.
[ eg: % setenv RTEMS_ROOT $HOME/work/RTEMS ]
RTEMS_CUSTOM -- name of your config files in make/custom
Example:
$(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
The value RTEMS_ROOT is used in the custom
files to generate the make(1) variables:
PROJECT_RELEASE
PROJECT_BIN
PROJECT_INCLUDE
PROJECT_TOOLS
etc., which are used within the make config files themselves.
(The files in make/*.cfg try to avoid use of word RTEMS so
they can be more easily shared by other projects)
Preset variables
----------------
Aside from command names set by the OS and compiler config files,
a number of MAKE variables are automatically set and maintained by
the config files.
PROJECT_RELEASE
-- release/install directory
[ $(PROJECT_ROOT) ]
PROJECT_BIN
-- directory for installed binaries
[ $(PROJECT_ROOT)/bin ]
PROJECT_TOOLS
-- directory for build environment commands
[ eg: $(PROJECT_ROOT)/build-tools ]
ARCH -- target sub-directory for object code
[ eg: o-optimize or o-debug ]
VARIANTS -- full list of all possible values for $(ARCH);
used mainly for 'make clean'
[ eg: "o-optimize o-debug" ]
VARIANT_VA -- Variant name.
Normally "", but for 'make debug' it is "debug".
see make/leaf.cfg for more info.
Preset compilation variables
----------------------------
This is a list of some of the compilation variables.
Refer to the compiler config files for the complete list.
CFLAGS_OPTIMIZE_V -- value of optimize flag for compiler
[ eg: -O ]
CFLAGS_DEBUG_V -- value of debug flag for compiler
[ eg: -g ]
CFLAGS_DEBUG
CFLAGS_OPTIMIZE -- current values for each depending
on make variant.
LDFLAGS_STATIC_LIBRARIES_V
-- ld option for static libraries
-Bstatic or -dy (svr4)
LDFLAGS_SHARED_LIBRARIES_V
-- ld option for dynamic libraries
-Bdynamic or -dn (svr4)
Makefile Variables
------------------
The following variables may be set in a typical Makefile.
C_PIECES -- File names of your .c files without '.c' suffix.
[ eg: C_PIECES=main funcs stuff ]
CC_PIECES -- ditto, except for .cc files
S_PIECES -- ditto, except for .S files.
LIB -- target library name in leaf library makefiles.
[ eg: LIB=${ARCH}/libmine.a ]
H_FILES -- your .h files in this directory.
[ eg: H_FILES=stuff.h extra.h ]
DEFINES -- cc -D items. Included in CPPFLAGS.
leaf Makefiles.
[ eg: DEFINES += -DUNIX ]
CPPFLAGS -- -I include directories.
leaf Makefiles.
[ eg: CPPFLAGS += -I../include ]
LD_PATHS -- arguments to -L for ld.
Will be prefixed with '-L' or '-L ' as appropriate
and included in LDFLAGS.
LDFLAGS -- -L arguments to ld; more may be ADDed.
LD_LIBS -- libraries to be linked in.
[ eg: LDLIBS += ../libfoo/${ARCH}/libfoo.a ]
XCFLAGS -- "extra" CFLAGS for special needs. Pre-pended
to CFLAGS.
Not set or used by Makefiles.
Can be set on command line to pass extra flags
to the compiler.
XCPPFLAGS -- ditto for CPPFLAGS
Can be set on command line to pass extra flags
to the preprocessor.
XCCPPFLAGS -- same as XCPPFLAGS for C++.
XCCFLAGS -- same as XCFLAGS for C++.
SUBDIRS -- list of sub directories for make recursion.
directory Makefiles only.
[ eg: SUBDIRS=cpu bsp ]
CLEAN_ADDITIONS
-- list of files or directories that should
be deleted by 'make clean'
[ eg: CLEAN_ADDITIONS += y.tab.c ]
See 'leaf.cfg' for the 'clean:' rule and its
default deletions.
CLOBBER_ADDITIONS
-- list of files or directories that should
be deleted by 'make clobber'
Since 'make clobber' includes 'make clean',
you don't need to duplicate items in both.
Command names
-------------
The following commands should only be called
as make variables:
MAKE,INSTALL,INSTALL_VARIANT,SHELL
ECHO,CAT,CP,MV,LN,MKDIR,CHMOD
SED
CC,CPP,AS,AR,LD,NM,SIZE,RANLIB,MKLIB,
YACC,LEX,LINT,CTAGS,ETAGS
In addition, the following commands specifically support
the installation of libraries, executables, header files,
and other things that need to be installed:
INSTALL_CHANGE - set to host "install" program by default
INSTALL_VARIANT - set to host "install" program by default
Special Directory Makefile Targets
----------------------------------
all_WRAPUP
clean_WRAPUP
install_WRAPUP
clean_WRAPUP
clobber_WRAPUP
depend_WRAPUP
-- Specify additional commands for recursive
(directory level) targets.
This is handy in certain cases where you need
to do bit of work *after* a recursive make.
make/Templates
--------------
This directory contains Makefile and source file templates that
should help in creating or converting makefiles.
Makefile.leaf
Template leaf Makefiles.
Makefile.lib
Template leaf library Makefiles.
Makefile.dir
Template "directory" makefile.

View File

@@ -0,0 +1,189 @@
#
# Shared compiler for all GNU tools configurations
#
##
# CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V are the values we
# would want the corresponding macros to be set to.
#
# CFLAGS_OPTIMIZE, CFLAGS_DEBUG are set in the leaf
# Makefiles by the 'debug:' targets to their _V values.
#
# default flags
# XCPPFLAGS, XCFLAGS, XCXXFLAGS, XASFLAGS
# are used to add flags from the shell
# cf. make.info ("Implicit rules/variables" for details)
# NOTE: Should these go to CPPFLAGS ?
CFLAGS_DEFAULT=-Wall
# NOTE: CPU_CFLAGS should probably be renamed to CPU_CPPFLAGS
# NOTE: CPU_DEFINES should probably be merged with CPU_CFLAGS
CPPFLAGS += $(CPU_DEFINES) $(CPU_CFLAGS) $(DEFINES) $(XCPPFLAGS)
CFLAGS = $(CFLAGS_DEFAULT) $(XCFLAGS)
CXXFLAGS = $(CFLAGS_DEFAULT) $(XCXXFLAGS)
ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS)
# NOTE: GCCSPECS probably belongs to CPPFLAGS
GCCSPECS_OPTIMIZE_V =
GCCSPECS_DEBUG_V =
GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
GCCSPECS += $(GCCSPECS_$(VARIANT_V)_V)
CC += $(GCCSPECS)
CXX += $(GCCSPECS)
CPPFLAGS +=
# Define this to yes if C++ is included in the development environment.
# This requires that at least the GNU C++ compiler and libg++ be installed.
ifeq ($(HAS_CPLUSPLUS),yes)
CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
endif
# debug flag;
CFLAGS_DEBUG_V ?= -O0 -g
CXXFLAGS_DEBUG_V ?= $(CFLAGS_DEBUG_V)
# when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g"
CFLAGS_OPTIMIZE_V ?= -O2 -g
CXXFLAGS_OPTIMIZE_V ?= $(CFLAGS_OPTIMIZE_V)
ifndef AUTOMAKE
CPPFLAGS_$(VARIANT)=$(CPPFLAGS_$(VARIANT)_V)
CFLAGS_$(VARIANT) =$(CFLAGS_$(VARIANT)_V)
CXXFLAGS_$(VARIANT)=$(CXXFLAGS_$(VARIANT)_V)
endif
ifndef AUTOMAKE
CPPFLAGS += $(CPPFLAGS_OPTIMIZE) $(CPPFLAGS_DEBUG)
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG)
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG)
endif
# List of library paths without -L
LD_PATHS= $(PROJECT_RELEASE)/lib
# ld flag for incomplete link
LDFLAGS_INCOMPLETE = -r
# LDFLAGS=$(LDFLAGS_DEBUG) $(LD_PATHS:%=-L%)
LDFLAGS += $(LDFLAGS_DEBUG)
#
# Stuff to clean and clobber for the compiler and its tools
#
CLEAN_CC = a.out *.o *.BAK
CLOBBER_CC =
#
# Client compiler and support tools
#
# CPP command to write file to standard output with warnings suppressed
CPP=$(CC) -E -w
# egrep regexp to ignore symbol table entries in ar archives.
# Only used to make sure we skip them when coalescing libraries.
# skip __.SYMDEF and empty names (maybe bug in ranlib??).
AR_SYMBOL_TABLE="HIGHLY-UNLIKELY-TO-CONFLICT"
ARFLAGS=ruv
#
# How to compile stuff into ${ARCH} subdirectory
#
${ARCH}/%.o: %.c
${COMPILE.c} $(AM_CPPFLAGS) $(AM_CFLAGS) -o $@ $<
${ARCH}/%.o: %.cc
${COMPILE.cc} $(AM_CPPFLAGS) $(AM_CXXFLAGS) -o $@ $<
${ARCH}/%.o: %.cpp
${COMPILE.cc} $(AM_CPPFLAGS) $(AM_CXXFLAGS) -o $@ $<
${ARCH}/%.o: %.cxx
${COMPILE.cc} $(AM_CPPFLAGS) $(AM_CXXFLAGS) -o $@ $<
${ARCH}/%.o: %.C
${COMPILE.cc} $(AM_CPPFLAGS) $(AM_CXXFLAGS) -o $@ $<
${ARCH}/%.o: %.S
${COMPILE.S} $(AM_CPPFLAGS) -DASM -o $@ $<
# Make foo.rel from foo.o
${ARCH}/%.rel: ${ARCH}/%.o
${make-rel}
# create $(ARCH)/pgm from pgm.sh
${ARCH}/%: %.sh
$(RM) $@
$(CP) $< $@
$(CHMOD) +x $@
# Dependency files for use by gmake
# NOTE: we don't put them into $(ARCH)
# so that 'make clean' doesn't blow it away
DEPEND=Depends-${ARCH}
CLEAN_DEPEND=$(DEPEND).tmp
CLOBBER_DEPEND=$(DEPEND)
# We deliberately don't have anything depend on the
# $(DEPEND) file; otherwise it will get rebuilt even
# on 'make clean'
#
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
ifneq ($(words $(C_FILES) $(CC_FILES) $(S_FILES)), 0)
# Use gcc -M to generate dependencies
# Replace foo.o with $(ARCH)/foo.o
# Replace $(ARCH) value with string $(ARCH)
# so that it will for debug cases
$(COMPILE.c) $(AM_CPPFLAGS) $(AM_CFLAGS) -M $^ | \
$(SED) -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
$(MV) $(DEPEND).tmp $(DEPEND)
endif
depend: depend-am
# spell out all the LINK_FILE's, rather than using -lbsp, so
# that $(LINK_FILES) can be a dependency
#
# NOTE: a rule to link an rtems' application should look similar to this
# (cf. "make-exe" in make/custom/*.cfg):
#
# gcc28:
# $(PGM): $(LINK_FILES)
# $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
#
LINK_OBJS =\
$(CONSTRUCTOR) \
$(OBJS)
LINK_FILES =\
$(CONSTRUCTOR) \
$(OBJS) \
$(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA) \
$(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
LINK_LIBS += $(LD_LIBS)
#
# Allow user to override link commands (to build a prom image, perhaps)
#
ifndef LINKCMDS
LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
endif
define make-rel
$(LINK.c) $(CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) -o $@ $^
endef

57
make/directory.cfg Normal file
View File

@@ -0,0 +1,57 @@
# make/directory.cfg
#
# Make(1) configuration file include'd by all directory-level Makefile's.
#
# See also make/main.cfg
#
# This is a simplified variant of automake-1.4's rule for handling
# subdirectories
$(RECURSE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed -e s/-recursive// -e s/debug_// `; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
local_target="$$target"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
# mostlyclean-recursive maintainer-clean-recursive:
clean-recursive \
distclean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
clean-am: clean-generic
distclean-am: distclean-generic clean-am
preinstall: preinstall-recursive
.PHONY: preinstall preinstall-am preinstall-recursive
distclean: distclean-recursive
-$(RM) config.status
.PHONY: distclean distclean-am distclean-recursive
clean: clean-recursive
.PHONY: clean clean-am clean-recursive

48
make/host.cfg Normal file
View File

@@ -0,0 +1,48 @@
# OS-specific configuration
#
# Derived from rtems/c/make/os/*.cfg in previous RTEMS version.
#
#
# Stuff to clean and clobber for the OS
#
CLEAN_OS =
CLOBBER_OS = *~ *.bak TAGS tags
SHELL=sh
ECHO=echo
CAT=cat
CP=cp
MV=mv
LN=ln
MKDIR=mkdir
CHMOD=chmod
SED=sed
# Global tools
ifndef BIN2C
BIN2C=rtems-bin2c
endif
ifndef INSTALL_CHANGE
INSTALL_CHANGE=install
endif
ifndef INSTALL_VARIANT
INSTALL_VARIANT=install
endif
# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
#
# Must have shell functions. Some ksh's core dump mysteriously and
# unreliably on RTEMS shell scripts. bash appears to be the most
# reliable but late model ksh's are usually OK.
KSH=bash
INSTBINFLAGS = -m 0755
INSTDATAFLAGS = -m 0644
INSTLIBFLAGS = -m 0644
INSTDIRFLAGS = -m 0755 -d
INSTINCFLAGS = -m 0644

15
make/lib.cfg Normal file
View File

@@ -0,0 +1,15 @@
# make/lib.cfg
#
# Make(1) configuration file include'd by all "library" Makefile
# Assumes $(LIB) is set to $(ARCH)/libfoo.a
#
include $(PROJECT_ROOT)/make/leaf.cfg
define make-library
$(RM) $@
$(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
endef
.PRECIOUS: $(LIB)

View File

@@ -0,0 +1,21 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -march=armv7-a
- -mthumb
- -mfpu=neon
- -mfloat-abi=hard
- -mtune=cortex-a9
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,142 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: altcycv_devkit
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: altera-cyclone-v
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/altera-cyclone-v/include/bsp.h
- bsps/arm/altera-cyclone-v/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/altera-cyclone-v/include/bsp/alt_16550_uart.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_address_space.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_cache.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_clock_group.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_clock_manager.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_dma.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_dma_common.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_dma_program.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_generalpurpose_io.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_hwlibs_ver.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_i2c.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_interrupt_common.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_mpu_registers.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_qspi_private.h
- bsps/arm/altera-cyclone-v/include/bsp/alt_reset_manager.h
- bsps/arm/altera-cyclone-v/include/bsp/hwlib.h
- bsps/arm/altera-cyclone-v/include/bsp/i2cdrv.h
- bsps/arm/altera-cyclone-v/include/bsp/irq.h
- destination: ${BSP_INCLUDEDIR}/bsp/socal
source:
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_acpidmap.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_clkmgr.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmanonsecure.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmasecure.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_gpio.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_i2c.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_l3.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspi.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspidata.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_rstmgr.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sdr.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sysmgr.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/alt_uart.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/hps.h
- bsps/arm/altera-cyclone-v/include/bsp/socal/socal.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/altera-cyclone-v/start/linkcmds
- bsps/arm/altera-cyclone-v/start/linkcmds.altcycv
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: objsmp
- role: build-dependency
uid: opta9periphclk
- role: build-dependency
uid: optcachedata
- role: build-dependency
uid: optcacheinst
- role: build-dependency
uid: optclkfastidle
- role: build-dependency
uid: optconcfg
- role: build-dependency
uid: optconuart1
- role: build-dependency
uid: optfdtcpyro
- role: build-dependency
uid: optfdten
- role: build-dependency
uid: optfdtmxsz
- role: build-dependency
uid: optfdtro
- role: build-dependency
uid: optfdtuboot
- role: build-dependency
uid: opti2cspeed
- role: build-dependency
uid: optnoi2c
- role: build-dependency
uid: optresetvec
- role: build-dependency
uid: optuartbaud
- role: build-dependency
uid: optuartirq
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/altera-cyclone-v/console/console-config.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_16550_uart.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_address_space.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_clock_manager.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma_program.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_generalpurpose_io.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_i2c.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_qspi.c
- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_reset_manager.c
- bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c
- bsps/arm/altera-cyclone-v/i2c/i2cdrv.c
- bsps/arm/altera-cyclone-v/rtc/rtc.c
- bsps/arm/altera-cyclone-v/start/bspclean.c
- bsps/arm/altera-cyclone-v/start/bspgetworkarea.c
- bsps/arm/altera-cyclone-v/start/bspreset.c
- bsps/arm/altera-cyclone-v/start/bspstart.c
- bsps/arm/altera-cyclone-v/start/bspstarthooks.c
- bsps/arm/altera-cyclone-v/start/mmu-config.c
- bsps/arm/shared/cache/cache-l2c-310.c
- bsps/arm/shared/clock/clock-a9mpcore.c
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/irq/irq-gic.c
- bsps/arm/shared/start/bsp-start-memcpy.S
- bsps/shared/dev/btimer/btimer-stub.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/dev/serial/console-termios-init.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bsp-fdt.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/stackalloc.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_SMP
includes: []
install: []
links: []
source:
- bsps/arm/altera-cyclone-v/start/bspsmp.c
- bsps/arm/shared/start/arm-a9mpcore-smp.c
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
define to set ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz, otherwise alt_clk_freq_get() is used
enabled-by: true
links: []
name: BSP_ARM_A9MPCORE_PERIPHCLK
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
enable data cache
enabled-by: true
links: []
name: BSP_DATA_CACHE_ENABLED
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
enable instruction cache
enabled-by: true
links: []
name: BSP_INSTRUCTION_CACHE_ENABLED
type: build

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: true
variants:
- arm/.*qemu
description: |
This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
enabled-by: true
links: []
name: CLOCK_DRIVER_USE_FAST_IDLE
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
configuration for console (UART 0)
enabled-by: true
links: []
name: CYCLONE_V_CONFIG_CONSOLE
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
configuration for UART 1
enabled-by: true
links: []
name: CYCLONE_V_CONFIG_UART_1
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
copy the FDT blob into the read-only load area via bsp_fdt_copy()
enabled-by: true
links: []
name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
define if FDT is supported
enabled-by: true
links: []
name: BSP_FDT_IS_SUPPORTED
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 262144
default-by-variant: []
description: |
maximum size of the FDT blob in bytes
enabled-by: true
format: '{}'
links: []
name: BSP_FDT_BLOB_SIZE_MAX
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
place the FDT blob into the read-only data area
enabled-by: true
links: []
name: BSP_FDT_BLOB_READ_ONLY
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
copy the U-Boot provided FDT to an internal storage
enabled-by: true
links: []
name: BSP_START_COPY_FDT_FROM_U_BOOT
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 100000
default-by-variant: []
description: |
speed for I2C0 in HZ
enabled-by: true
format: '{}'
links: []
name: CYCLONE_V_I2C0_SPEED
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
Number of configured I2C buses. Note that each bus has to be configured in an apropriate i2cdrv_config array.
enabled-by: true
links: []
name: CYCLONE_V_NO_I2C
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
reset vector address for BSP start
enabled-by: true
links: []
name: BSP_START_RESET_VECTOR
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 115200
default-by-variant: []
description: |
baud for UARTs
enabled-by: true
format: '{}'
links: []
name: CYCLONE_V_UART_BAUD
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
enable usage of interrupts for the UART modules
enabled-by: true
links: []
name: BSP_USE_UART_INTERRUPTS
type: build

View File

@@ -0,0 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mthumb
- -mcpu=cortex-m7
- -mfpu=fpv5-d16
- -mfloat-abi=hard
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,411 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: atsamv
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: atsam
includes:
- bsps/arm/atsam/contrib/libraries/libboard
- bsps/arm/atsam/contrib/libraries/libboard/include
- bsps/arm/atsam/contrib/libraries/libchip
- bsps/arm/atsam/contrib/libraries/libchip/include
- bsps/arm/atsam/include/libchip
- bsps/arm/atsam/include/libchip/include
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/atsam/include/bsp.h
- bsps/arm/atsam/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/atsam/include/bsp/atsam-clock-config.h
- bsps/arm/atsam/include/bsp/atsam-i2c.h
- bsps/arm/atsam/include/bsp/atsam-spi.h
- bsps/arm/atsam/include/bsp/i2c.h
- bsps/arm/atsam/include/bsp/iocopy.h
- bsps/arm/atsam/include/bsp/irq.h
- bsps/arm/atsam/include/bsp/pin-config.h
- bsps/arm/atsam/include/bsp/power.h
- bsps/arm/atsam/include/bsp/sc16is752.h
- bsps/arm/atsam/include/bsp/spi.h
- destination: ${BSP_INCLUDEDIR}/libchip
source:
- bsps/arm/atsam/include/libchip/chip.h
- bsps/arm/atsam/include/libchip/compiler.h
- destination: ${BSP_INCLUDEDIR}/libchip/include
source:
- bsps/arm/atsam/include/libchip/include/acc.h
- bsps/arm/atsam/include/libchip/include/adc.h
- bsps/arm/atsam/include/libchip/include/aes.h
- bsps/arm/atsam/include/libchip/include/afe_dma.h
- bsps/arm/atsam/include/libchip/include/afec.h
- bsps/arm/atsam/include/libchip/include/chip.h
- bsps/arm/atsam/include/libchip/include/dac_dma.h
- bsps/arm/atsam/include/libchip/include/efc.h
- bsps/arm/atsam/include/libchip/include/exceptions.h
- bsps/arm/atsam/include/libchip/include/flashd.h
- bsps/arm/atsam/include/libchip/include/gmac.h
- bsps/arm/atsam/include/libchip/include/gmacd.h
- bsps/arm/atsam/include/libchip/include/hsmci.h
- bsps/arm/atsam/include/libchip/include/icm.h
- bsps/arm/atsam/include/libchip/include/isi.h
- bsps/arm/atsam/include/libchip/include/iso7816_4.h
- bsps/arm/atsam/include/libchip/include/mcan.h
- bsps/arm/atsam/include/libchip/include/mcid.h
- bsps/arm/atsam/include/libchip/include/mediaLB.h
- bsps/arm/atsam/include/libchip/include/mpu.h
- bsps/arm/atsam/include/libchip/include/pio.h
- bsps/arm/atsam/include/libchip/include/pio_capture.h
- bsps/arm/atsam/include/libchip/include/pio_it.h
- bsps/arm/atsam/include/libchip/include/pmc.h
- bsps/arm/atsam/include/libchip/include/pwmc.h
- bsps/arm/atsam/include/libchip/include/qspi.h
- bsps/arm/atsam/include/libchip/include/qspi_dma.h
- bsps/arm/atsam/include/libchip/include/rstc.h
- bsps/arm/atsam/include/libchip/include/rtc.h
- bsps/arm/atsam/include/libchip/include/rtt.h
- bsps/arm/atsam/include/libchip/include/sdramc.h
- bsps/arm/atsam/include/libchip/include/smc.h
- bsps/arm/atsam/include/libchip/include/spi.h
- bsps/arm/atsam/include/libchip/include/spi_dma.h
- bsps/arm/atsam/include/libchip/include/ssc.h
- bsps/arm/atsam/include/libchip/include/supc.h
- bsps/arm/atsam/include/libchip/include/tc.h
- bsps/arm/atsam/include/libchip/include/timetick.h
- bsps/arm/atsam/include/libchip/include/trace.h
- bsps/arm/atsam/include/libchip/include/trng.h
- bsps/arm/atsam/include/libchip/include/twi.h
- bsps/arm/atsam/include/libchip/include/twid.h
- bsps/arm/atsam/include/libchip/include/uart.h
- bsps/arm/atsam/include/libchip/include/uart_dma.h
- bsps/arm/atsam/include/libchip/include/usart.h
- bsps/arm/atsam/include/libchip/include/usart_dma.h
- bsps/arm/atsam/include/libchip/include/usbhs.h
- bsps/arm/atsam/include/libchip/include/video.h
- bsps/arm/atsam/include/libchip/include/wdt.h
- bsps/arm/atsam/include/libchip/include/xdma_hardware_interface.h
- bsps/arm/atsam/include/libchip/include/xdmac.h
- bsps/arm/atsam/include/libchip/include/xdmad.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/same70
source:
- bsps/arm/atsam/include/libchip/include/same70/same70.h
- bsps/arm/atsam/include/libchip/include/same70/same70j19.h
- bsps/arm/atsam/include/libchip/include/same70/same70j20.h
- bsps/arm/atsam/include/libchip/include/same70/same70j21.h
- bsps/arm/atsam/include/libchip/include/same70/same70n19.h
- bsps/arm/atsam/include/libchip/include/same70/same70n20.h
- bsps/arm/atsam/include/libchip/include/same70/same70n21.h
- bsps/arm/atsam/include/libchip/include/same70/same70q19.h
- bsps/arm/atsam/include/libchip/include/same70/same70q20.h
- bsps/arm/atsam/include/libchip/include/same70/same70q21.h
- bsps/arm/atsam/include/libchip/include/same70/system_same70.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/same70/component
source:
- bsps/arm/atsam/include/libchip/include/same70/component/component_acc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_aes.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_afec.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_chipid.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_dacc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_efc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_gmac.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_gpbr.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_hsmci.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_icm.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_isi.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_matrix.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_mcan.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_pio.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_pmc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_pwm.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_qspi.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_rstc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_rswdt.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_rtc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_rtt.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_sdramc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_smc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_spi.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_ssc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_supc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_tc.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_trng.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_twihs.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_uart.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_usart.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_usbhs.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_utmi.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_wdt.h
- bsps/arm/atsam/include/libchip/include/same70/component/component_xdmac.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/same70/pio
source:
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j19.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j20.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j21.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n19.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n20.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n21.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q19.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q20.h
- bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q21.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70
source:
- bsps/arm/atsam/include/libchip/include/sams70/sams70.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70j19.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70j20.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70j21.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70n19.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70n20.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70n21.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70q19.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70q20.h
- bsps/arm/atsam/include/libchip/include/sams70/sams70q21.h
- bsps/arm/atsam/include/libchip/include/sams70/system_sams70.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70/component
source:
- bsps/arm/atsam/include/libchip/include/sams70/component/component_acc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_aes.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_afec.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_chipid.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_dacc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_efc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_gpbr.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_hsmci.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_icm.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_isi.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_matrix.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_pio.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_pmc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_pwm.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_qspi.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_rstc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_rswdt.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_rtc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_rtt.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_sdramc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_smc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_spi.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_ssc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_supc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_tc.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_trng.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_twihs.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_uart.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_usart.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_usbhs.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_utmi.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_wdt.h
- bsps/arm/atsam/include/libchip/include/sams70/component/component_xdmac.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70/pio
source:
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j19.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j20.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j21.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n19.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n20.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n21.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q19.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q20.h
- bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q21.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71
source:
- bsps/arm/atsam/include/libchip/include/samv71/samv71.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71j19.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71j20.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71j21.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71n19.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71n20.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71n21.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71q19.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71q20.h
- bsps/arm/atsam/include/libchip/include/samv71/samv71q21.h
- bsps/arm/atsam/include/libchip/include/samv71/system_samv71.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71/component
source:
- bsps/arm/atsam/include/libchip/include/samv71/component/component_acc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_aes.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_afec.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_chipid.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_dacc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_efc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_gmac.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_gpbr.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_hsmci.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_icm.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_isi.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_matrix.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_mcan.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_mlb.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_pio.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_pmc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_pwm.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_qspi.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_rstc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_rswdt.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_rtc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_rtt.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_sdramc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_smc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_spi.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_ssc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_supc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_tc.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_trng.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_twihs.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_uart.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_usart.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_usbhs.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_utmi.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_wdt.h
- bsps/arm/atsam/include/libchip/include/samv71/component/component_xdmac.h
- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71/pio
source:
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j19.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j20.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j21.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n19.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n20.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n21.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q19.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q20.h
- bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q21.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/atsam/start/linkcmds
- bsps/arm/atsam/start/linkcmds.intsram
- bsps/arm/atsam/start/linkcmds.qspiflash
- bsps/arm/atsam/start/linkcmds.sdram
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: objnet
- role: build-dependency
uid: optchgclksram
- role: build-dependency
uid: optchip
- role: build-dependency
uid: optconbaud
- role: build-dependency
uid: optconidx
- role: build-dependency
uid: optconirq
- role: build-dependency
uid: optcontype
- role: build-dependency
uid: optmck
- role: build-dependency
uid: optnocachesz
- role: build-dependency
uid: optoscmain
- role: build-dependency
uid: optqspiflashsz
- role: build-dependency
uid: optsdram
- role: build-dependency
uid: opttcmsz
- role: build-dependency
uid: optusextal
- role: build-dependency
uid: tstatsamv
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: linkcmds
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/atsam/clock/systick-freq.c
- bsps/arm/atsam/console/console.c
- bsps/arm/atsam/console/debug-console.c
- bsps/arm/atsam/contrib/libraries/libboard/resources_v71/system_samv71.c
- bsps/arm/atsam/contrib/libraries/libboard/source/board_lowlevel.c
- bsps/arm/atsam/contrib/libraries/libboard/source/board_memories.c
- bsps/arm/atsam/contrib/libraries/libboard/source/dbg_console.c
- bsps/arm/atsam/contrib/libraries/libchip/source/acc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/aes.c
- bsps/arm/atsam/contrib/libraries/libchip/source/afe_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/afec.c
- bsps/arm/atsam/contrib/libraries/libchip/source/dac_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/efc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/exceptions.c
- bsps/arm/atsam/contrib/libraries/libchip/source/flashd.c
- bsps/arm/atsam/contrib/libraries/libchip/source/gmac.c
- bsps/arm/atsam/contrib/libraries/libchip/source/gmacd.c
- bsps/arm/atsam/contrib/libraries/libchip/source/hsmci.c
- bsps/arm/atsam/contrib/libraries/libchip/source/icm.c
- bsps/arm/atsam/contrib/libraries/libchip/source/isi.c
- bsps/arm/atsam/contrib/libraries/libchip/source/mcan.c
- bsps/arm/atsam/contrib/libraries/libchip/source/mediaLB.c
- bsps/arm/atsam/contrib/libraries/libchip/source/mpu.c
- bsps/arm/atsam/contrib/libraries/libchip/source/pio.c
- bsps/arm/atsam/contrib/libraries/libchip/source/pio_capture.c
- bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
- bsps/arm/atsam/contrib/libraries/libchip/source/pmc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/pwmc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/qspi.c
- bsps/arm/atsam/contrib/libraries/libchip/source/qspi_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/rstc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/rtc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/rtt.c
- bsps/arm/atsam/contrib/libraries/libchip/source/sdramc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/spi.c
- bsps/arm/atsam/contrib/libraries/libchip/source/spi_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/ssc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/supc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/tc.c
- bsps/arm/atsam/contrib/libraries/libchip/source/trng.c
- bsps/arm/atsam/contrib/libraries/libchip/source/twi.c
- bsps/arm/atsam/contrib/libraries/libchip/source/twid.c
- bsps/arm/atsam/contrib/libraries/libchip/source/uart.c
- bsps/arm/atsam/contrib/libraries/libchip/source/uart_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/usart.c
- bsps/arm/atsam/contrib/libraries/libchip/source/usart_dma.c
- bsps/arm/atsam/contrib/libraries/libchip/source/wdt.c
- bsps/arm/atsam/contrib/libraries/libchip/source/xdma_hardware_interface.c
- bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
- bsps/arm/atsam/i2c/atsam_i2c_bus.c
- bsps/arm/atsam/i2c/atsam_i2c_init.c
- bsps/arm/atsam/rtc/rtc-config.c
- bsps/arm/atsam/spi/atsam_spi_bus.c
- bsps/arm/atsam/spi/atsam_spi_init.c
- bsps/arm/atsam/spi/sc16is752.c
- bsps/arm/atsam/start/bspstart.c
- bsps/arm/atsam/start/bspstarthooks.c
- bsps/arm/atsam/start/getentropy-trng.c
- bsps/arm/atsam/start/iocopy.c
- bsps/arm/atsam/start/pin-config.c
- bsps/arm/atsam/start/pmc-config.c
- bsps/arm/atsam/start/power-clock.c
- bsps/arm/atsam/start/power-rtc.c
- bsps/arm/atsam/start/power-wait.c
- bsps/arm/atsam/start/power.c
- bsps/arm/atsam/start/restart.c
- bsps/arm/atsam/start/sdram-config.c
- bsps/arm/shared/cache/cache-v7m.c
- bsps/arm/shared/clock/clock-armv7m.c
- bsps/arm/shared/cpucounter/cpucounter-armv7m.c
- bsps/arm/shared/irq/irq-armv7m.c
- bsps/arm/shared/irq/irq-dispatch-armv7m.c
- bsps/arm/shared/start/bsp-start-memcpy.S
- bsps/arm/shared/start/bspreset-armv7m.c
- bsps/shared/dev/btimer/btimer-stub.c
- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/stackalloc.c
type: build

View File

@@ -0,0 +1,49 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
MEMORY {
ITCM : ORIGIN = 0x00000000, LENGTH = ${ATSAM_MEMORY_TCM_SIZE}
INTFLASH : ORIGIN = 0x00400000, LENGTH = ${ATSAM_MEMORY_INTFLASH_SIZE}
DTCM : ORIGIN = 0x20000000, LENGTH = ${ATSAM_MEMORY_TCM_SIZE}
INTSRAM : ORIGIN = 0x20400000, LENGTH = ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}
NOCACHE : ORIGIN = 0x20400000 + ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}, LENGTH = ${ATSAM_MEMORY_NOCACHE_SIZE}
SDRAM : ORIGIN = 0x70000000, LENGTH = ${ATSAM_MEMORY_SDRAM_SIZE}
QSPIFLASH : ORIGIN = 0x80000000, LENGTH = ${ATSAM_MEMORY_QSPIFLASH_SIZE}
}
/* Must be used only for MPU definitions */
atsam_memory_itcm_begin = ORIGIN (ITCM);
atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM);
atsam_memory_itcm_size = LENGTH (ITCM);
atsam_memory_intflash_begin = ORIGIN (INTFLASH);
atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH);
atsam_memory_intflash_size = LENGTH (INTFLASH);
atsam_memory_dtcm_begin = ORIGIN (DTCM);
atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM);
atsam_memory_dtcm_size = LENGTH (DTCM);
atsam_memory_intsram_begin = ORIGIN (INTSRAM);
atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM);
atsam_memory_intsram_size = LENGTH (INTSRAM);
atsam_memory_nocache_begin = ORIGIN (NOCACHE);
atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE);
atsam_memory_nocache_size = LENGTH (NOCACHE);
atsam_memory_sdram_begin = ORIGIN (SDRAM);
atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM);
atsam_memory_sdram_size = LENGTH (SDRAM);
atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH);
atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH);
atsam_memory_qspiflash_size = LENGTH (QSPIFLASH);
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds.memory
type: build

View File

@@ -0,0 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_NETWORKING
includes:
- bsps/arm/atsam/contrib/libraries/libboard
- bsps/arm/atsam/contrib/libraries/libboard/include
- bsps/arm/atsam/contrib/libraries/libchip
- bsps/arm/atsam/contrib/libraries/libchip/include
- bsps/arm/atsam/include/libchip
- bsps/arm/atsam/include/libchip/include
- cpukit/libnetworking
install: []
links: []
source:
- bsps/arm/atsam/net/if_atsam.c
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
Move the functions that set up the clock into the SRAM. This allows to change the clock frequency even if the application is started from SDRAM. Requires a TCM_SIZE > 0.
enabled-by: true
links: []
name: ATSAM_CHANGE_CLOCK_FROM_SRAM
type: build

View File

@@ -0,0 +1,54 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- script: |
c = ("__SAMV71Q21__", 0x00200000, 0x00060000)
chips = {
"same70j19": ("__SAME70J19__", 0x00080000, 0x00040000),
"same70j20": ("__SAME70J20__", 0x00100000, 0x00060000),
"same70j21": ("__SAME70J21__", 0x00200000, 0x00060000),
"same70n19": ("__SAME70N19__", 0x00080000, 0x00040000),
"same70n20": ("__SAME70N20__", 0x00100000, 0x00060000),
"same70n21": ("__SAME70N21__", 0x00200000, 0x00060000),
"same70q19": ("__SAME70Q19__", 0x00080000, 0x00040000),
"same70q20": ("__SAME70Q20__", 0x00100000, 0x00060000),
"same70q21": ("__SAME70Q21__", 0x00200000, 0x00060000),
"sams70j19": ("__SAMS70J19__", 0x00080000, 0x00040000),
"sams70j20": ("__SAMS70J20__", 0x00100000, 0x00060000),
"sams70j21": ("__SAMS70J21__", 0x00200000, 0x00060000),
"sams70n19": ("__SAMS70N19__", 0x00080000, 0x00040000),
"sams70n20": ("__SAMS70N20__", 0x00100000, 0x00060000),
"sams70n21": ("__SAMS70N21__", 0x00200000, 0x00060000),
"sams70q19": ("__SAMS70Q19__", 0x00080000, 0x00040000),
"sams70q20": ("__SAMS70Q20__", 0x00100000, 0x00060000),
"sams70q21": ("__SAMS70Q21__", 0x00200000, 0x00060000),
"samv71j19": ("__SAMV71J19__", 0x00080000, 0x00040000),
"samv71j20": ("__SAMV71J20__", 0x00100000, 0x00060000),
"samv71j21": ("__SAMV71J21__", 0x00200000, 0x00060000),
"samv71n19": ("__SAMV71N19__", 0x00080000, 0x00040000),
"samv71n20": ("__SAMV71N20__", 0x00100000, 0x00060000),
"samv71n21": ("__SAMV71N21__", 0x00200000, 0x00060000),
"samv71q19": ("__SAMV71Q19__", 0x00080000, 0x00040000),
"samv71q20": ("__SAMV71Q20__", 0x00100000, 0x00060000),
"samv71q21": c,
}
if value:
try:
c = chips[value]
except:
conf.fatal("Unkown chip variant '{}'".format(value))
conf.define_cond(c[0], True)
conf.env["ATSAM_MEMORY_INTFLASH_SIZE"] = c[1]
conf.env["ATSAM_MEMORY_INTSRAM_SIZE"] = c[2]
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: samv71q21
default-by-variant: []
description: |
Chip variant
enabled-by: true
format: '{}'
links: []
name: ATSAM_CHIP
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 115200
default-by-variant: []
description: |
initial baud for console devices (default 115200)
enabled-by: true
format: '{}'
links: []
name: ATSAM_CONSOLE_BAUD
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
device index for /dev/console (default 1, e.g. USART1)
enabled-by: true
links: []
name: ATSAM_CONSOLE_DEVICE_INDEX
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
use interrupt driven mode for console devices (used by default)
enabled-by: true
links: []
name: ATSAM_CONSOLE_USE_INTERRUPTS
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
device type for /dev/console, use 0 for USART and 1 for UART (default USART)
enabled-by: true
links: []
name: ATSAM_CONSOLE_DEVICE_TYPE
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 123000000
default-by-variant: []
description: |
Frequency of the MCK in Hz. Set to 0 to force application defined speed. See start/pmc-config.c for available clock configurations.
enabled-by: true
format: '{}'
links: []
name: ATSAM_MCK
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- format-and-define: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4096
default-by-variant: []
description: |
size of NOCACHE section in bytes
enabled-by: true
format: '{:#010x}'
links: []
name: ATSAM_MEMORY_NOCACHE_SIZE
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 12000000
default-by-variant: []
description: |
Main oscillator frequency in Hz (default 12MHz)
enabled-by: true
format: '{}'
links: []
name: BOARD_MAINOSC
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- format-and-define: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 2097152
default-by-variant: []
description: |
size of QSPI flash in bytes
enabled-by: true
format: '{:#010x}'
links: []
name: ATSAM_MEMORY_QSPIFLASH_SIZE
type: build

View File

@@ -0,0 +1,29 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- script: |
s = ("ATSAM_SDRAM_IS42S16100E_7BLI", 0x00200000)
sdram = {
"is42s16100e-7bli": s,
"is42s16320f-7bl": ("ATSAM_SDRAM_IS42S16320F_7BL", 0x04000000),
"mt48lc16m16a2p-6a": ("ATSAM_SDRAM_MT48LC16M16A2P_6A", 0x02000000),
}
if value:
try:
s = sdram[value]
except:
conf.fatal("Unkown SDRAM variant '{}'".format(value))
conf.define_cond(s[0], True)
conf.env["ATSAM_MEMORY_SDRAM_SIZE"] = s[1]
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: is42s16100e-7bli
default-by-variant: []
description: |
SDRAM variant
enabled-by: true
format: '{}'
links: []
name: ATSAM_SDRAM
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- format-and-define: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default-by-variant: []
description: |
size of tightly coupled memories (TCM) in bytes
enabled-by: true
format: '{:#010x}'
links: []
name: ATSAM_MEMORY_TCM_SIZE
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
Use the external crystal as source for the slow clock instead of the internal RC oscillator. Note that on the ATSAM the NRST pin seems to depend on the slow clock as well as all watchdogs. If ATSAM_SLOWCLOCK_USE_XTAL is set to 1 without a external crystal connected, the controller might hang in the switching process without a working NRST pin.
enabled-by: true
links: []
name: ATSAM_SLOWCLOCK_USE_XTAL
type: build

View File

@@ -0,0 +1,35 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- set-test-state:
fileio: exclude
flashdisk01: exclude
fsdosfsname01: exclude
ftp01: exclude
jffs2fserror: exclude
jffs2fslink: exclude
jffs2fspatheval: exclude
jffs2fspermission: exclude
jffs2fsrdwr: exclude
jffs2fsscandir01: exclude
jffs2fssymlink: exclude
jffs2fstime: exclude
linpack: exclude
mghttpd01: exclude
pppd: exclude
psxconfig01: exclude
record02: exclude
sp16: exclude
sp25: exclude
sp48: exclude
spregionerr01: exclude
spstkalloc02: exclude
tmfine01: exclude
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: null
default-by-variant: []
description: ''
enabled-by: true
links: []
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mcpu=cortex-a8
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: beagleboardorig
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: beagle
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: beagleboardxm
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: beagle
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: beagleboneblack
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: beagle
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: beaglebonewhite
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: beagle
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,44 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: group
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
includes: []
install: []
ldflags: []
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: obj
- role: build-dependency
uid: optam335x
- role: build-dependency
uid: optconbaud
- role: build-dependency
uid: optconpoll
- role: build-dependency
uid: optdebug
- role: build-dependency
uid: optdm3730
- role: build-dependency
uid: optfdtcpyro
- role: build-dependency
uid: optfdtmxsz
- role: build-dependency
uid: optfdtro
- role: build-dependency
uid: optfdtuboot
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../bspopts
type: build
use-after: []
use-before: []

View File

@@ -0,0 +1,61 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/beagle/include/bsp.h
- bsps/arm/beagle/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/beagle/include/bsp/bbb-gpio.h
- bsps/arm/beagle/include/bsp/bbb-pwm.h
- bsps/arm/beagle/include/bsp/beagleboneblack.h
- bsps/arm/beagle/include/bsp/i2c.h
- bsps/arm/beagle/include/bsp/irq.h
- bsps/arm/beagle/include/bsp/spi.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/beagle/start/linkcmds
links: []
source:
- bsps/arm/beagle/clock/clock.c
- bsps/arm/beagle/console/console-config.c
- bsps/arm/beagle/gpio/bbb-gpio.c
- bsps/arm/beagle/i2c/bbb-i2c.c
- bsps/arm/beagle/irq/irq.c
- bsps/arm/beagle/pwm/pwm.c
- bsps/arm/beagle/rtc/rtc.c
- bsps/arm/beagle/spi/spi.c
- bsps/arm/beagle/start/bspdebug.c
- bsps/arm/beagle/start/bspreset.c
- bsps/arm/beagle/start/bspstart.c
- bsps/arm/beagle/start/bspstarthooks.c
- bsps/arm/beagle/start/bspstartmmu.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cache/cache-v7ar-disable-data.S
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
- bsps/shared/dev/btimer/btimer-stub.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/gpio/gpio-support.c
- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/dev/serial/legacy-console-control.c
- bsps/shared/dev/serial/legacy-console-select.c
- bsps/shared/dev/serial/legacy-console.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bsp-fdt.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/stackalloc.c
type: build

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: true
variants:
- arm/beaglebone.*
description: |
true if SOC is AM335X
enabled-by: true
links: []
name: IS_AM335X
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 115200
default-by-variant: []
description: |
initial baud for console UART
enabled-by: true
format: '{}'
links: []
name: CONSOLE_BAUD
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
polled console i/o (e.g. to run testsuite)
enabled-by: true
links: []
name: CONSOLE_POLLED
type: build

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: false
variants:
- arm/beaglebone.*
description: |
Enable BBB debug
enabled-by: true
links: []
name: BBB_DEBUG
type: build

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: true
variants:
- arm/beagleboard.*
description: |
true if SOC is DM3730
enabled-by: true
links: []
name: IS_DM3730
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
copy the FDT blob into the read-only load area via bsp_fdt_copy()
enabled-by: true
links: []
name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 262144
default-by-variant: []
description: |
maximum size of the FDT blob in bytes
enabled-by: true
format: '{}'
links: []
name: BSP_FDT_BLOB_SIZE_MAX
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
place the FDT blob into the read-only data area
enabled-by: true
links: []
name: BSP_FDT_BLOB_READ_ONLY
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
copy the U-Boot provided FDT to an internal storage
enabled-by: true
links: []
name: BSP_START_COPY_FDT_FROM_U_BOOT
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mcpu=arm920
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,59 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: csb336
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: csb336
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/csb336/include/bsp.h
- bsps/arm/csb336/include/mc9328mxl.h
- bsps/arm/csb336/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/csb336/include/bsp/irq.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/csb336/start/linkcmds
- bsps/arm/csb336/start/linkcmds
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: objnet
- role: build-dependency
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/csb336/btimer/btimer.c
- bsps/arm/csb336/clock/clockdrv.c
- bsps/arm/csb336/console/uart.c
- bsps/arm/csb336/irq/irq.c
- bsps/arm/csb336/start/bspstart.c
- bsps/arm/csb336/start/memmap.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/bspreset-empty.c
- bsps/shared/start/sbrk.c
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_NETWORKING
includes:
- cpukit/libnetworking
install: []
links: []
source:
- bsps/arm/csb336/net/lan91c11x.c
- bsps/arm/csb336/net/network.c
type: build

View File

@@ -0,0 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
asflags: []
build-type: start-file
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
includes: []
install-path: ${BSP_LIBDIR}
links: []
source:
- bsps/arm/csb336/start/start.S
target: start.o
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mcpu=arm920
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: csb337
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: csb337
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: csb637
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: csb337
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: kit637_v6
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: csb337
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-dependency
uid: ../../opto2
source: []
type: build

View File

@@ -0,0 +1,52 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: group
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
includes: []
install: []
ldflags: []
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: obj
- role: build-dependency
uid: objlcd
- role: build-dependency
uid: objnet
- role: build-dependency
uid: objumon
- role: build-dependency
uid: objumoncon
- role: build-dependency
uid: optcsb637
- role: build-dependency
uid: optenlcd
- role: build-dependency
uid: optenumon
- role: build-dependency
uid: optenumoncon
- role: build-dependency
uid: optenusart0
- role: build-dependency
uid: optenusart1
- role: build-dependency
uid: optenusart2
- role: build-dependency
uid: optenusart3
- role: build-dependency
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../../linkcmds
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../bspopts
type: build
use-after: []
use-before: []

View File

@@ -0,0 +1,57 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/csb337/include/at91rm9200.h
- bsps/arm/csb337/include/at91rm9200_dbgu.h
- bsps/arm/csb337/include/at91rm9200_emac.h
- bsps/arm/csb337/include/at91rm9200_gpio.h
- bsps/arm/csb337/include/at91rm9200_mem.h
- bsps/arm/csb337/include/at91rm9200_pmc.h
- bsps/arm/csb337/include/at91rm9200_usart.h
- bsps/arm/csb337/include/bits.h
- bsps/arm/csb337/include/bsp.h
- bsps/arm/csb337/include/font8x16.h
- bsps/arm/csb337/include/sed1356.h
- bsps/arm/csb337/include/sed1356_16bit.h
- bsps/arm/csb337/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/csb337/include/bsp/irq.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/csb337/start/linkcmds.csb337
- bsps/arm/csb337/start/linkcmds.csb637
links: []
source:
- bsps/arm/csb337/btimer/btimer.c
- bsps/arm/csb337/clock/clock.c
- bsps/arm/csb337/console/dbgu.c
- bsps/arm/csb337/console/uarts.c
- bsps/arm/csb337/console/usart.c
- bsps/arm/csb337/irq/irq.c
- bsps/arm/csb337/start/bspreset.c
- bsps/arm/csb337/start/bspstart.c
- bsps/arm/csb337/start/memmap.c
- bsps/arm/csb337/start/pmc.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/legacy-console-control.c
- bsps/shared/dev/serial/legacy-console-select.c
- bsps/shared/dev/serial/legacy-console.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- ENABLE_LCD
includes: []
install: []
links: []
source:
- bsps/arm/csb337/console/fbcons.c
- bsps/arm/csb337/console/sed1356.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_NETWORKING
includes:
- cpukit/libnetworking
install: []
links: []
source:
- bsps/arm/csb337/net/network.c
type: build

View File

@@ -0,0 +1,26 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- ENABLE_UMON
includes: []
install:
- destination: ${BSP_INCLUDEDIR}/rtems
source:
- bsps/include/rtems/umon.h
- destination: ${BSP_INCLUDEDIR}/umon
source:
- bsps/include/umon/cli.h
- bsps/include/umon/monlib.h
- bsps/include/umon/tfs.h
links: []
source:
- bsps/arm/csb337/start/umonsupp.c
- bsps/arm/csb337/umon/monlib.c
- bsps/arm/csb337/umon/tfsDriver.c
- bsps/arm/csb337/umon/umonrtemsglue.c
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- ENABLE_UMON_CONSOLE
includes: []
install: []
links: []
source:
- bsps/arm/csb337/umon/umoncons.c
type: build

View File

@@ -0,0 +1,21 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: true
variants:
- arm/kit637_v6
- value: true
variants:
- arm/csb637
description: |
If defined, this indicates that the BSP is being built for the csb637 variant.
enabled-by: true
links: []
name: csb637
type: build

View File

@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
- env-enable: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant:
- value: false
variants:
- arm/kit637_v6
description: |
If defined, enable use of the SED1356 controller and LCD.
enabled-by: true
links: []
name: ENABLE_LCD
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
- env-enable: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the uMon console.
enabled-by: true
links: []
name: ENABLE_UMON
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
- env-enable: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the MicroMonitor console device.
enabled-by: true
links: []
name: ENABLE_UMON_CONSOLE
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the USART 0.
enabled-by: true
links: []
name: ENABLE_USART0
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the USART 1.
enabled-by: true
links: []
name: ENABLE_USART1
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the USART 2.
enabled-by: true
links: []
name: ENABLE_USART2
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
description: |
If defined, enable use of the USART 3.
enabled-by: true
links: []
name: ENABLE_USART3
type: build

View File

@@ -0,0 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
asflags: []
build-type: start-file
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
includes: []
install-path: ${BSP_LIBDIR}
links: []
source:
- bsps/arm/csb337/start/start.S
target: start.o
type: build

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mcpu=arm7tdmi
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,62 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: edb7312
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: edb7312
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/edb7312/include/bsp.h
- bsps/arm/edb7312/include/ep7312.h
- bsps/arm/edb7312/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/edb7312/include/bsp/irq.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/edb7312/start/linkcmds
links:
- role: build-dependency
uid: abi
- role: build-dependency
uid: objnet
- role: build-dependency
uid: optskyeye
- role: build-dependency
uid: start
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/edb7312/btimer/btimer.c
- bsps/arm/edb7312/clock/clockdrv.c
- bsps/arm/edb7312/console/uart.c
- bsps/arm/edb7312/irq/bsp_irq_asm.S
- bsps/arm/edb7312/irq/irq.c
- bsps/arm/edb7312/start/bspreset.c
- bsps/arm/edb7312/start/bspstart.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/legacy-console-control.c
- bsps/shared/dev/serial/legacy-console-select.c
- bsps/shared/dev/serial/legacy-console.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_NETWORKING
includes:
- cpukit/libnetworking
install: []
links: []
source:
- bsps/arm/edb7312/net/network.c
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
enabled-by: true
links: []
name: ON_SKYEYE
type: build

View File

@@ -0,0 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
asflags: []
build-type: start-file
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
includes: []
install-path: ${BSP_LIBDIR}
links: []
source:
- bsps/arm/edb7312/start/start.S
target: start.o
type: build

View File

@@ -0,0 +1,62 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: group
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/include/cmsis_gcc.h
- bsps/arm/include/core_cm7.h
- bsps/arm/include/core_cmFunc.h
- bsps/arm/include/core_cmInstr.h
- bsps/arm/include/core_cmSimd.h
- bsps/arm/include/uart.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/include/bsp/arm-a8core-start.h
- bsps/arm/include/bsp/arm-a9mpcore-clock.h
- bsps/arm/include/bsp/arm-a9mpcore-irq.h
- bsps/arm/include/bsp/arm-a9mpcore-regs.h
- bsps/arm/include/bsp/arm-a9mpcore-start.h
- bsps/arm/include/bsp/arm-cp15-start.h
- bsps/arm/include/bsp/arm-errata.h
- bsps/arm/include/bsp/arm-gic-irq.h
- bsps/arm/include/bsp/arm-gic-regs.h
- bsps/arm/include/bsp/arm-gic-tm27.h
- bsps/arm/include/bsp/arm-gic.h
- bsps/arm/include/bsp/arm-pl011-regs.h
- bsps/arm/include/bsp/arm-pl011.h
- bsps/arm/include/bsp/arm-pl050-regs.h
- bsps/arm/include/bsp/arm-pl050.h
- bsps/arm/include/bsp/arm-pl111-fb.h
- bsps/arm/include/bsp/arm-pl111-regs.h
- bsps/arm/include/bsp/arm-release-id.h
- bsps/arm/include/bsp/armv7m-irq.h
- bsps/arm/include/bsp/clock-armv7m.h
- bsps/arm/include/bsp/linker-symbols.h
- bsps/arm/include/bsp/lpc-dma.h
- bsps/arm/include/bsp/lpc-emc.h
- bsps/arm/include/bsp/lpc-i2s.h
- bsps/arm/include/bsp/lpc-lcd.h
- bsps/arm/include/bsp/lpc-timer.h
- bsps/arm/include/bsp/start.h
- bsps/arm/include/bsp/zynq-uart-regs.h
- bsps/arm/include/bsp/zynq-uart.h
- destination: ${BSP_INCLUDEDIR}/libcpu
source:
- bsps/arm/include/libcpu/am335x.h
- bsps/arm/include/libcpu/mmu.h
- bsps/arm/include/libcpu/omap3.h
- bsps/arm/include/libcpu/omap_timer.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/shared/start/linkcmds.armv4
- bsps/arm/shared/start/linkcmds.armv7m
- bsps/arm/shared/start/linkcmds.base
ldflags: []
links: []
type: build
use-after: []
use-before: []

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mcpu=xscale
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,66 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: gumstix
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: gumstix
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/gumstix/include/bsp.h
- bsps/arm/gumstix/include/ffuart.h
- bsps/arm/gumstix/include/pxa255.h
- bsps/arm/gumstix/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/gumstix/include/bsp/irq.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/gumstix/start/linkcmds
links:
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: abi
- role: build-dependency
uid: objnet
- role: build-dependency
uid: optskyeye
- role: build-dependency
uid: start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/gumstix/btimer/btimer.c
- bsps/arm/gumstix/clock/clock.c
- bsps/arm/gumstix/console/ffuart.c
- bsps/arm/gumstix/console/uarts.c
- bsps/arm/gumstix/fb/fb.c
- bsps/arm/gumstix/irq/irq.c
- bsps/arm/gumstix/start/bspreset.c
- bsps/arm/gumstix/start/bspstart.c
- bsps/arm/gumstix/start/memmap.c
- bsps/arm/shared/cp15/arm920-mmu.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/legacy-console-control.c
- bsps/shared/dev/serial/legacy-console-select.c
- bsps/shared/dev/serial/legacy-console.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspgetworkarea-default.c
- bsps/shared/start/sbrk.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_NETWORKING
includes:
- cpukit/libnetworking
install: []
links: []
source:
- bsps/arm/gumstix/net/rtl8019.c
type: build

View File

@@ -0,0 +1,15 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: false
default-by-variant: []
description: |
If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
enabled-by: true
links: []
name: ON_SKYEYE
type: build

View File

@@ -0,0 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
asflags: []
build-type: start-file
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
includes: []
install-path: ${BSP_LIBDIR}
links: []
source:
- bsps/arm/gumstix/start/start.S
target: start.o
type: build

View File

@@ -0,0 +1,21 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -march=armv7-a
- -mthumb
- -mfpu=neon
- -mfloat-abi=hard
- -mtune=cortex-a7
default-by-variant: []
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
type: build

View File

@@ -0,0 +1,104 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: imx7
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: imx
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/imx/include/bsp.h
- bsps/arm/imx/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/arm/freescale/imx
source:
- bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h
- bsps/arm/imx/include/arm/freescale/imx/imx_ecspireg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_gpcreg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_i2creg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_iomuxreg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_iomuxvar.h
- bsps/arm/imx/include/arm/freescale/imx/imx_srcreg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_uartreg.h
- bsps/arm/imx/include/arm/freescale/imx/imx_wdogreg.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/imx/include/bsp/imx-gpio.h
- bsps/arm/imx/include/bsp/irq.h
- destination: ${BSP_LIBDIR}
source:
- bsps/arm/imx/start/linkcmds
- bsps/arm/imx/start/linkcmds
links:
- role: build-dependency
uid: ../grp
- role: build-dependency
uid: abi
- role: build-dependency
uid: objsmp
- role: build-dependency
uid: optcachedata
- role: build-dependency
uid: optcacheinst
- role: build-dependency
uid: optccmahb
- role: build-dependency
uid: optcmmecspi
- role: build-dependency
uid: optcmmipg
- role: build-dependency
uid: optcmmsdhci
- role: build-dependency
uid: optcmmuart
- role: build-dependency
uid: optconirq
- role: build-dependency
uid: optfdtcpyro
- role: build-dependency
uid: optfdtmxsz
- role: build-dependency
uid: optfdtro
- role: build-dependency
uid: optfdtuboot
- role: build-dependency
uid: optresetvec
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/imx/console/console-config.c
- bsps/arm/imx/gpio/imx-gpio.c
- bsps/arm/imx/i2c/imx-i2c.c
- bsps/arm/imx/spi/imx-ecspi.c
- bsps/arm/imx/start/bspreset.c
- bsps/arm/imx/start/bspstart.c
- bsps/arm/imx/start/bspstarthooks.c
- bsps/arm/imx/start/ccm.c
- bsps/arm/imx/start/imx_iomux.c
- bsps/arm/shared/cache/cache-cp15.c
- bsps/arm/shared/cache/cache-v7ar-disable-data.S
- bsps/arm/shared/clock/clock-generic-timer.c
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/irq/irq-gic.c
- bsps/arm/shared/start/bsp-start-memcpy.S
- bsps/shared/dev/btimer/btimer-stub.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bsp-fdt.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/stackalloc.c
type: build

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_SMP
includes: []
install: []
links: []
source:
- bsps/arm/imx/start/bspsmp.c
- bsps/arm/shared/start/arm-a9mpcore-smp.c
type: build

View File

@@ -0,0 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant:
- value: false
variants:
- arm/.*qemu
description: |
enable data cache
enabled-by: true
links: []
name: BSP_DATA_CACHE_ENABLED
type: build

Some files were not shown because too many files have changed in this diff Show More