Mod5270 & MOD5270B with v2.5.3

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Mod5270 & MOD5270B with v2.5.3

Post by seulater »

I could have sworn that prior to compiler v2.5.3, If i had a product with a mix of MOD5270 & MOD5270B's that if i make my project build for a MOD5270 it would work for both units when upgrading.

I just had a customer say he got a popup warning that the build was for a MOD5270 and the board was a 5270B, at first i thought he messed it up, then i just tried this using v2.5.3 built for a MOD5270 and flashing a MOD5270B and sure enough he was correct, it wont let you.

So now the issue is, did this change in v2.5.3 ?
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Re: Mod5270 & MOD5270B with v2.5.3

Post by greengene »

i'm still a command line guy :o (eclipse for editing) and i've always added
a -PMOD5270B flag to the compcode line of the makefile to remove this
problem. it then workes the same for pre-2.5.3 and 2.5.3 for me. :)
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Mod5270 & MOD5270B with v2.5.3

Post by tod »

If you want to user greengene's solution with the Eclipse automated build you can add a flag to CompCode using the General tab and then typing the desired value in the Other flags text box. Adding -PMMOD5270B won't remove or replace the board flag already there. Moving up to the NetBurner Compcode level will show you the final command line being used for compcode. (I tested adding the flag but not actually doing a build to see if it works with both boards).
CompCodeFlag.png
CompCodeFlag.png (83.91 KiB) Viewed 3040 times
Post Reply