Add previously undefined constants

This commit is contained in:
Stefan Kerkmann 2021-04-06 10:36:30 +02:00
parent 2463c10bd6
commit fcb66ed300
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,6 @@
/*
ChibiOS - Copyright (C) 2021 Stefan Kerkmann
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
@ -27,6 +25,10 @@
#ifndef _ECLIC_PARAMETERS_H_
#define _ECLIC_PARAMETERS_H_
/* Not defined because FPU isn't present. GCC produces alot
of warnings if -Wundef is present, therefore this define. */
#define __riscv_flen 0
#include "gd32vf103.h"
#endif /* _ECLIC_PARAMETERS_H_ */

View File

@ -265,6 +265,8 @@
#define GD32_PREDV0SEL_PLL1 (1 << 16) /**< PREDV0 source is PLL1. */
/** @} */
#define GD32_PLLMF_VALUE_6P5 65
/*===========================================================================*/
/* Platform capabilities. */
/*===========================================================================*/