📄 main.c
字号:
//=============================================================================
// All the code below are provided for demo purpose only.
// It'll be on your own risk if you like to adopt all or parts of the code into
// your own application.
//
// This is the main entry function in standard C programming
// It's only needed to make boot-loader project complie success.
// It does noting but only jump to the entry of boot-loader
//
// Designed by Paul Zhang (paul.zhang@freescale.com)
// May 10, 2008
//=============================================================================
#include <hidef.h> // for EnableInterrupts macro
#include "derivative.h" // include peripheral declarations
void BootLoader(void);
#pragma CODE_SEG __FAR_SEG DEFAULT
//=============================================================================
// Dummy 'main' function
//=============================================================================
void main(void) {
asm (jmp BootLoader); //Jump to Boot-loader routine
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -