3.
Code Source Platforms
3.1
Code Generation from MCC
The source code of the AVR-IoT WA development board demo program is available for generation via the MPLAB
Code Configurator (MCC) plugin in MPLAB X IDE. To generate the code, the following software and the appropriate
versions should be installed.
Table 3-1. Software Versions
Software
®
MPLAB
X IDE
Compilers
•
AVR GCC
•
XC8
®
MPLAB
Code Configurator
AVR-IoT AWS Sensor Node Library
3.1.1
Generating the Demo
Once the board is connected to the host machine and MPLAB X is launched, see the description in the sections from
3.1.1.1 Creating the MPLAB X Project
generate a microcontroller code for it.
3.1.1.1
Creating the MPLAB X Project
1.
Create a new stand-alone project (see
(see
Selecting a
or AVR GCC as a compiler (see
Naming a New
2.
On the MPLAB X toolbar, look for and click the MPLAB
> Embedded > MPLAB X Code Configurator v3 Open/Close. For assistance with installation, refer to MPLAB
Code Configurator Page (www.microchip.com/mplab/mplab-code-configurator)
3.
Under Device Resources, scroll down to the Internet of Things header. Under Examples, double click on
AVR-IoT AWS Sensor Node (see
©
2020 Microchip Technology Inc.
(MCC)
to
3.1.1.4 Generating MCC Files and Programming the Board
Create New
Device); the PKOB nano as a programming tool (see
Selecting a
Project). The Start page of MPLAB X will then appear.
MCC Start
AVR-IoT WA User Guide
Project) in MPLAB X using the ATmega4808 as the device
Selecting a
Compiler). Finally, name the MPLAB project and its location (see
®
\ Code Configurator (MCC) Icon (
Page).
User Guide
Code Source Platforms
Version
5.30 or later
Versions:
•
5.4.0 or later
•
2.10 or later
3.95.0 or later
1.0.0
for how to
Programmer); and the XC8
) or click Tools
DS50002998A-page 17
®
®
Need help?
Do you have a question about the AVR-IoT WA and is the answer not in the manual?