This demo contains several error UVP_S12_DEMO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

This demo contains several error UVP_S12_DEMO

1,344 次查看
aliastroboy
Contributor I

hi

I bought a platform with a APS12C128 Module .. and when I tried to run an application with demonstration: UVP_S12_DEMO ie when I compile it generates a lot of errors

Please help me

thank you

 

Original Attachment has been moved to: UVP_S12_DEMO.zip

0 项奖励
回复
1 回复

1,176 次查看
admin
Specialist II

You need to edit the device_headers.h file to uncomment the APS12C128 bit and comment out the APS12D

#include <mc9s12c128.h>

#pragma LINK_INFO DERIVATIVE "mc9s12c128"

#define HCS12D 0

#include "AP_s12c128slk.h"   /* I/O definitions and init routines */

#include "PB_s12c128slk.h"   /* I/O definitions and init routines */

//Uncomment the lines below for using the HCS12DT256

// #pragma LINK_INFO DERIVATIVE "mc9s12dt256"

// #include <mc9s12dt256.h>

// #define HCS12D 1

// #include "AP_s12dt256slk.h"   /* I/O definitions and init routines */

// #include "PB_s12dt256slk.h"   /* I/O definitions and init routines */

//#include "PB_s12dt256slk.h"   /* I/O definitions and init routines */

You will get a lot of "Warnings"(doesn't effect code compile) but you should not get any "errors" (stops code compile) when things are configured proper.

0 项奖励
回复