Skip to content

Commit 81aacec

Browse files
committed
Pull request #27: Develop
Merge in MCU16CE/pic24-dspic-can-canfd-bootloader from develop to master * commit 'd0c4f7b96ab9de30e0bb18cba3a85b37c3785206': (27 commits) remove dead keywords... Not sure what validator list is allowed remove CAN and errant ',' updating keywords list remove portal deploy stage. dspic33ck-canfd-ta100/readme_run_demo.html edited online with Bitbucket Documenting the correct version of CAL to 3.2.5 for this demo. fixing meta data to be 1.0.0 per and correct version tag to be 1.1.0 per Harsha readme link was typoed fd -> canfd cleanup markdown formatting so it renders readable. removing 1.0.1 and adding it to 1.1.0 adding change log back from previous commit updating main.json to 1.1.0 for release Cleaned up documentation for this demo. Took images of later ubha. Add dummy implementations so that project compiles, and add Warning to tell user to contact Microchip to get Crypto Authentication Library stub files that say // This file intentionally cleared. To obtain the original source contact Microchip. addinf missing signing_tool.jar and fixing the missing call to CryptoAuth_Initialize in system.c. making the readme in the log format specified by Harish. functional, but fails to verify. initial commit. CAN moved to mikro slot b spi added Update version number and changelog. ...
2 parents 905b114 + d0c4f7b commit 81aacec

File tree

398 files changed

+84316
-10266
lines changed

Some content is hidden

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

398 files changed

+84316
-10266
lines changed

.citd/Jenkinsfilek8s

-17
Original file line numberDiff line numberDiff line change
@@ -192,23 +192,6 @@ pipeline {
192192
}
193193
}
194194
}
195-
196-
//Deploying the Github content to portal
197-
stage('Portal-Deploy') {
198-
when {
199-
allOf {
200-
not { changeRequest() }
201-
anyOf {branch 'master';}
202-
}
203-
}
204-
steps {
205-
script {
206-
portalDeploy(
207-
githubOrgName: "${env.GITHUB_PRODUCTION_ORGANIZATION}"
208-
)
209-
}
210-
}
211-
}
212195
}
213196

214197
post {

.main-meta/main.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"content":{
55
"metaDataVersion":"1.0.0",
66
"name":"com.microchip.mplabx.project.pic24-dspic-can-canfd-bootloader",
7-
"version":"1.0.0",
7+
"version":"1.1.0",
88
"displayName":"PIC24/dsPIC CAN/CAN-FD Bootloader",
99
"projectName":"pic24-dspic-can-canfd-bootloader",
1010
"shortDescription":"CAN and CAN-FD bootloader example using the ISO-15765-2 CAN transport layer for the PIC24 and dsPIC product lines.",
@@ -35,13 +35,11 @@
3535
}
3636
},
3737
"peripherals":[
38-
"CAN",
39-
"CAN FD"
4038
],
4139
"keywords":[
4240
"CAN",
4341
"Bootloader",
44-
"CAN-FD"
42+
"CAN-FD"
4543
]
4644
}
4745
}

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ https://www.microchip.com/16-bit-bootloader
1212

1313
## Setup And Operation
1414

15-
There are 3 configurations provided in this demo:
15+
There are 4 configurations provided in this demo:
1616
1) Using CAN classic on a device with the CAN-FD module
1717
2) Using CAN-FD on a device with the CAN-FD module
1818
3) Using CAN classic on a device with the enhanced CAN controller
19+
4) Using CAN-FD on a device with the CAN-FD module and using TA100 for external ECDSA verify
1920

2021
The hardware and software setup is different for each of these use cases. There are readme*.html files associated with each folder that describe the required hardware and software as well as how to setup and run each of the corresponding demos.
2122

@@ -25,4 +26,5 @@ The hardware and software setup is different for each of these use cases. There
2526

2627
[dspic33ep-can2.0b](/dspic33ep-can2.0b "dsPIC33EP512MU810 CAN based bootloader example project")
2728

29+
[dspic33ck-canfd-ta100](/dspic33ck-canfd-ta100 "dsPIC33CK256MP508 CAN-FD based bootloader example project w TA100 Verify")
2830

changelog.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
# PIC24/dsPIC CAN / CAN-FD Bootloader Firmware v1.1.0
2+
### Release Highlights
3+
4+
- Fixes project loading issues.
5+
- ADD Demo using TA100 Trust Anchor external HSM for ECDSA verify of CAN bootloader
6+
7+
### Features Added\Updated
8+
9+
- Support for TA100 ECDSA verify
10+
- Bug fixes to use externally released MCC modules rather than internal builds. The previous version would give import warnings to user due to it being unable to find the specified version.
11+
112
# PIC24/dsPIC CAN / CAN-FD Bootloader Firmware v1.0.0
213
### Release Highlights
314

4-
CAN and CAN-FD bootloader firmware
5-
Requires Unified Bootloader Host Application 1.17.0
15+
- CAN and CAN-FD bootloader firmware
16+
- Requires Unified Bootloader Host Application 1.17.0
617

718
### Features Added\Updated
819

9-
Initial Release
20+
- Initial Release

dspic33ck-can/app.X/MyConfig.mc3

+27-27
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@
88
<string>Main Manager</string>
99
<string>class com.microchip.mcc.mcu16.mainManager.MainManager</string>
1010
</entry>
11-
<entry>
12-
<string>WATCHDOG</string>
13-
<string>class com.microchip.mcc.mcu16.systemManager.wdt.Wdt</string>
14-
</entry>
1511
<entry>
1612
<string>Pin Module</string>
1713
<string>class com.microchip.mcc.mcu16.pinManager.PinManager</string>
1814
</entry>
1915
<entry>
20-
<string>DMT</string>
21-
<string>class com.microchip.mcc.mcu16.systemManager.dmt.DMT</string>
16+
<string>WATCHDOG</string>
17+
<string>class com.microchip.mcc.mcu16.systemManager.wdt.Wdt</string>
2218
</entry>
2319
<entry>
24-
<string>ICD</string>
25-
<string>class com.microchip.mcc.mcu16.systemManager.icd.Icd</string>
20+
<string>DMT</string>
21+
<string>class com.microchip.mcc.mcu16.systemManager.dmt.DMT</string>
2622
</entry>
2723
<entry>
2824
<string>RESET</string>
2925
<string>class com.microchip.mcc.mcu16.systemManager.reset.RESET</string>
3026
</entry>
27+
<entry>
28+
<string>ICD</string>
29+
<string>class com.microchip.mcc.mcu16.systemManager.icd.Icd</string>
30+
</entry>
3131
<entry>
3232
<string>Interrupt Module</string>
3333
<string>class com.microchip.mcc.mcu16.interruptManager_dsPIC.InterruptManager_dsPIC</string>
@@ -55,9 +55,9 @@
5555
</usedClasses>
5656
<usedLibraries class="java.util.ArrayList">
5757
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.mcc.mcu16.Mcu16PeripheralLibrary" version="1.169.2"/>
58+
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.bootloader16.mcc.Library" version="1.18.4"/>
5859
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.mcc.boardsupportlibrary.BoardSuppportLibrary" version="1.12.0"/>
5960
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.mcc.foundationservices.library.FoundationServicesLibrary" version="0.2.2"/>
60-
<ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.bootloader16.mcc.Library" version="1.18.4-SNAPSHOT"/>
6161
</usedLibraries>
6262
<tokenMap class="java.util.HashMap">
6363
<entry>
@@ -14062,7 +14062,7 @@
1406214062
</entry>
1406314063
<entry>
1406414064
<key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="16-bit Bootloader" name="state"/>
14065-
<value>{&quot;contractPath&quot;:&quot;..\\..\\boot&quot;}</value>
14065+
<value>{&quot;contractPath&quot;:&quot;..\\boot.X&quot;}</value>
1406614066
</entry>
1406714067
<entry>
1406814068
<key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN0C" settingAlias="CNIE0C0"/>
@@ -16084,11 +16084,11 @@
1608416084
</entry>
1608516085
<entry>
1608616086
<file>mcc_generated_files\boot\remapped_reset.S</file>
16087-
<hash>c16a5fff56accb0bf4d3de05882eb49bbea60da6abcef22e1741c25f264061c3</hash>
16087+
<hash>05078d30a781e24fb5000164bd918b9849a6d4a4a5ad90202f1933c54301a0b0</hash>
1608816088
</entry>
1608916089
<entry>
1609016090
<file>mcc_generated_files\boot\hardware_interrupt_table.S</file>
16091-
<hash>4ebd468028515960099634f17534a67b79c24bb63cb2d186e0928cc4da931be9</hash>
16091+
<hash>9e9153e7b090fa37b0f2bfe9e90bbbfdeb375ac7878d3cf46ba706494ed63aa4</hash>
1609216092
</entry>
1609316093
<entry>
1609416094
<file>mcc_generated_files\boot\postBuild.bat</file>
@@ -16112,39 +16112,39 @@
1611216112
</entry>
1611316113
<entry>
1611416114
<file>mcc_generated_files\system.c</file>
16115-
<hash>f5a2f0061874e998b981dd6edfe77008f1534df012f06efdff95d0016f1651a8</hash>
16116-
</entry>
16117-
<entry>
16118-
<file>mcc_generated_files\boot\certificate_checksum16.S</file>
16119-
<hash>d161097e4172b9f3de8651d8dfd1b7450eeda2a36f430354f6b0677e3a7fa7ea</hash>
16115+
<hash>411a8e963c36e74a376c557eefdbf12772753b5b2fa592e5ef75733e6c090a1f</hash>
1612016116
</entry>
1612116117
<entry>
1612216118
<file>mcc_generated_files\clock.h</file>
1612316119
<hash>0b6275aa971cc3c1b29838d943ce7208a8e85d7fef146dcf45d1942c668079d1</hash>
1612416120
</entry>
1612516121
<entry>
16126-
<file>mcc_generated_files\docs\delay.dox</file>
16127-
<hash>13d4874d789b563dd4499efacd71882cbc38f8459da91ac17f13fa76079be93b</hash>
16122+
<file>mcc_generated_files\boot\user_interrupt_table.S</file>
16123+
<hash>61322b7c38116ff8980bfed24372484e416c112a0678302a412df802d3c863d0</hash>
1612816124
</entry>
1612916125
<entry>
16130-
<file>mcc_generated_files\boot\user_interrupt_table.S</file>
16131-
<hash>3c0e9be93da37b87d4009762bbb5ad96932e789ae97a8cfe1d2f51b06911c9b5</hash>
16126+
<file>mcc_generated_files\docs\delay.dox</file>
16127+
<hash>13d4874d789b563dd4499efacd71882cbc38f8459da91ac17f13fa76079be93b</hash>
1613216128
</entry>
1613316129
<entry>
1613416130
<file>mcc_generated_files\boot\interrupts.S</file>
16135-
<hash>8e1d1b3a3f4607aff05c7b18b7de0c8584dfe69e739840e854cd42ff336bfe79</hash>
16131+
<hash>0f82052f71c3c5761ab996c603c345505ea29f8e3b6ef8ef5f199d99f7cb7524</hash>
1613616132
</entry>
1613716133
<entry>
1613816134
<file>mcc_generated_files\mcc.c</file>
1613916135
<hash>5063e41499c0f63905ad7982135b6028c9d95b5248884e01961ca9382753d7db</hash>
1614016136
</entry>
16137+
<entry>
16138+
<file>mcc_generated_files\boot\application_header_checksum16.S</file>
16139+
<hash>70aabbd5889fb4e73060ff3e79bd58304204b07336c246f5394ee4840500f4c1</hash>
16140+
</entry>
1614116141
<entry>
1614216142
<file>mcc_generated_files\reset.h</file>
1614316143
<hash>5149540a892aca5df6c9bb53d04603f9b18e94a5c1653f9c699920d46889ca79</hash>
1614416144
</entry>
1614516145
<entry>
1614616146
<file>mcc_generated_files\mcc.h</file>
16147-
<hash>d1e28069148129a071d8084c655dddb4fa4f23551889d38521f651274a4b8ff6</hash>
16147+
<hash>68e41ad2e3739b91356745d5d8f9ab743894bf6212d828dda41e01bff3d3b325</hash>
1614816148
</entry>
1614916149
<entry>
1615016150
<file>mcc_generated_files\boot\postBuild.sh</file>
@@ -16168,15 +16168,15 @@
1616816168
</entry>
1616916169
<entry>
1617016170
<file>mcc_generated_files\boot\combineAppAndBootloaderHex.sh</file>
16171-
<hash>13e6e0a4b5784354b8b3ad08d16cb95826fed16d7eec046567b4accdcce9bcc3</hash>
16171+
<hash>5894ccf0fe60f99268ed53fb87ffcbc4cda41f28c72891c934a25ec4ec51359d</hash>
1617216172
</entry>
1617316173
<entry>
1617416174
<file>mcc_generated_files\pin_manager.c</file>
1617516175
<hash>6757b4a1411952a65d51fc5bdee0acb7da0d05d1a04275926eb2ea4d1dd4765f</hash>
1617616176
</entry>
1617716177
<entry>
1617816178
<file>mcc_generated_files\boot\boot_config.h</file>
16179-
<hash>7e63471a707c7c8d6b61b7982ec6f1d35fb0c34a73e3bac7e0d1052283e73c56</hash>
16179+
<hash>0f12877a6bf225005d7d395243adc72da5dea65c1f640a337990a1eab7bf26eb</hash>
1618016180
</entry>
1618116181
<entry>
1618216182
<file>mcc_generated_files\traps.c</file>
@@ -16188,11 +16188,11 @@
1618816188
</entry>
1618916189
<entry>
1619016190
<file>mcc_generated_files\boot\memory_partition.S</file>
16191-
<hash>50f4afd8df929455b567746cdd6e3aa6c68909da4e408b808238b906b0db13e8</hash>
16191+
<hash>199b43cd9e4d24ac0ba8f9f377d499c8a1a6194f77e71c115b3036a146402195</hash>
1619216192
</entry>
1619316193
<entry>
1619416194
<file>mcc_generated_files\boot\combineAppAndBootloaderHex.bat</file>
16195-
<hash>13e6e0a4b5784354b8b3ad08d16cb95826fed16d7eec046567b4accdcce9bcc3</hash>
16195+
<hash>5894ccf0fe60f99268ed53fb87ffcbc4cda41f28c72891c934a25ec4ec51359d</hash>
1619616196
</entry>
1619716197
<entry>
1619816198
<file>mcc_generated_files\interrupt_manager.c</file>

dspic33ck-can/app.X/mcc_generated_files/boot/certificate_checksum16.S renamed to dspic33ck-can/app.X/mcc_generated_files/boot/application_header_checksum16.S

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
Microchip Technology Inc.
66
77
@File Name:
8-
certificate_checksum16.S
8+
application_header_checksum16.S
99
1010
@Summary:
11-
This is the certificate_checksum16.S file generated using 16-bit Bootloader
11+
This is the application_header_checksum16.S file generated using 16-bit Bootloader
1212
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B
@@ -53,7 +53,7 @@ Copyright (c) [2012-2019] Microchip Technology Inc.
5353
such restrictions will not apply to such third party software.
5454
*/
5555

56-
/* This file puts a certificate at the start of the application image that the
56+
/* This file puts an application header at the start of the application image that the
5757
* bootloader will use to verify the integrity of the application image.
5858
*/
5959

@@ -71,7 +71,7 @@ Copyright (c) [2012-2019] Microchip Technology Inc.
7171
* 5. Delete or comment out the #error message above
7272
*/
7373

74-
.section .certificate_checksum16, code, address(BOOT_CONFIG_APPLICATION_IMAGE_CERTIFICATE_ADDRESS), keep
74+
.section .application_header_checksum16, code, address(BOOT_CONFIG_APPLICATION_IMAGE_APPLICATION_HEADER_ADDRESS), keep
7575

7676
/* Skip the instruction that holds the Checksum - this will have to be injected
7777
* by a tool later, but we need to reserve the space for it.

dspic33ck-can/app.X/mcc_generated_files/boot/boot_config.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B
@@ -58,11 +58,11 @@ Copyright (c) [2012-2019] Microchip Technology Inc.
5858
#define BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW 0x3000
5959
#define BOOT_CONFIG_PROGRAMMABLE_ADDRESS_HIGH 0x2B7FE
6060

61-
#define BOOT_CONFIG_VERIFICATION_CERTIFICATE_SIZE 10
61+
#define BOOT_CONFIG_VERIFICATION_APPLICATION_HEADER_SIZE 10
6262

63-
#define BOOT_CONFIG_APPLICATION_IMAGE_CERTIFICATE_ADDRESS (BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW)
63+
#define BOOT_CONFIG_APPLICATION_IMAGE_APPLICATION_HEADER_ADDRESS (BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW)
6464

65-
#define BOOT_CONFIG_APPLICATION_RESET_ADDRESS (BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW + BOOT_CONFIG_VERIFICATION_CERTIFICATE_SIZE)
65+
#define BOOT_CONFIG_APPLICATION_RESET_ADDRESS (BOOT_CONFIG_PROGRAMMABLE_ADDRESS_LOW + BOOT_CONFIG_VERIFICATION_APPLICATION_HEADER_SIZE)
6666

6767
#define BOOT_CONFIG_USER_IVT_TABLE_ADDRESS 0x3200
6868

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hexmate r0-5FFF,..\..\..\..\boot\dist\default\production\boot.production.hex r6000-56FFF,..\..\dist\default\production\app.X.production.hex r57000-FFFFFFFF,..\..\..\..\boot\dist\default\production\boot.production.hex -O..\..\dist\default\production\combined.production.hex
1+
hexmate r0-5FFF,..\..\..\boot.X\dist\default\production\boot.X.production.hex r6000-56FFF,..\..\dist\default\production\app.X.production.hex r57000-FFFFFFFF,..\..\..\boot.X\dist\default\production\boot.X.production.hex -O..\..\dist\default\production\combined.production.hex
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hexmate r0-5FFF,..\..\..\..\boot\dist\default\production\boot.production.hex r6000-56FFF,..\..\dist\default\production\app.X.production.hex r57000-FFFFFFFF,..\..\..\..\boot\dist\default\production\boot.production.hex -O..\..\dist\default\production\combined.production.hex
1+
hexmate r0-5FFF,..\..\..\boot.X\dist\default\production\boot.X.production.hex r6000-56FFF,..\..\dist\default\production\app.X.production.hex r57000-FFFFFFFF,..\..\..\boot.X\dist\default\production\boot.X.production.hex -O..\..\dist\default\production\combined.production.hex

dspic33ck-can/app.X/mcc_generated_files/boot/hardware_interrupt_table.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B

dspic33ck-can/app.X/mcc_generated_files/boot/interrupts.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B

dspic33ck-can/app.X/mcc_generated_files/boot/memory_partition.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B

dspic33ck-can/app.X/mcc_generated_files/boot/remapped_reset.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B

dspic33ck-can/app.X/mcc_generated_files/boot/user_interrupt_table.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Description:
1414
This header file provides implementations for driver APIs for all modules selected in the GUI.
1515
Generation Information :
16-
Product Revision : 16-bit Bootloader - 1.18.4-SNAPSHOT
16+
Product Revision : 16-bit Bootloader - 1.18.4
1717
Device : dsPIC33CK256MP508
1818
The generated drivers are tested against the following:
1919
Compiler : XC16 v1.36B

dspic33ck-can/app.X/mcc_generated_files/mcc.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
#include "system_types.h"
5454
#include "reset.h"
5555

56-
#include "watchdog.h"
57-
#include "delay.h"
56+
#include "reset.h"
5857
#include "interrupt_manager.h"
5958
#include "traps.h"
60-
#include "reset.h"
59+
#include "watchdog.h"
60+
#include "delay.h"
6161

6262
#warning "This file will be removed in future MCC releases. Use system.h instead."
6363

dspic33ck-can/app.X/mcc_generated_files/system.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@
124124
#include "clock.h"
125125
#include "system.h"
126126
#include "system_types.h"
127-
#include "delay.h"
128127
#include "interrupt_manager.h"
129128
#include "traps.h"
129+
#include "delay.h"
130130

131131
void SYSTEM_Initialize(void)
132132
{
133133
PIN_MANAGER_Initialize();
134-
INTERRUPT_Initialize();
135134
CLOCK_Initialize();
135+
INTERRUPT_Initialize();
136136
INTERRUPT_GlobalEnable();
137137
SYSTEM_CORCONModeOperatingSet(CORCON_MODE_PORVALUES);
138138
}

0 commit comments

Comments
 (0)