|
92 | 92 |  |
93 | 93 | - Run <em>bash <embARC>/apply_embARC_patch.sh</em> in shell environment (Linux or Cygwin) to download required source code and patch them. |
94 | 94 |  |
95 | | - - Seperate patch scripts location. You can also run the separate patch script to patch the source code that you need. |
| 95 | + - Separate patch scripts location. You can also run the separate patch script to patch the source code that you need. |
96 | 96 | - <em><embARC>/middleware/wolfssl/apply_embARC_patch.sh</em> |
97 | 97 | - <em><embARC>/middleware/matrixssl/apply_embARC_patch.sh</em> |
98 | 98 | - <em><embARC>/middleware/mbedtls/apply_embARC_patch.sh</em> |
|
102 | 102 |
|
103 | 103 | \subsection subsect_example_usage_PFE_SetupBoardEnv Set Up the Board Environment |
104 | 104 | + Set a WiFi hotspot with **WPA/WPA2 PSK** encrypted. Some changes in board/board.h should be made before running embARC examples. |
| 105 | + - Take a look at the board/board.h, and go to corresponding header file, such as for emsk, you need to go to board/emsk/emsk.h |
105 | 106 | - Set the WiFi hotspot name to "embARC" (just the characters in quotation marks). |
106 | 107 | - Set the WiFi hotspot IP address range from "192.168.43.1" to "192.168.43.254". |
107 | 108 | - Set the WiFi password to "qazwsxedc" (just the characters in quotation marks). |
108 | 109 |
|
109 | | - If the WiFi hotspot IP address settings cannot be changed, the settings in board/board.h must be modified. |
| 110 | + If the WiFi hotspot IP address settings cannot be changed, the settings in the board setting header file must be modified. |
110 | 111 | \code{.c} |
111 | 112 | #define WF_IPADDR_1 (192) |
112 | 113 | #define WF_IPADDR_2 (168) |
|
160 | 161 | - The default UART baudrate is 115200 bps. |
161 | 162 | - In the Tera Term menu, select **Setup** -> **Serial Port** and change the settings for port and baudrate. |
162 | 163 |
|
163 | | -\note If the hotspot IP address range is not similar to "192.168.43.xxx", the IP address settings of the EMSK board should be changed in board/board.h. The baremetal examples don't support DHCP. A static IP address is required. |
| 164 | +\note If the hotspot IP address range is not similar to "192.168.43.xxx", the IP address settings of the EMSK board should be changed in corresponding board header file. The baremetal examples don't support DHCP. A static IP address is required. |
164 | 165 |
|
165 | 166 | \section sect_example_usage_GeneralBuildSteps General Build and Run Steps |
166 | 167 | \subsection subsect_example_usage_GBS_FastSteps Quick start |
|
0 commit comments