mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Change to use UART1.
This commit is contained in:
parent
4c8a5cfdad
commit
cefe46cdbe
|
@ -17,10 +17,10 @@ GRPOPT 2,(FreeRTOS),0,0,0
|
||||||
GRPOPT 3,(Stadard Demo),0,0,0
|
GRPOPT 3,(Stadard Demo),0,0,0
|
||||||
|
|
||||||
OPTFFF 1,1,2,0,0,0,0,0,<.\Startup.s><Startup.s>
|
OPTFFF 1,1,2,0,0,0,0,0,<.\Startup.s><Startup.s>
|
||||||
OPTFFF 1,2,1,0,0,0,0,0,<.\ParTest\ParTest.c><ParTest.c>
|
OPTFFF 1,2,1,503316480,0,0,0,0,<.\ParTest\ParTest.c><ParTest.c>
|
||||||
OPTFFF 1,3,1,2,0,151,151,0,<.\main.c><main.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,132,0,0,0,138,0,0,0,23,5,0,0,6,2,0,0 }
|
OPTFFF 1,3,1,2,0,149,155,0,<.\main.c><main.c> { 44,0,0,0,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,232,255,255,255,45,0,0,0,57,0,0,0,246,3,0,0,181,1,0,0 }
|
||||||
OPTFFF 1,4,1,234881024,0,0,0,0,<.\serial\serial.c><serial.c>
|
OPTFFF 1,4,1,0,0,0,0,0,<.\serial\serial.c><serial.c>
|
||||||
OPTFFF 1,5,2,67108864,0,0,0,0,<.\serial\serialISR.s><serialISR.s>
|
OPTFFF 1,5,2,0,0,0,0,0,<.\serial\serialISR.s><serialISR.s>
|
||||||
OPTFFF 2,6,1,0,0,0,0,0,<..\..\Source\tasks.c><tasks.c>
|
OPTFFF 2,6,1,0,0,0,0,0,<..\..\Source\tasks.c><tasks.c>
|
||||||
OPTFFF 2,7,1,0,0,0,0,0,<..\..\Source\list.c><list.c>
|
OPTFFF 2,7,1,0,0,0,0,0,<..\..\Source\list.c><list.c>
|
||||||
OPTFFF 2,8,1,0,0,0,0,0,<..\..\Source\queue.c><queue.c>
|
OPTFFF 2,8,1,0,0,0,0,0,<..\..\Source\queue.c><queue.c>
|
||||||
|
@ -49,16 +49,15 @@ TARGOPT 1, (RTOSDemo_ARM)
|
||||||
OPTBL 0,(Data Sheet)<DATASHTS\PHILIPS\LPC2119_2129.PDF>
|
OPTBL 0,(Data Sheet)<DATASHTS\PHILIPS\LPC2119_2129.PDF>
|
||||||
OPTBL 1,(User Manual)<DATASHTS\PHILIPS\user_manual_LPC2119_2129_2194_2292_2294.PDF>
|
OPTBL 1,(User Manual)<DATASHTS\PHILIPS\user_manual_LPC2119_2129_2194_2292_2294.PDF>
|
||||||
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
||||||
OPTDBG 48125,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
OPTDBG 49150,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
||||||
|
OPTKEY 0,(DLGTARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=932,102,1307,529,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
||||||
|
OPTKEY 0,(UL2ARM)(-UU0605F6E -O47 -S0 -C0 -N00("ARM7TDMI-S Core") -D00(4F1F0F0F) -L00(4) -FO7 -FD40000000 -FC800 -FN1 -FF0LPC_IAP_256 -FS00 -FL03E000)
|
||||||
OPTKEY 0,(DLGDARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
OPTKEY 0,(DLGDARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
||||||
OPTKEY 0,(ARMDBGFLAGS)(-T5F)
|
OPTKEY 0,(ARMDBGFLAGS)(-T5F)
|
||||||
OPTDF 0x1000086
|
OPTBB 0,0,303,1,1676,0,0,0,0,1,<serial.c>()()
|
||||||
|
OPTDF 0x86
|
||||||
OPTLE <>
|
OPTLE <>
|
||||||
OPTLC <>
|
OPTLC <>
|
||||||
OPTLA 0,((Port1 & 0x10000) >> 16)(0000FF000000000000000000000000000000F0BF010000006400000000E8764817000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000024030000)
|
|
||||||
OPTLA 1,((Port1 & 0x20000) >> 17)(0000FF000000000000000000000000000000F0BF010000006400000000E8764817000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000024030000)
|
|
||||||
OPTLA 2,((Port1 & 0x40000) >> 18)(0000FF000000000000000000000000000000F0BF010000006400000000E8764817000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000024030000)
|
|
||||||
OPTLA 3,((Port1 & 0x80000) >> 19)(0000FF000000000000000000000000000000F0BF010000006400000000E8764817000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000024030000)
|
|
||||||
EndOpt
|
EndOpt
|
||||||
|
|
||||||
TARGOPT 2, (RTOSDemo_THUMB)
|
TARGOPT 2, (RTOSDemo_THUMB)
|
||||||
|
@ -74,15 +73,13 @@ TARGOPT 2, (RTOSDemo_THUMB)
|
||||||
OPTBL 0,(Data Sheet)<DATASHTS\PHILIPS\LPC2119_2129.PDF>
|
OPTBL 0,(Data Sheet)<DATASHTS\PHILIPS\LPC2119_2129.PDF>
|
||||||
OPTBL 1,(User Manual)<DATASHTS\PHILIPS\user_manual_LPC2119_2129_2194_2292_2294.PDF>
|
OPTBL 1,(User Manual)<DATASHTS\PHILIPS\user_manual_LPC2119_2129_2194_2292_2294.PDF>
|
||||||
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
||||||
OPTDBG 48125,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
OPTDBG 49150,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
||||||
|
OPTKEY 0,(DLGTARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
||||||
|
OPTKEY 0,(UL2ARM)(-UU0605F6E -O39 -S0 -C0 -N00("ARM7TDMI-S Core") -D00(4F1F0F0F) -L00(4) -FO19 -FD40000000 -FC800 -FN1 -FF0LPC_IAP_256 -FS00 -FL03E000)
|
||||||
OPTKEY 0,(DLGDARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
OPTKEY 0,(DLGDARM)((134=-1,-1,-1,-1,0)(135=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(101=-1,-1,-1,-1,0)(113=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0)(136=-1,-1,-1,-1,0)(117=-1,-1,-1,-1,0)(118=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(114=-1,-1,-1,-1,0)(119=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(115=-1,-1,-1,-1,0)(116=-1,-1,-1,-1,0))
|
||||||
OPTKEY 0,(ARMDBGFLAGS)(-T5F)
|
OPTKEY 0,(ARMDBGFLAGS)(-T5F)
|
||||||
OPTDF 0x1000086
|
OPTDF 0x86
|
||||||
OPTLE <>
|
OPTLE <>
|
||||||
OPTLC <>
|
OPTLC <>
|
||||||
OPTLA 0,((Port1 & 0x10000) >> 16)(0000FF000000000000000000000000000000F0BF010000006400000000743BA40B000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000054220000)
|
|
||||||
OPTLA 1,((Port1 & 0x20000) >> 17)(0000FF000000000000000000000000000000F0BF010000006400000000743BA40B000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000054220000)
|
|
||||||
OPTLA 2,((Port1 & 0x40000) >> 18)(0000FF000000000000000000000000000000F0BF010000006400000000743BA40B000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000054220000)
|
|
||||||
OPTLA 3,((Port1 & 0x80000) >> 19)(0000FF000000000000000000000000000000F0BF010000006400000000743BA40B000000506F72743100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000054220000)
|
|
||||||
EndOpt
|
EndOpt
|
||||||
|
|
||||||
|
|
|
@ -111,10 +111,10 @@ Options 1,0,0 // Target 'RTOSDemo_ARM'
|
||||||
ADSLDIF ()
|
ADSLDIF ()
|
||||||
ADSLDDW ()
|
ADSLDDW ()
|
||||||
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
||||||
OPTDBG 48125,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
OPTDBG 49150,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
||||||
FLASH1 { 2,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0 }
|
FLASH1 { 1,0,0,0,1,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0 }
|
||||||
FLASH2 ()
|
FLASH2 (BIN\UL2ARM.DLL)
|
||||||
FLASH3 (LPC210x_ISP.EXE ("#H" ^X $D COM1: 9600 1))
|
FLASH3 ("LPC210x_ISP.EXE" ("#H" ^X $D COM1: 9600 1))
|
||||||
FLASH4 ()
|
FLASH4 ()
|
||||||
EndOpt
|
EndOpt
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ Options 2,0,0 // Target 'RTOSDemo_THUMB'
|
||||||
OutName (RTOSDemo)
|
OutName (RTOSDemo)
|
||||||
GenApp=1
|
GenApp=1
|
||||||
GenLib=0
|
GenLib=0
|
||||||
GenHex=0
|
GenHex=1
|
||||||
Debug=1
|
Debug=1
|
||||||
Browse=1
|
Browse=1
|
||||||
LstDir (.\)
|
LstDir (.\)
|
||||||
|
@ -201,10 +201,10 @@ Options 2,0,0 // Target 'RTOSDemo_THUMB'
|
||||||
ADSLDIF ()
|
ADSLDIF ()
|
||||||
ADSLDDW ()
|
ADSLDDW ()
|
||||||
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC21x9)(SARM.DLL)()(TARMP.DLL)(-pLPC21x9)
|
||||||
OPTDBG 48125,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
OPTDBG 49150,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()()
|
||||||
FLASH1 { 2,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0 }
|
FLASH1 { 1,0,0,0,1,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0 }
|
||||||
FLASH2 ()
|
FLASH2 (BIN\UL2ARM.DLL)
|
||||||
FLASH3 (LPC210x_ISP.EXE ("#H" ^X $D COM1: 9600 1))
|
FLASH3 ("LPC210x_ISP.EXE" ("#H" ^X $D COM1: 9600 1))
|
||||||
FLASH4 ()
|
FLASH4 ()
|
||||||
EndOpt
|
EndOpt
|
||||||
|
|
||||||
|
|
|
@ -4,36 +4,9 @@
|
||||||
<h1>µVision3 Build Log</h1>
|
<h1>µVision3 Build Log</h1>
|
||||||
<h2>Project:</h2>
|
<h2>Project:</h2>
|
||||||
C:\E\Dev\FreeRTOS\WorkingCopy2\Demo\ARM7_LPC2129_Keil_RVDS\RTOSDemo.uv2
|
C:\E\Dev\FreeRTOS\WorkingCopy2\Demo\ARM7_LPC2129_Keil_RVDS\RTOSDemo.uv2
|
||||||
Project File Date: 10/23/2008
|
Project File Date: 10/24/2008
|
||||||
|
|
||||||
<h2>Output:</h2>
|
<h2>Output:</h2>
|
||||||
Build target 'RTOSDemo_THUMB'
|
|
||||||
assembling Startup.s...
|
|
||||||
compiling ParTest.c...
|
|
||||||
compiling main.c...
|
|
||||||
compiling serial.c...
|
|
||||||
assembling serialISR.s...
|
|
||||||
compiling tasks.c...
|
|
||||||
compiling list.c...
|
|
||||||
compiling queue.c...
|
|
||||||
compiling port.c...
|
|
||||||
compiling heap_2.c...
|
|
||||||
assembling portASM.s...
|
|
||||||
compiling flash.c...
|
|
||||||
compiling integer.c...
|
|
||||||
compiling comtest.c...
|
|
||||||
compiling BlockQ.c...
|
|
||||||
compiling dynamic.c...
|
|
||||||
compiling PollQ.c...
|
|
||||||
compiling semtest.c...
|
|
||||||
linking...
|
|
||||||
RTOSDemo.axf: Error: L6218E: Undefined symbol vPortYield (referred from tasks.o).
|
|
||||||
Target not created
|
|
||||||
Build target 'RTOSDemo_THUMB'
|
|
||||||
assembling portASM.s...
|
|
||||||
linking...
|
|
||||||
Program Size: Code=10844 RO-data=32 RW-data=208 ZI-data=15696
|
|
||||||
"RTOSDemo.axf" - 0 Error(s), 0 Warning(s).
|
|
||||||
Clean started: Project: 'RTOSDemo'
|
Clean started: Project: 'RTOSDemo'
|
||||||
deleting intermediate output files for target 'RTOSDemo_ARM'
|
deleting intermediate output files for target 'RTOSDemo_ARM'
|
||||||
deleting intermediate output files for target 'RTOSDemo_THUMB'
|
deleting intermediate output files for target 'RTOSDemo_THUMB'
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
### ADS-LD Output File: 'RTOSDemo.axf'
|
### ADS-LD Output File: 'RTOSDemo.axf'
|
||||||
### ADS-LD Command File: 'RTOSDemo.lnp'
|
### ADS-LD Command File: 'RTOSDemo.lnp'
|
||||||
### Checking for dirty Components...
|
### Checking for dirty Components...
|
||||||
### Creating CmdFile 'RTOSDemo.lnp', Handle=0x00000214
|
### Creating CmdFile 'RTOSDemo.lnp', Handle=0x000004F4
|
||||||
### Writing '.lnp' file
|
### Writing '.lnp' file
|
||||||
### ADS-LD Command file 'RTOSDemo.lnp' is ready.
|
### ADS-LD Command file 'RTOSDemo.lnp' is ready.
|
||||||
### ADS-LD: About to start ADS-LD Thread.
|
### ADS-LD: About to start ADS-LD Thread.
|
||||||
|
|
|
@ -95,8 +95,8 @@
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Constants to setup I/O and processor. */
|
/* Constants to setup I/O and processor. */
|
||||||
#define mainTX_ENABLE ( ( unsigned portLONG ) 0x0001 )
|
#define mainTX_ENABLE ( ( unsigned portLONG ) 0x00010000 ) /* UART1. */
|
||||||
#define mainRX_ENABLE ( ( unsigned portLONG ) 0x0004 )
|
#define mainRX_ENABLE ( ( unsigned portLONG ) 0x00040000 ) /* UART1. */
|
||||||
#define mainBUS_CLK_FULL ( ( unsigned portCHAR ) 0x01 )
|
#define mainBUS_CLK_FULL ( ( unsigned portCHAR ) 0x01 )
|
||||||
#define mainLED_TO_OUTPUT ( ( unsigned portLONG ) 0xff0000 )
|
#define mainLED_TO_OUTPUT ( ( unsigned portLONG ) 0xff0000 )
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ static void prvSetupHardware( void )
|
||||||
/* Perform the hardware setup required. This is minimal as most of the
|
/* Perform the hardware setup required. This is minimal as most of the
|
||||||
setup is managed by the settings in the project file. */
|
setup is managed by the settings in the project file. */
|
||||||
|
|
||||||
/* Configure the RS2332 pins. All other pins remain at their default of 0. */
|
/* Configure the UART1 pins. All other pins remain at their default of 0. */
|
||||||
PINSEL0 |= mainTX_ENABLE;
|
PINSEL0 |= mainTX_ENABLE;
|
||||||
PINSEL0 |= mainRX_ENABLE;
|
PINSEL0 |= mainRX_ENABLE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue