This demo contains several error UVP_S12_DEMO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

This demo contains several error UVP_S12_DEMO

1,340件の閲覧回数
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,172件の閲覧回数
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 件の賞賛
返信