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
Version
5.30 or later
• AVR GCC
• XC8
Versions:
• 5.4.0 or later
• 2.10 or later
(MCC)
3.95.0 or later
AVR-IoT AWS Sensor Node Library
1.0.0
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
3.1.1.4 Generating MCC Files and Programming the Board
generate a microcontroller code for it.
3.1.1.1
Creating the MPLAB X Project
1.
Create a new stand-alone project (see
) in MPLAB X using the ATmega4808 as the device
); the PKOB nano as a programming tool (see
); and the XC8
or AVR GCC as a compiler (see
). Finally, name the MPLAB project and its location (see
). The Start page of MPLAB X will then appear.
2.
On the MPLAB X toolbar, look for and click the MPLAB
®
\ Code Configurator (MCC) Icon (
) or click
Tools
> Embedded > MPLAB X Code Configurator v3 Open/Close
. For assistance with installation, refer to MPLAB
®
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
).
AVR-IoT WA User Guide
Code Source Platforms
©
2020 Microchip Technology Inc.
User Guide
DS50002998A-page 17