NORA-W30 series - System integration manual
UBX-22021119 - R02
Open CPU software
Page 29 of 52
C1-Public
4
Open CPU software
4.1
Wi-Fi MAC and Bluetooth device addresses and other
production data
A block of four public MAC addresses is allocated to each NORA-W30 module. The base address is
encoded in the data matrix. Addresses are intended to be allocated as follows:
•
Base address = Wi-Fi station address
•
Base a 1 = Wi-Fi access point address
•
Base a 2 = Bluetooth LE device address
•
Base a 3 = unused
For data matrix details, see the NORA-W30 data sheet
The eFuse of NORA-W30 is not written with any data from the factory. The MAC addresses may be
programmed into the one-time programmable (OTP) eFuse locations during end-product production.
☞
Examples provided with the Realtek SDK utilize MAC address suitable for development purposes
only.
Other production data, such as channel selections and calibration values may also be programmed
into the eFuse.
4.2
Realtek SDK
4.2.1
FreeRTOS
The Realtek SDK is based on FreeRTOS, an open-source real-time operating system for MCUs.
FreeRTOS provides methods for multiple threads or tasks, mutexes, semaphores and software
timers. A tickless mode is provided for low power applications. Thread priorities are supported.
4.2.2
SDK setup
The Realtek SDK is used for the supported development environments.
•
Install Git for Windows.
•
Create a folder near the root folder of a drive. In this example, the folder
C:\git\
is used.
•
Navigate to
C:\git
.
•
Clone the Realtek SDK. The command line is shown here. The Git GUI can also be used:
o
git clone https://github.com/ambiot/ambd_sdk.git --config core.autocrlf=input
•
Proceed to either
or
4.2.3
GCC setup
Here is a minimal guide how to use GCC (GNU Compiler Collection) for the Realtek SDK, a full guide
provided by Realtek on Github can be found here:
https://github.com/ambiot/ambd_sdk
In this example, the amdb_sdk is cloned to
c:\git\amdb_sdk
.
•
Start by Cloning the Realtek SDK for the NORA-W30 as noted in
•
Download and install Cygwin, make sure to use 32-bit, even if Windows is 64-bit
o
https://cygwin.com/setup-x86.exe