diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-12 13:01:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-12 13:01:01 +0000 |
commit | 011c4581314e5db495a6bb089e10044a5949381b (patch) | |
tree | 3027d46e02b485c0a51e43c123403ce83ff0870f /nuttx/arch/arm/src/lm3s/chip.h | |
parent | 653293320a64e69454ee832e23bd2d9203580f92 (diff) | |
download | px4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.tar.gz px4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.tar.bz2 px4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.zip |
Fix some UART initialization problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1771 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lm3s/chip.h')
-rw-r--r-- | nuttx/arch/arm/src/lm3s/chip.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lm3s/chip.h b/nuttx/arch/arm/src/lm3s/chip.h index e0900c7df..9613e4c07 100644 --- a/nuttx/arch/arm/src/lm3s/chip.h +++ b/nuttx/arch/arm/src/lm3s/chip.h @@ -60,8 +60,28 @@ * Public Data ************************************************************************************/ -/************************************************************************************ - * Public Functions - ************************************************************************************/ +#ifndef __ASSEMBLY__ + +#undef EXTERN +#if defined(__cplusplus) +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +/* Defined in lm3s_lowputc.c */ + +EXTERN void up_lowsetup(void); + +#undef EXTERN +#if defined(__cplusplus) +} +#endif +#endif /* __ASSEMBLY__ */ #endif /* __ARCH_ARM_SRC_LM3S_CHIP_H */ |