mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-16 14:07:36 +00:00
91beb8670f
The cc65 tool chain comes with V.24 drivers so it seems reasonable to use the existing Contiki SLIP driver to implement network access via SLIP as alternative to Ethernet. Some notes: - The Ethernet configuration was simplified in order to allow share it with SLIP. - The Contiki SLIP driver presumes an interrupt driven serial receiver to write into the SLIP buffer. However the cc65 V.24 drivers aren't up to that. Therefore the main loops were extended to pull received data from the V.24 buffers and push it into the SLIP buffer. - As far as I understand the serial sender is supposed to block until the data is sent. Therefore a loop calls the non-blocking V.24 driver until the data is sent. On all platforms there's only one V.24 driver available. Therefore V.24 drivers are always loaded statically. On the Apple][ the mouse driver is now loaded statically - independently from SLIP vs. Ethernet. After all there's only one mouse driver available. However there's a major benefit with SLIP: Here all drivers are loaded statically. Therefore the dynamic module loader isn't necessary at all. And without the loader the heap manager isn't necessary at all. This allows for a reduction in code size roughly compensating for the size of the SLIP buffer. |
||
---|---|---|
.. | ||
6502 | ||
apple2enh | ||
atarixl | ||
blaster | ||
c64 | ||
c128 | ||
cc2538-bsl@c6100a7794 | ||
code-style | ||
coffee-manager | ||
collect-view | ||
cooja | ||
csc | ||
cygwin | ||
jn516x | ||
mspsim@47ae45cb0f | ||
powertrace | ||
release-tools | ||
sensniff@0d57c1129b | ||
sky | ||
stm32w | ||
wpcapslip | ||
z80 | ||
zolertia | ||
avr-make-symbols | ||
avr-makecoffeedata | ||
avr-makefsdata | ||
base64-encode | ||
codeprop.c | ||
empty-symbols.c | ||
empty-symbols.h | ||
freebsd-6-setup-slip | ||
make-symbols-nm | ||
Makefile | ||
makefsdata | ||
makestrings | ||
mknmlist | ||
mknmlist-ansi | ||
msp430-make-symbols | ||
scat.c | ||
serial-log.pl | ||
setup-nat-ubuntu | ||
tapslip6.c | ||
timestamp | ||
tools-utils.c | ||
tools-utils.h | ||
tunslip6.c | ||
tunslip.c |