You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2022. It is now read-only.
This commit implements the simulator platform for endpoint.
The simulator is an instance of endpoint HAL, dedicated to control-flow
and protocol verification. The simulator will be used for testing the
endpoint functionality and verified the endpoint behavior.
The process of adding a new platform has been simplified. Only need
to provide "impl.c" and "build.mk" inside new platform. See
endpoint-hal.md for more information.
The section "hal/Makefile" inside endpoint-hal.md has been removed. The
hal/Makefile will not be used anymore.
Close#640
Implement a new device which is created under `devices` directory, and edit the Makefile. The example device is named as `mydevice`:
57
-
58
-
```makefile
59
-
all: mydevice.o
60
-
mydevice.o: impl.c
61
-
$(CC) $(CFLAGS) $(INCLUDES) -c $^ -o $@
62
-
```
63
-
64
-
`$(CC)`,`$(CFLAGS)` and `$(INCLUDES)` are specified by build system. `CC` sets the default compiler for the project. `CFLAGS` are the default flags that would be passed to default compiler during compiling time. `INCLUDES` flag includes headers inside sub-projects and third-party libraries. You can also modify these flags inside your device's Makefile.
The following platforms are verified platforms of endpoint
4
+
5
+
* simulator on x86_64 platform : The development platform for testing endpoint.
6
+
*[AirPrime WP7702 LPWA Module](https://www.sierrawireless.com/products-and-solutions/embedded-solutions/products/wp7702/) : The product platform for endpoint.
0 commit comments