aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM32373C_EVAL
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-01 10:40:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-01 10:40:23 +0000
commit0e39ecd8bfa36d89ca1fead2ae43068d9bdc9516 (patch)
tree8d218a504e4f60d8f2a604e12661c93436f4c74c /boards/ST_STM32373C_EVAL
parent6c8a2507a88047d8165859e787520d2cf902259d (diff)
downloadChibiOS-0e39ecd8bfa36d89ca1fead2ae43068d9bdc9516.tar.gz
ChibiOS-0e39ecd8bfa36d89ca1fead2ae43068d9bdc9516.tar.bz2
ChibiOS-0e39ecd8bfa36d89ca1fead2ae43068d9bdc9516.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5524 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM32373C_EVAL')
-rw-r--r--boards/ST_STM32373C_EVAL/board.c24
-rw-r--r--boards/ST_STM32373C_EVAL/board.h4
-rw-r--r--boards/ST_STM32373C_EVAL/cfg/board.chcfg4
3 files changed, 18 insertions, 14 deletions
diff --git a/boards/ST_STM32373C_EVAL/board.c b/boards/ST_STM32373C_EVAL/board.c
index baafd6550..3b54b4fe5 100644
--- a/boards/ST_STM32373C_EVAL/board.c
+++ b/boards/ST_STM32373C_EVAL/board.c
@@ -1,17 +1,21 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011,2012 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
+ This file is part of ChibiOS/RT.
- http://www.apache.org/licenses/LICENSE-2.0
+ 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.
- 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.
+ 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/>.
*/
#include "ch.h"
diff --git a/boards/ST_STM32373C_EVAL/board.h b/boards/ST_STM32373C_EVAL/board.h
index 0fac7f27e..13676e7e6 100644
--- a/boards/ST_STM32373C_EVAL/board.h
+++ b/boards/ST_STM32373C_EVAL/board.h
@@ -24,7 +24,7 @@
/*
* Board identifier.
*/
-#define BOARD_ST STM32373C-EVAL
+#define BOARD_ST_STM32373C_EVAL
#define BOARD_NAME "STMicroelectronics STM32373C-EVAL"
/*
@@ -218,7 +218,7 @@
PIN_OTYPE_PUSHPULL(GPIOA_COMP2_OUT) | \
PIN_OTYPE_PUSHPULL(GPIOA_I2C2_SMB) | \
PIN_OTYPE_OPENDRAIN(GPIOA_I2C2_SCL) | \
- PIN_OTYPE_PUSHPULL(GPIOA_I2C2_SDA) | \
+ PIN_OTYPE_OPENDRAIN(GPIOA_I2C2_SDA) | \
PIN_OTYPE_PUSHPULL(GPIOA_USB_DM) | \
PIN_OTYPE_PUSHPULL(GPIOA_USB_DP) | \
PIN_OTYPE_PUSHPULL(GPIOA_SWDIO) | \
diff --git a/boards/ST_STM32373C_EVAL/cfg/board.chcfg b/boards/ST_STM32373C_EVAL/cfg/board.chcfg
index 1aafa29f8..85f428ef8 100644
--- a/boards/ST_STM32373C_EVAL/cfg/board.chcfg
+++ b/boards/ST_STM32373C_EVAL/cfg/board.chcfg
@@ -8,7 +8,7 @@
<output_path>..</output_path>
</configuration_settings>
<board_name>STMicroelectronics STM32373C-EVAL</board_name>
- <board_id>ST STM32373C-EVAL</board_id>
+ <board_id>ST_STM32373C_EVAL</board_id>
<board_functions></board_functions>
<subtype>STM32F37X</subtype>
<clocks HSEFrequency="8000000" HSEBypass="false" LSEFrequency="32768"
@@ -97,7 +97,7 @@
Alternate="4" />
<pin10
ID="I2C2_SDA"
- Type="PushPull"
+ Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"