AnsweredAssumed Answered

how to store const structure in particular memory location in kds

Question asked by sudhakar p on Jun 29, 2015
Latest reply on Jul 1, 2015 by ZhangJennie

Hi,

i am using MK64FN1M0VLL12 controller. i am using KDS2.0 IDE. i want to store const structure in particular memory location.

how to do that one. assume i want to store const structure at 0x64000. give some example it will helpful to all.

 

my structure like this

const struct  config_params  default_params =

  {

    0xC0A800FE,                    //local IP address

    7727,                        //local port No. 7727

    7728,                        //local port No. 7728

    7729,                        //local port No. 7729

    7730,                        //local port No. 7730

    0xFFFFFF00,                    //local Netmask

    0xC0A800D2,                    //Gateway

}

 

thanks and regards,

sudhakar p

Outcomes