
5.2. Reference Patches
13
TypeABR AWS FreeRTOS SDK Getting Started Guide
5.2 Reference Patches
The provided patch
files
can also be used to complete the above reference solution for code changes.
•
murata_typeabr_module_board_for_amazon-freertos.patch
: This patch
file
is used for
modifying the board
file
for murata TypeABR module.
•
murata_typeabr_fixs_LastWillAndTestament_for_amazon-freertos.patch
:
This
patch
file
is used for modifying the SDK
files
to pass the LastWillAndTestament test.
Note:
The above patch
files
were generated based on
amazon-freertos
released tag
202002.00
.
To apply the patch, follow these steps:
Apply the
first
patch to run all the Amazon Freertos
certification
test. Then all the test results will be shown
PASS
except LastWillAndTestament
.
Apply the second patch, and this
LastWillAndTestament
will be tested alone, then test result for
LastWil-
lAndTestament
will be
PASS
.
5.3 Reference Running Logs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
~
# cd /path/to/amazon-freertos-202002.00
~
# cat /path/to/murata_typeabr_xxx.patch | patch -p1
FreeRTOS Started
Application Daemon Startup
Registered seed_handler
0 328 [Startup Hook] Write certificate...
Will attempt to start wlan
Wi-Fi module initialized. Connecting to AP...
1
24000 [IP-task] vDHCPProcess: offer c0a8328cip
2
33004 [IP-task] vDHCPProcess: offer c0a8328cip
Network connection successful.
Wi-Fi Connected to AP. Creating tasks which use network...
---------STARTING TESTS---------
3
36022 [IP-task] vDHCPProcess: offer c0a8328cip
4
36031 [IP-task] vDHCPProcess: offer c0a8328cip
Network connection successful.
5
41102 [RunTests_task] DNS[0x1525B8]: The answer to Node (36f92182ip) will be
C
→
stored
6
41102 [RunTests_task] DNS[0x1525B8]: The answer to Node (34c40b9cip) will be
C
→
stored
TEST(MQTT_System, LastWillAndTestament) PASS
-----------------------
1 Tests 0 Failures 0 Ignored
OK
-------ALL TESTS FINISHED-------