User`s guide

238
K
A
DAK
KwikNet PPP Option
Reconstructing Your KwikNet Application
If you have not already done so, add your network serial device drivers to your
application. Start by reviewing your KwikNet board driver module KN_BOARD.C. Unless
you have modified the board driver, it supports four network interrupt sources. If
necessary, increase the number of supported network interrupt sources to allow support
for your network serial device drivers. If you are porting KwikNet for use with your
choice of RT/OS, your KwikNet OS Interface Module KN_OSIF.C must be updated to
support these additional network interrupt sources. If changes are made, be sure to
rebuild your
KwikNet Library and compile board driver module KN_BOARD.C.
Your application link and/or locate specification file must include the
KwikNet Library
which you built with support for PPP. The object modules for your network serial device
drivers must also be included in your link specification together with your other
application object modules.
With these changes in place, you can link and create an updated KwikNet application with
PPP support included.
AMX Considerations
When reconstructing a KwikNet application which uses the AMX Real-Time Multitasking
Kernel, adapt the procedure just described to include the following considerations.
You may have to edit your AMX User Parameter File to increase the size of the AMX
Interrupt Stack and the KwikNet Task stack to meet the needs of the PPP protocol. You
must then rebuild and compile your AMX System Configuration Module.
No changes to your AMX Target Configuration Module are required to support PPP
provided that your network serial device drivers are already part of your application.
If the KwikNet board driver module KN_BOARD.C is altered to increase the number of
supported network interrupt sources, your AMX Target Parameter File must be edited to
add the corresponding ISP definitions. If changes are made, be sure to rebuild and
compile your AMX Target Configuration Module and compile board driver module
KN_BOARD.C. When using KwikNet with AMX, there is no need to edit the KwikNet OS
Interface Module
KN_OSIF.C.