Fixed paths in IAR project for STM32L152-Discovery board.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3322 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
06d3e6325b
commit
eea844796a
|
@ -105,8 +105,8 @@
|
|||
PIN_PUDR_FLOATING(14) | \
|
||||
PIN_PUDR_FLOATING(15)))
|
||||
#define VAL_GPIOA_ODR 0xFFFFFFFF
|
||||
#define VAL_GPIOA_AFRL 0x00000000
|
||||
#define VAL_GPIOA_AFRH 0x00000000
|
||||
#define VAL_GPIOA_AFRL 0x00000000
|
||||
#define VAL_GPIOA_AFRH 0x00000000
|
||||
|
||||
/*
|
||||
* Port B setup.
|
||||
|
@ -127,8 +127,8 @@
|
|||
PIN_PUDR_FLOATING(GPIOB_LED4) | \
|
||||
PIN_PUDR_FLOATING(GPIOB_LED3)))
|
||||
#define VAL_GPIOB_ODR 0xFFFFFF3F
|
||||
#define VAL_GPIOB_AFRL 0x00000000
|
||||
#define VAL_GPIOB_AFRH 0x00000000
|
||||
#define VAL_GPIOB_AFRL 0x00000000
|
||||
#define VAL_GPIOB_AFRH 0x00000000
|
||||
|
||||
/*
|
||||
* Port C setup.
|
||||
|
@ -142,8 +142,8 @@
|
|||
#define VAL_GPIOC_PUPDR (~(PIN_PUDR_FLOATING(15) | \
|
||||
PIN_PUDR_FLOATING(14)))
|
||||
#define VAL_GPIOC_ODR 0xFFFFFFFF
|
||||
#define VAL_GPIOC_AFRL 0x00000000
|
||||
#define VAL_GPIOC_AFRH 0x00000000
|
||||
#define VAL_GPIOC_AFRL 0x00000000
|
||||
#define VAL_GPIOC_AFRH 0x00000000
|
||||
|
||||
/*
|
||||
* Port D setup.
|
||||
|
@ -154,8 +154,8 @@
|
|||
#define VAL_GPIOD_OSPEEDR 0xFFFFFFFF
|
||||
#define VAL_GPIOD_PUPDR 0xFFFFFFFF
|
||||
#define VAL_GPIOD_ODR 0xFFFFFFFF
|
||||
#define VAL_GPIOD_AFRL 0x00000000
|
||||
#define VAL_GPIOD_AFRH 0x00000000
|
||||
#define VAL_GPIOD_AFRL 0x00000000
|
||||
#define VAL_GPIOD_AFRH 0x00000000
|
||||
|
||||
/*
|
||||
* Port E setup.
|
||||
|
@ -166,8 +166,8 @@
|
|||
#define VAL_GPIOE_OSPEEDR 0xFFFFFFFF
|
||||
#define VAL_GPIOE_PUPDR 0xFFFFFFFF
|
||||
#define VAL_GPIOE_ODR 0xFFFFFFFF
|
||||
#define VAL_GPIOE_AFRL 0x00000000
|
||||
#define VAL_GPIOE_AFRH 0x00000000
|
||||
#define VAL_GPIOE_AFRL 0x00000000
|
||||
#define VAL_GPIOE_AFRH 0x00000000
|
||||
|
||||
/*
|
||||
* Port H setup.
|
||||
|
@ -178,8 +178,8 @@
|
|||
#define VAL_GPIOH_OSPEEDR 0xFFFFFFFF
|
||||
#define VAL_GPIOH_PUPDR 0xFFFFFFFF
|
||||
#define VAL_GPIOH_ODR 0xFFFFFFFF
|
||||
#define VAL_GPIOH_AFRL 0x00000000
|
||||
#define VAL_GPIOH_AFRH 0x00000000
|
||||
#define VAL_GPIOH_AFRL 0x00000000
|
||||
#define VAL_GPIOH_AFRH 0x00000000
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -115,14 +115,14 @@
|
|||
* @brief Enables the SERIAL subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL FALSE
|
||||
#define HAL_USE_SERIAL TRUE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Enables the SERIAL over USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_SERIAL_USB TRUE
|
||||
#define HAL_USE_SERIAL_USB FALSE
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -143,7 +143,7 @@
|
|||
* @brief Enables the USB subsystem.
|
||||
*/
|
||||
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
|
||||
#define HAL_USE_USB TRUE
|
||||
#define HAL_USE_USB FALSE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -295,9 +295,14 @@
|
|||
<name>CCIncludePath2</name>
|
||||
<state>$PROJ_DIR$\..\</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\kernel\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\common\ARMCMx\CMSIS\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\STM32L1xx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USBv1</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\boards\ST_STM32L_DISCOVERY</state>
|
||||
<state>$PROJ_DIR$\..\..\..\test</state>
|
||||
|
@ -1198,9 +1203,14 @@
|
|||
<name>CCIncludePath2</name>
|
||||
<state>$PROJ_DIR$\..\</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\kernel\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\common\ARMCMx\CMSIS\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\STM32L1xx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\include</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USBv1</state>
|
||||
<state>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx</state>
|
||||
<state>$PROJ_DIR$\..\..\..\boards\ST_STM32L_DISCOVERY</state>
|
||||
<state>$PROJ_DIR$\..\..\..\test</state>
|
||||
|
@ -2028,9 +2038,6 @@
|
|||
</group>
|
||||
<group>
|
||||
<name>platform</name>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\core_cm3.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\hal_lld.c</name>
|
||||
</file>
|
||||
|
@ -2038,16 +2045,22 @@
|
|||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\hal_lld.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\pal_lld.c</name>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2\pal_lld.c</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\pal_lld.h</name>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2\pal_lld.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\stm32_dma.c</name>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\serial_lld.c</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\stm32_dma.h</name>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\serial_lld.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1\stm32_dma.c</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1\stm32_dma.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\..\..\os\hal\platforms\STM32L1xx\stm32l1xx.h</name>
|
||||
|
|
|
@ -61,7 +61,7 @@ int main(void) {
|
|||
/*
|
||||
* Activates the serial driver 1 using the driver default configuration.
|
||||
*/
|
||||
// sdStart(&SD1, NULL);
|
||||
sdStart(&SD1, NULL);
|
||||
|
||||
/*
|
||||
* If the user button is pressed after the reset then the test suite is
|
||||
|
|
Loading…
Reference in New Issue