doc[XY1100]:Modify README_en
@@ -12,11 +12,11 @@ Assuming `<XY1100 Root>` to be the root directory of XinYi-XY1100 platform SDK:
1. Copy the entire BoAT-X-Framework directory into `<XY1100 Root>/userapp`.
-2. Create a new folder `boat_demo` under `<XY1100 Root>/userapp/demo`, copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/demo/boat_demo.c into `<XY1100 Root>/userapp/demo/boat_dem/`.
+2. Create a new folder `boat_demo` under `<XY1100 Root>/userapp/demo`, copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/platone_demo/boat_platone_demo.c into `<XY1100 Root>/userapp/demo/boat_demo/`.
-3. Copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/demo/my_contract.c into `<XY1100 Root>/userapp/demo/boat_demo`.
+3. Copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/platone_demo/my_contract.c into `<XY1100 Root>/userapp/demo/boat_demo`.
-4. Copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/demo/my_contract.h into `<XY1100 Root>/userapp/demo/boat_demo`.
+4. Copy BoAT-X-Framework/vendor/platform/XinYi-XY1100/XY1100RootDirCode/platone_demo/my_contract.h into `<XY1100 Root>/userapp/demo/boat_demo`.
After copying these files, the directory structure should look like:
@@ -41,7 +41,7 @@ After copying these files, the directory structure should look like:
|-- module.mk
|-- demo
| |-- boat_demo
- | | |-- boat_demo.c
+ | | |-- boat_platone_demo.c
| | |-- my_contract.c
| | |-- my_contract.h
```
@@ -54,7 +54,7 @@ After copying these files, the directory structure should look like:
Open `<XY1100 Root>/userapp/module.mk`
Add the following two lines as below:
```
-C_FILES_FLASH+=$(TOP_DIR)/userapp/demo/boat_demo/boat_demo.c
+C_FILES_FLASH+=$(TOP_DIR)/userapp/demo/boat_demo/boat_platone_demo.c
C_FILES_FLASH+=$(TOP_DIR)/userapp/demo/boat_demo/my_contract.c
```
@@ -128,7 +128,7 @@ endif
### 2. Build the demo program of XY1100, generate .bin file for download
- Demo code for accessing blockchain through BoAT-X Framework is in `<XY1100 Root>/userapp/demo/boat_demo/boat_demo.c`
+ Demo code for accessing blockchain through BoAT-X Framework is in `<XY1100 Root>/userapp/demo/boat_demo/boat_platone_demo.c`
Open a Linux shell and build the demo:
```
