aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-18 12:14:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-18 12:14:48 +0000
commit3aa821af1a657f41cfb284f2ca60a695aa4b08c3 (patch)
tree3ebfb9eb621304ff76ae3447b18d72ef6839b93b /testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c
parent9863c4f33b79f94f0664cb2b10f0bce0e24dd62e (diff)
downloadChibiOS-3aa821af1a657f41cfb284f2ca60a695aa4b08c3.tar.gz
ChibiOS-3aa821af1a657f41cfb284f2ca60a695aa4b08c3.tar.bz2
ChibiOS-3aa821af1a657f41cfb284f2ca60a695aa4b08c3.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3637 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c')
-rw-r--r--testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c b/testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c
new file mode 100644
index 000000000..500e378de
--- /dev/null
+++ b/testhal/STM32F4xx/IRQ_STORM_FPU/extfunc.c
@@ -0,0 +1,27 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+float getfloat(float par) {
+ return par;
+}
+
+float setfloat(float par1, float par2, float par3, float par4) {
+ return (par1 + par2) * (par3 + par4);
+}