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

How to fix Keil uVision Device error?

When I change the target from nrf51422 in the SDK into nrf51822 there is this error in Keil uVision Project window.

Device Error

I can't find a way to remove the files in red warning.

arm_startup_nrf51.s
system_nrf51.c

Please advice if I need to edit those two new files for nrf51822 since the example is for nrf51422.

Parents
  • The red circle with a white horizontal line in it is not an error, it means that the file is excluded from target and linkage. See this for more information.

    Edit: It is a bit of a hassle:

    In Keil: Right click Device and select Options for Component Class 'Device', then click Remove

    Then delete the RTE folder in the project folder.

    In Keil: Click Manage Run-Time Environment, expand Device, and check Startup.

Reply
  • The red circle with a white horizontal line in it is not an error, it means that the file is excluded from target and linkage. See this for more information.

    Edit: It is a bit of a hassle:

    In Keil: Right click Device and select Options for Component Class 'Device', then click Remove

    Then delete the RTE folder in the project folder.

    In Keil: Click Manage Run-Time Environment, expand Device, and check Startup.

Children
Related