Hello,
I believe this depends on what IDE you are using, but as you probably already found out, the arm_startup_nrf51.s file is generated in your build folder. It comes from the device information, installed by the IDE.
Best regards,
Edvin
The arm_startup_nrf51.s is not in the build folder but comes with the SDK. It is located in the components\toolchain\arm\ directory. But I cannot find the startup_config.h anywhere.
Oh, sorry. I misread your original question.
I don't think this file exists, actually. It is only included if __STARTUP_CONFIG is defined, and I believe it isn't. At least I couldn't find any references to it in the entire SDK, other than in these arm_startup_nrf51.s files (that are also present in the RTE folder, after you build.
May I ask why you need it? Do you get some message saying this is missing? Where does that message come from?
Best regards,
Edvin
I don't know if I need it. But when I generated the new project from scratch, Segger created two startup files in a directory called System. Since the SDK came with three startup files (one for nrf51, nrf52, and nrf52840 I thought I should use the nrf51 startup instead.
The ses project for nrf52 contains one directory with three SDK-provided startup files in the modules directory (doesnt exist in the SDK 12.3.0). So I am not sure what I should do. Not use the SDK-provided startup.s file for nrf51 and use the segger generated ones instead?
We don't support nRF51 in SES, because the SES support was added later than 12.3.0. So if you are using the nRF51, then you need to use one of the provided IDEs (or armgcc). However, the nRF51 is not recommended for new designs.
Best regards,
Edvin
We don't support nRF51 in SES, because the SES support was added later than 12.3.0. So if you are using the nRF51, then you need to use one of the provided IDEs (or armgcc). However, the nRF51 is not recommended for new designs.
Best regards,
Edvin
Victor Berg ported my nrf51 project to SES. It builds. I have not tried to run it.
devzone.nordicsemi.com/.../porting-an-nrf52-ses-project-to-nrf51
It runs and works fine!!