License cleanup
This commit is contained in:
parent
39f9ee21e4
commit
7c32c6aab2
@ -1,3 +1,18 @@
|
|||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# Copyright 2017 eyck@minres.com
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
# use this file except in compliance with the License. You may obtain a copy
|
||||||
|
# of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations under
|
||||||
|
# the License.
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
cmake_minimum_required (VERSION 2.8.12)
|
cmake_minimum_required (VERSION 2.8.12)
|
||||||
|
|
||||||
# Add executable called "simple_system" that is built from the source files
|
# Add executable called "simple_system" that is built from the source files
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Copyright 2017 eyck@minres.com
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
|
* of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
******************************************************************************/
|
||||||
#ifndef _E300_PLAT_MAP_H_
|
#ifndef _E300_PLAT_MAP_H_
|
||||||
#define _E300_PLAT_MAP_H_
|
#define _E300_PLAT_MAP_H_
|
||||||
// need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191
|
// need double braces, see https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191
|
||||||
|
@ -1,37 +1,18 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Created on: Sun Sep 17 23:56:50 CEST 2017
|
|
||||||
// * gpio_regs.h Author: <RDL Generator>
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _GPIO_REGS_H_
|
#ifndef _GPIO_REGS_H_
|
||||||
#define _GPIO_REGS_H_
|
#define _GPIO_REGS_H_
|
||||||
|
@ -1,37 +1,18 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Created on: Sun Sep 17 23:56:50 CEST 2017
|
|
||||||
// * spi_regs.h Author: <RDL Generator>
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _SPI_REGS_H_
|
#ifndef _SPI_REGS_H_
|
||||||
#define _SPI_REGS_H_
|
#define _SPI_REGS_H_
|
||||||
|
@ -1,37 +1,18 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Created on: Sun Sep 17 23:56:50 CEST 2017
|
|
||||||
// * uart_regs.h Author: <RDL Generator>
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _UART_REGS_H_
|
#ifndef _UART_REGS_H_
|
||||||
#define _UART_REGS_H_
|
#define _UART_REGS_H_
|
||||||
|
@ -1,37 +1,17 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
// Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// modification, are permitted provided that the following conditions are met:
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
//
|
// of the License at
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer.
|
|
||||||
//
|
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
|
||||||
// and/or other materials provided with the distribution.
|
|
||||||
//
|
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations under
|
||||||
|
// the License.
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
|
@ -1,38 +1,18 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _GPIO_H_
|
#ifndef _GPIO_H_
|
||||||
#define _GPIO_H_
|
#define _GPIO_H_
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Copyright 2017 ubuntu
|
// Copyright 2017 eyck@minres.com
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// use this file except in compliance with the License. You may obtain a copy
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
@ -17,7 +17,7 @@
|
|||||||
* sc_main.cpp
|
* sc_main.cpp
|
||||||
*
|
*
|
||||||
* Created on: 17.09.2017
|
* Created on: 17.09.2017
|
||||||
* Author: ubuntu
|
* Author: eyck@minres.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "simple_system.h"
|
#include "simple_system.h"
|
||||||
|
@ -1,8 +1,23 @@
|
|||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Copyright 2017 eyck@minres.com
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
|
// of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations under
|
||||||
|
// the License.
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/*
|
/*
|
||||||
* simplesystem.cpp
|
* simplesystem.cpp
|
||||||
*
|
*
|
||||||
* Created on: 17.09.2017
|
* Created on: 17.09.2017
|
||||||
* Author: ubuntu
|
* Author: eyck@minres.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "simple_system.h"
|
#include "simple_system.h"
|
||||||
|
@ -1,8 +1,23 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Copyright 2017 eyck@minres.com
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
|
* of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
******************************************************************************/
|
||||||
/*
|
/*
|
||||||
* simplesystem.h
|
* simplesystem.h
|
||||||
*
|
*
|
||||||
* Created on: 17.09.2017
|
* Created on: 17.09.2017
|
||||||
* Author: ubuntu
|
* Author: eyck@minres.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SIMPLESYSTEM_H_
|
#ifndef SIMPLESYSTEM_H_
|
||||||
|
@ -1,37 +1,17 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
// Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// modification, are permitted provided that the following conditions are met:
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
//
|
// of the License at
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer.
|
|
||||||
//
|
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
|
||||||
// and/or other materials provided with the distribution.
|
|
||||||
//
|
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations under
|
||||||
|
// the License.
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "spi.h"
|
#include "spi.h"
|
||||||
|
@ -1,38 +1,18 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _SPI_H_
|
#ifndef _SPI_H_
|
||||||
#define _SPI_H_
|
#define _SPI_H_
|
||||||
|
@ -1,8 +1,23 @@
|
|||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Copyright 2017 eyck@minres.com
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
|
// of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations under
|
||||||
|
// the License.
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/*
|
/*
|
||||||
* test_initiator.cpp
|
* test_initiator.cpp
|
||||||
*
|
*
|
||||||
* Created on: 17.09.2017
|
* Created on: 17.09.2017
|
||||||
* Author: ubuntu
|
* Author: eyck@minres.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "test_initiator.h"
|
#include "test_initiator.h"
|
||||||
|
@ -1,12 +1,27 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Copyright 2017 eyck@minres.com
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
|
* of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations under
|
||||||
|
* the License.
|
||||||
|
******************************************************************************/
|
||||||
/*
|
/*
|
||||||
* test_initiator.h
|
* test_initiator.h
|
||||||
*
|
*
|
||||||
* Created on: 17.09.2017
|
* Created on: 17.09.2017
|
||||||
* Author: ubuntu
|
* Author: eyck@minres.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SIMPLE_SYSTEM_TEST_INITIATOR_H_
|
#ifndef _TEST_INITIATOR_H_
|
||||||
#define SIMPLE_SYSTEM_TEST_INITIATOR_H_
|
#define _TEST_INITIATOR_H_
|
||||||
|
|
||||||
#include <tlm_utils/simple_initiator_socket.h>
|
#include <tlm_utils/simple_initiator_socket.h>
|
||||||
#include <systemc>
|
#include <systemc>
|
||||||
@ -25,4 +40,4 @@ protected:
|
|||||||
|
|
||||||
} /* namespace sysc */
|
} /* namespace sysc */
|
||||||
|
|
||||||
#endif /* SIMPLE_SYSTEM_TEST_INITIATOR_H_ */
|
#endif /* _TEST_INITIATOR_H_ */
|
||||||
|
@ -1,37 +1,17 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
// Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or without
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// modification, are permitted provided that the following conditions are met:
|
// use this file except in compliance with the License. You may obtain a copy
|
||||||
//
|
// of the License at
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer.
|
|
||||||
//
|
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
|
||||||
// and/or other materials provided with the distribution.
|
|
||||||
//
|
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations under
|
||||||
|
// the License.
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
|
@ -1,41 +1,21 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
/*******************************************************************************
|
||||||
// Copyright (C) 2017, MINRES Technologies GmbH
|
* Copyright 2017 eyck@minres.com
|
||||||
// All rights reserved.
|
*
|
||||||
//
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||||
// Redistribution and use in source and binary forms, with or without
|
* use this file except in compliance with the License. You may obtain a copy
|
||||||
// modification, are permitted provided that the following conditions are met:
|
* of the License at
|
||||||
//
|
*
|
||||||
// 1. Redistributions of source code must retain the above copyright notice,
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
// this list of conditions and the following disclaimer.
|
*
|
||||||
//
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
// and/or other materials provided with the distribution.
|
* License for the specific language governing permissions and limitations under
|
||||||
//
|
* the License.
|
||||||
// 3. Neither the name of the copyright holder nor the names of its contributors
|
******************************************************************************/
|
||||||
// may be used to endorse or promote products derived from this software
|
|
||||||
// without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
//
|
|
||||||
// Contributors:
|
|
||||||
// eyck@minres.com - initial API and implementation
|
|
||||||
//
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef RISCV_INCL_SYSC_SIFIVE_UART_H_
|
#ifndef _UART_H_
|
||||||
#define RISCV_INCL_SYSC_SIFIVE_UART_H_
|
#define _UART_H_
|
||||||
|
|
||||||
#include "gen/uart_regs.h"
|
#include "gen/uart_regs.h"
|
||||||
|
|
||||||
@ -53,4 +33,4 @@ protected:
|
|||||||
|
|
||||||
} /* namespace sysc */
|
} /* namespace sysc */
|
||||||
|
|
||||||
#endif /* RISCV_INCL_SYSC_SIFIVE_UART_H_ */
|
#endif /* _UART_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user