From 96d6da4e252b06dcfdc041e7df23e86161c33007 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 28 Jul 2020 11:24:49 +0100 Subject: Official ARM version: v5.6.0 --- docs/Core/html/using_CMSIS.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs/Core/html/using_CMSIS.html') diff --git a/docs/Core/html/using_CMSIS.html b/docs/Core/html/using_CMSIS.html index dbd6688..1a7f0b0 100644 --- a/docs/Core/html/using_CMSIS.html +++ b/docs/Core/html/using_CMSIS.html @@ -32,7 +32,7 @@ Logo
CMSIS-Core (Cortex-M) -  Version 5.1.2 +  Version 5.3.0
CMSIS-Core support for Cortex-M processor-based devices
@@ -148,7 +148,7 @@ $(document).ready(function(){initNavTree('using_CMSIS.html','');});
// The processor clock is initialized by CMSIS startup + system file
-
void main (void) { // user application starts here
+
void main (void) { // user application starts here
Device_Initialization (); // Configure & Initialize MCU
while (1) { // Endless Loop (the Super-Loop)
__disable_irq (); // Disable all interrupts
@@ -159,13 +159,16 @@ $(document).ready(function(){initNavTree('using_CMSIS.html','');});
WaitForTick (); // Synchronize to SysTick Timer
}
}
+

CMSIS-Pack provides the #define CMSIS_header_file in RTE_Components.h which gives you access to the device.h file of a project. This allows you to generate generic software components that use the device selected in a project.

+
#include "RTE_Components.h" // include information about project configuration
+
#include CMSIS_device_header // include <device>.h file