From d671671f159cb6ba8c8ded9c9878cc33680bb729 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 1 Sep 2017 08:31:28 +0000 Subject: Callbacks handling added to STM32 GPIOv2, added F3 support to PAL callbacks demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10517 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../multi/PAL/cfg-stm32f303_discovery/portab.c | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c (limited to 'testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c') diff --git a/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c new file mode 100644 index 000000000..0918c108c --- /dev/null +++ b/testhal/STM32/multi/PAL/cfg-stm32f303_discovery/portab.c @@ -0,0 +1,51 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + 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. +*/ + +/** + * @file portab.c + * @brief Application portability module code. + * + * @addtogroup application_portability + * @{ + */ + +#include "portab.h" + +/*===========================================================================*/ +/* Module local definitions. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module exported variables. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module local types. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module local variables. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module local functions. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module exported functions. */ +/*===========================================================================*/ + +/** @} */ -- cgit v1.2.3