This is a P8X32A/Propeller, P2X8C4M64P/Propeller 2 networking stack
IMPORTANT: This software is meant to be used with the spin-standard-library (P8X32A) or p2-spin-standard-library (P2X8C4M64P). Please install the applicable library first before attempting to use this code, otherwise you will be missing several files required to build the project.
- Ethernet II
- IP
- ARP
- UDP
- TCP
- ICMP
- BOOTP/DHCP
- Socket manager (TCP, single socket)
P1/SPIN1:
- spin-standard-library
- an object (e.g., network device driver) that provides FIFO R/W methods
P2/SPIN2:
- p2-spin-standard-library
- an object (e.g., network device driver) that provides FIFO R/W methods
Processor | Language | Compiler | Backend | Status |
---|---|---|---|---|
P1 | SPIN1 | FlexSpin (6.9.4) | Bytecode | OK |
P1 | SPIN1 | FlexSpin (6.9.4) | Native code | OK |
P2 | SPIN2 | FlexSpin (6.9.4) | NuCode | Untested |
P2 | SPIN2 | FlexSpin (6.9.4) | Native code | Untested |
(other versions or toolchains not listed are not supported, and may or may not work)
- Very early in development - may malfunction, or outright fail to build
- Some things are currently hardcoded
- API unstable (only one network device driver currently exists)
- IP only really supports 20-byte headers
- ICMP is currently very primitive - only enough is implemented to store/retrieve metadata and is written with enough to form reply messages to echo requests.