1,新建的.c文件记得在makefile里添加;
2,在irq_jn516x.S文件中设置中断优先级
/*
- test_uart.c
//
/ Include files /
//
#include <jendefs.h>
#include “AppHardwareApi.h”
#include “AppHardwareApi_JN516x.h”
#include “dbg.h”
#include “MicroSpecific_ba.h”
#include “uart.h”
#include “ZQueue.h”
#include “test_uart.h”
#include “app_main.h”
//
/ Macro Definitions /
/<