The posix platform should run fine on the eBox. Some native wuclasses need to be written to test the IO ports. I'll start with just the light actuator.
There is a small problem in the platform code though. Currently libraries can have different C code for different platforms, so posix and arduino can have different implementations for the native wuclasses, reprogramming, uart, etc.
However, for the eBox, we'll want to share most code with the normal posix platform. Only some cases, probably only the native wuclasses, need to have a eBox specific implementation.
I'll add a "subplatform" option to the libraries. Instead of just compiling
lib//c/common
lib//c/
also the code in
lib//c/_ will be included.
This way we can keep most code in the posix directories, and put specific code in posix_pc for running on a laptop and posix_ebox for running on the ebox.
The posix platform should run fine on the eBox. Some native wuclasses need to be written to test the IO ports. I'll start with just the light actuator.
There is a small problem in the platform code though. Currently libraries can have different C code for different platforms, so posix and arduino can have different implementations for the native wuclasses, reprogramming, uart, etc. However, for the eBox, we'll want to share most code with the normal posix platform. Only some cases, probably only the native wuclasses, need to have a eBox specific implementation.
I'll add a "subplatform" option to the libraries. Instead of just compiling lib//c/common
lib//c/
also the code in
lib//c/_ will be included.
This way we can keep most code in the posix directories, and put specific code in posix_pc for running on a laptop and posix_ebox for running on the ebox.