This demo contains several error UVP_S12_DEMO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This demo contains several error UVP_S12_DEMO

902 Views
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 Kudos
1 Reply

734 Views
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 Kudos