资 源 简 介
CAN Overlay Simulator - HOW TO
/! WORKING ON : add details
## Step by step ##
### Compile code ###
1. generate stubs
gras_stub_generator can_overlay can_overlay_deployement.xml
1. compile all
make -f can_overlay.mk
### Run tests ###
* simulation
./can_overlay_simulator platform.xml can_overlay_deployement.xml
* real excecution
./can_overlay_directory 12349
./can_overlay_peer 127.0.0.1 12349
## Using scripts for simulation ##
* run`test_ script
./runtest canoverlay platform.xml canoverlaydeployement.xml
* _clear`_`test_ script
./clean_test output/
```
Get results
loggig
There is 5 channels :
myCAN CAN_DEBUG CAN_DEBUG_V USER WORK_ON
the level of each channel can be specified at execution time
./can_overlay_simulator platform.xml can_overlay_deployement.xml --log=myCAN.thres:info --log=CAN_D