Skip to content

Commit 8010e5d

Browse files
MPAE-18357: Update for v1.1.0 of MDFU Client
1 parent 7dbf034 commit 8010e5d

File tree

314 files changed

+15748
-1700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+15748
-1700
lines changed

.main-meta/main.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"content": {
55
"metaDataVersion": "1.3.0",
66
"name": "com.microchip.mcu8.mplabx.project.avr128da48-cnano-8bit-mdfu-client-mplab-mcc",
7-
"version": "1.1.0",
7+
"version": "1.2.0",
88
"displayName": "Getting Started with the 8-Bit MDFU Client for AVR128DA48",
99
"projectName": "avr128da48-cnano-8bit-mdfu-client-mplab-mcc",
1010
"shortDescription": "GitHub Example for the 8-bit MDFU Client Library using AVR128DA48 with a CNANO board.",
@@ -15,12 +15,12 @@
1515
"compiler": [
1616
{
1717
"name": "XC8",
18-
"semverRange": "^2.46.0"
18+
"semverRange": "^2.50.0"
1919
}
2020
],
2121
"dfp": {
2222
"name": "AVR-Dx_DFP",
23-
"semverRange": "^2.4.286"
23+
"semverRange": "^2.6.303"
2424
},
2525
"configurator": {
2626
"name": "MCC",
@@ -39,6 +39,7 @@
3939
"author": "Microchip",
4040
"peripherals": [
4141
"UART",
42+
"SPI",
4243
"Memory Module"
4344
],
4445
"keywords": [
@@ -50,6 +51,7 @@
5051
"Memory",
5152
"Serial Communication",
5253
"EUSART",
54+
"SPI",
5355
"Virtual COM Port",
5456
"Microchip Device Firmware Update",
5557
"8-bit MDFU Client",

README.md

Lines changed: 160 additions & 139 deletions
Large diffs are not rendered by default.

checksum/avr128da48-application-checksum.X/app_da48.mc3

Lines changed: 26 additions & 11 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyfwimagebuilder build -v debug -i ./dist/free/production/avr128da48-application-checksum.X.production.hex -c ../avr128da48-mdfu-client-checksum.X/mcc_generated_files/bootloader/configurations/bootloader_configuration.toml -o new_application.img
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyfwimagebuilder build -v debug -i ./dist/free/production/avr128da48-application-checksum.X.production.hex -c ../avr128da48-mdfu-client-checksum.X/mcc_generated_files/bootloader/configurations/bootloader_configuration.toml -o new_application.img
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyfwimagebuilder build -v debug -i ./dist/pro/production/avr128da48-application-checksum.X.production.hex -c ../avr128da48-mdfu-client-checksum.X/mcc_generated_files/bootloader/configurations/bootloader_configuration.toml -o new_application.img
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyfwimagebuilder build -v debug -i ./dist/pro/production/avr128da48-application-checksum.X.production.hex -c ../avr128da48-mdfu-client-checksum.X/mcc_generated_files/bootloader/configurations/bootloader_configuration.toml -o new_application.img

checksum/avr128da48-application-checksum.X/main.c

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
*
88
* @brief This is the generated driver implementation file for the MAIN driver.
99
*
10-
* @version MAIN Driver Version 1.0.0
10+
* @version MAIN Driver Version 1.0.2
11+
*
12+
* @version Package Version: 3.1.2
1113
*/
1214

1315
/*
14-
© [2023] Microchip Technology Inc. and its subsidiaries.
16+
© [2024] Microchip Technology Inc. and its subsidiaries.
1517
1618
Subject to your compliance with these terms, you may use Microchip
1719
software and any derivatives exclusively with Microchip products.
@@ -32,7 +34,7 @@
3234
*/
3335
#include "mcc_generated_files/system/system.h"
3436
#include "mcc_generated_files/timer/delay.h"
35-
37+
#include "mcc_generated_files/reset/rstctrl.h"
3638
/*
3739
Main application
3840
*/
@@ -50,10 +52,14 @@ applicationFooter __attribute__((used, section("application_footer"))) = 0xFFFF;
5052
int main(void)
5153
{
5254
SYSTEM_Initialize();
53-
5455
while (1)
5556
{
5657
LED_Toggle();
57-
DELAY_milliseconds(200);
58+
DELAY_milliseconds(200U);
59+
60+
if (BTN_GetValue() == 0U)
61+
{
62+
RSTCTRL_reset();
63+
}
5864
}
5965
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file has been autogenerated by MPLAB Code Configurator. Please do not edit this file.
2+
3+
manifest_file_version: 1.0.0
4+
project: avr128da48-application-checksum
5+
creation_date: 2024-09-09T17:46:33.847-07:00[America/Phoenix]
6+
operating_system: Windows 10
7+
mcc_mode: IDE
8+
mcc_mode_version: v6.20
9+
device_name: AVR128DA48
10+
compiler: XC8 2.50
11+
mcc_version: 5.5.1
12+
mcc_core_version: 5.7.1
13+
content_manager_version: 5.0.1
14+
is_mcc_offline: false
15+
is_using_prerelease_versions: false
16+
mcc_content_registries: https://registry.npmjs.org/,https://artifacts.microchip.com/artifactory/api/npm/npm/
17+
device_library: {library_class: com.microchip.mcc.melody.Library, name: Melody, version: 2.7.1}
18+
packs: {name: AVR-Dx_DFP, version: 2.6.303}
19+
modules:
20+
- {name: '@mchp-mcc/avr-8bit', type: MELODY, version: 4.11.0}
21+
- {name: '@mchp-mcc/avr8-configuration-bits-v1', type: MELODY, version: 4.2.14}
22+
- {name: '@mchp-mcc/avr8-pin-manager', type: MELODY, version: 4.6.1}
23+
- {name: '@mchp-mcc/delay-blocking-driver', type: MELODY, version: 3.2.0}
24+
- {name: '@mchp-mcc/main-manager', type: MELODY, version: 3.1.2}
25+
- {name: '@mchp-mcc/pin-content-processor', type: MELODY, version: 3.8.0}
26+
- {name: '@mchp-mcc/scf-avr8-clkctrl-v1', type: MELODY, version: 5.3.6}
27+
- {name: '@mchp-mcc/scf-avr8-interrupt-v1', type: MELODY, version: 5.0.12}
28+
- {name: '@mchp-mcc/scf-avr8-rstctrl-v1', type: MELODY, version: 4.0.7}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This file has been autogenerated by MPLAB Code Configurator. Please do not edit this file.
2+
3+
manifest_file_version: 1.0.0
4+
project: avr128da48-application-checksum
5+
creation_date: 2024-09-09T17:46:33.833-07:00[America/Phoenix]
6+
operating_system: Windows 10
7+
mcc_mode: IDE
8+
mcc_mode_version: v6.20
9+
device_name: AVR128DA48
10+
compiler: XC8 2.50
11+
mcc_version: 5.5.1
12+
mcc_core_version: 5.7.1
13+
content_manager_version: 5.0.1
14+
is_mcc_offline: false
15+
is_using_prerelease_versions: false
16+
mcc_content_registries: https://registry.npmjs.org/,https://artifacts.microchip.com/artifactory/api/npm/npm/
17+
device_library: {library_class: com.microchip.mcc.melody.Library, name: Melody, version: 2.7.1}
18+
packs: {name: AVR-Dx_DFP, version: 2.6.303}
19+
modules:
20+
- {name: '@mchp-mcc/avr-8bit', type: MELODY, version: 4.11.0}
21+
- {name: '@mchp-mcc/avr8-configuration-bits-v1', type: MELODY, version: 4.2.14}
22+
- {name: '@mchp-mcc/avr8-pin-manager', type: MELODY, version: 4.6.1}
23+
- {name: '@mchp-mcc/delay-blocking-driver', type: MELODY, version: 3.2.0}
24+
- {name: '@mchp-mcc/main-manager', type: MELODY, version: 3.1.2}
25+
- {name: '@mchp-mcc/pin-content-processor', type: MELODY, version: 3.8.0}
26+
- {name: '@mchp-mcc/scf-avr8-clkctrl-v1', type: MELODY, version: 5.3.6}
27+
- {name: '@mchp-mcc/scf-avr8-interrupt-v1', type: MELODY, version: 5.0.12}
28+
- {name: '@mchp-mcc/scf-avr8-rstctrl-v1', type: MELODY, version: 4.0.7}

0 commit comments

Comments
 (0)