Hi, > gcc does not use #pragma as it has some serious drawbacks, like it's not > possible to use one in a #define. > gcc uses the __attribute__((x)) declaration instead. > > i think you want something like that (untested): > int __attribute__((section("infomem"))) var = 42;
Thanks, this works :-) But there is one problem left: CACTL2, P2CA1, P2CA0, CAF, CAPD, CAPD6, CAPD7, CAON, CARSEL and CACTL1 are unknown. What's wrong? In the data-sheets for x41x and xW42x i can find no difference e. g. for CAF. Rolf