Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Menzopol <[email protected]>
  • Loading branch information
andrei-menzopol committed Feb 5, 2024
1 parent 8039eef commit 348d768
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions examples/lighting-app/nxp/k32w/k32w1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ changed, the names must be updated in `k32w1_app.ld`. See
[k32w1_app.ld](../../../../platform/nxp/k32w/k32w1/app/ldscripts/k32w1_app.ld)
for names and `SMU2` memory range size.

The OpenThread buffers can be allocated from a 13KB SMU2 range after a
successful commmissioning process until a factory reset is initiated. This way,
The OpenThread buffers can be allocated from a 13KB `SMU2` range after a
successful commissioning process until a factory reset is initiated. This way,
the OpenThread buffers will be dynamically allocated instead of statically,
freeing some SRAM. To enable this feature compile with OpenThread FTD support
freeing some `SRAM`. To enable this feature compile with OpenThread FTD support
(`chip_openthread_ftd=true`) and with `use_smu2_dynamic=true`.

## Manufacturing data
Expand Down
14 changes: 7 additions & 7 deletions examples/lock-app/nxp/k32w/k32w1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ states are depicted:
**RGB LED** shows the state of the simulated light bulb. When the LED is lit the
light bulb is on; when not lit, the light bulb is off.

**Button SW2** can be used to start BLE adevertising. A SHORT press of the
buttton will enable Bluetooth LE advertising for a predefined period of time.
**Button SW2** can be used to start BLE advertising. A SHORT press of the
button will enable Bluetooth LE advertising for a predefined period of time.

**Button SW2 LP** can be used to reset the device to a default state. A LONG
Press Button SW2 initiates a factory reset. After an initial period of 3
Expand Down Expand Up @@ -153,7 +153,7 @@ set to 1.

The resulting output file can be found in out/debug/chip-k32w1-light-example.

Also chip-k32w1-light-example.srec cand be found in the directory. This can be
Also `chip-k32w1-light-example.srec` can be found in the directory. This can be
used for flashing with jlink.exe

## Manufacturing data
Expand All @@ -169,20 +169,20 @@ For a full guide on manufacturing flow, please see

Program the CM33 image by using Jlink.exe using the following steps:

1. Copy chip-k32w1-light-example.srec to folder where jlink.exe is located.
1. Copy `chip-k32w1-light-example.srec` to folder where jlink.exe is located.
2. Copy Matter_root/third_party/nxp/k32w1_sdk/Jlink_Script/K32W1.jlink folder
where jlink.exe is located.
3. Open a command prompt and type:

**jlink.exe -device KW45B41Z83 -if SWD -speed 4000 -autoconnect 1
-CommanderScript K32W1.jlink**
-`CommanderScript` K32W1.jlink**

Note: Steps 1 and 2 are not mandatory if the K32W1.jlink is modified to point to
the corect location of the chip-k32w1-light-example.srec file on the machine.
the correct location of the `chip-k32w1-light-example.srec` file on the machine.
Furthermore when running the jlink.exe command the correct path to the script
must be provided.

For NBU firmware programming steps see the K32W148-EVK NBU Programming User’s
For `NBU` firmware programming steps see the K32W148-EVK `NBU` Programming User’s
Guide (available from your NXP contact)

## Testing the example
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/nxp/k32w/k32w1/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ CHIP_ERROR AppTask::Init()
#endif
UpdateClusterState();

/* intialize the Keyboard and button press calback */
/* intialize the Keyboard and button press callback */
BUTTON_InstallCallback((button_handle_t) g_buttonHandle[0], KBD_Callback, (void *) BLE_BUTTON);
BUTTON_InstallCallback((button_handle_t) g_buttonHandle[1], KBD_Callback, (void *) LOCK_BUTTON);

Expand Down
2 changes: 1 addition & 1 deletion examples/platform/nxp/PigweedLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/*
* @file PigweedLogger.cpp
*
* This file contains basic string writting function, based on Pigweed HDLC
* This file contains basic string writing function, based on Pigweed HDLC
* over UART transport. It allows to send log messages even if the application
* needs to use HDLC/UART for another purpose like the RPC server.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/platform/nxp/k32w/k32w1/ram_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ rsError ramStorageSet(ramBufferDescriptor * pBuffer, uint16_t aKey, const uint8_
rsError ramStorageAdd(ramBufferDescriptor * pBuffer, uint16_t aKey, const uint8_t * aValue, uint16_t aValueLength);

/* search RAM Buffer for aKey (with aIndex) and delete it:
* - if aIndex is -1 then all the occurences of aKey are deleted
* - if aIndex is -1 then all the occurrences of aKey are deleted
*/
rsError ramStorageDelete(ramBufferDescriptor * pBuffer, uint16_t aKey, int aIndex);

Expand Down

0 comments on commit 348d768

Please sign in to comment.