This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in compiling softdevice s130 example in keil uvision 4.74

hello,

i was trying to compile the softdevice s130 example code given with softdevice download from nordic. I am using the ARM-MDK lite 4.74 version. It is showing error "main.c: error: C3903U: Argument '-D__EVAL' not permitted for option 'device'.". Can anyone please help to sove this problem

thanks in advance.

Parents
  • Go to 'Project -> Options for target -> Device' and select nRF51822_xxAA under 'Nordic Semiconductor' in the list.

    Go to the Target fan and use IROM1 Start: 0x1C000, Size: 0x24000 and IRAM1 Start: 0x20002800, Size: 0x1800.

    You may also need to go to the 'Debug' fan, select 'Jlink / J-TRACE Cortex' in "Use:"-dropdown list.

    Push 'Settings' next to it, select the right debugger (SN) and make sure 'Port:' is set to SW

Reply
  • Go to 'Project -> Options for target -> Device' and select nRF51822_xxAA under 'Nordic Semiconductor' in the list.

    Go to the Target fan and use IROM1 Start: 0x1C000, Size: 0x24000 and IRAM1 Start: 0x20002800, Size: 0x1800.

    You may also need to go to the 'Debug' fan, select 'Jlink / J-TRACE Cortex' in "Use:"-dropdown list.

    Push 'Settings' next to it, select the right debugger (SN) and make sure 'Port:' is set to SW

Children
No Data
Related