git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5524 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2013-04-01 10:40:23 +00:00
parent 6c8a2507a8
commit 0e39ecd8bf
3 changed files with 18 additions and 14 deletions

View File

@ -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"); This file is part of ChibiOS/RT.
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 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 ChibiOS/RT is distributed in the hope that it will be useful,
distributed under the License is distributed on an "AS IS" BASIS, but WITHOUT ANY WARRANTY; without even the implied warranty of
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
See the License for the specific language governing permissions and GNU General Public License for more details.
limitations under the License.
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" #include "ch.h"

View File

@ -24,7 +24,7 @@
/* /*
* Board identifier. * Board identifier.
*/ */
#define BOARD_ST STM32373C-EVAL #define BOARD_ST_STM32373C_EVAL
#define BOARD_NAME "STMicroelectronics STM32373C-EVAL" #define BOARD_NAME "STMicroelectronics STM32373C-EVAL"
/* /*
@ -218,7 +218,7 @@
PIN_OTYPE_PUSHPULL(GPIOA_COMP2_OUT) | \ PIN_OTYPE_PUSHPULL(GPIOA_COMP2_OUT) | \
PIN_OTYPE_PUSHPULL(GPIOA_I2C2_SMB) | \ PIN_OTYPE_PUSHPULL(GPIOA_I2C2_SMB) | \
PIN_OTYPE_OPENDRAIN(GPIOA_I2C2_SCL) | \ 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_DM) | \
PIN_OTYPE_PUSHPULL(GPIOA_USB_DP) | \ PIN_OTYPE_PUSHPULL(GPIOA_USB_DP) | \
PIN_OTYPE_PUSHPULL(GPIOA_SWDIO) | \ PIN_OTYPE_PUSHPULL(GPIOA_SWDIO) | \

View File

@ -8,7 +8,7 @@
<output_path>..</output_path> <output_path>..</output_path>
</configuration_settings> </configuration_settings>
<board_name>STMicroelectronics STM32373C-EVAL</board_name> <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> <board_functions></board_functions>
<subtype>STM32F37X</subtype> <subtype>STM32F37X</subtype>
<clocks HSEFrequency="8000000" HSEBypass="false" LSEFrequency="32768" <clocks HSEFrequency="8000000" HSEBypass="false" LSEFrequency="32768"
@ -97,7 +97,7 @@
Alternate="4" /> Alternate="4" />
<pin10 <pin10
ID="I2C2_SDA" ID="I2C2_SDA"
Type="PushPull" Type="OpenDrain"
Speed="Maximum" Speed="Maximum"
Resistor="Floating" Resistor="Floating"
Level="High" Level="High"