Apply to: Windows Embedded CE
如何在X86上支援多個COM ports????
請看一下說明:
藉由修改 registry 設定來達成~
ex:
增加第四個 COM port,
1. 於 "[BSP name].bat" 增加 "set BSP_SERIAL4=1".
2. 於 "platform.reg" 增加,
IF BSP_SERIAL4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4]
"SysIntr"=dword:1B ; 同 BIOS interrupt 加 0x10, 為 16 位元
"IoBase"=dword:02E8 ; 同 BIOS
"IoLen"=dword:8
"DeviceArrayIndex"=dword:3
"Prefix"="COM"
"Dll"="Com16550.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"=LOC_FRIENDLYNAME_SERIAL4
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL4