pulp-runtime/include/chips/pulpissimo/config.h
Germain Haugou fa62145237 Few fixes
2019-12-15 17:33:38 +01:00

34 lines
1 KiB
C

/*
* Copyright (C) 2019 ETH Zurich, University of Bologna
*
* 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 __POS__CHIPS__PULP__CONFIG_H__
#define __POS__CHIPS__PULP__CONFIG_H__
#include "archi/pulp_defs.h"
#define PULP_CHIP CHIP_PULPISSIMO
#define PULP_CHIP_FAMILY CHIP_PULPISSIMO
#define CONFIG_PULPISSIMO 1
#define PULP_CHIP_STR pulpissimo
#define PULP_CHIP_FAMILY_STR pulpissimo
#if __PLATFORM__ == ARCHI_PLATFORM_FPGA
#define PERIPH_FREQUENCY 5000000
#else
#define PERIPH_FREQUENCY 50000000
#endif
#endif