<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35361/error-l6236e-no-section-matches-selector---no-section-to-be-first-last</link><description>Hello, 
 I am working with nRF52832 and using Keil uVISION 5. 
 While building the exapmple from nRF SDK v15, I am getting this error : 
 error: L6236E: No section matches selector - no section to be FIRST/LAST. 
 
 I also tried the following suggested</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jun 2018 11:04:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35361/error-l6236e-no-section-matches-selector---no-section-to-be-first-last" /><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/136136?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 11:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda83eae-74d8-4567-9def-8b041e712015</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;It worked!!!&lt;/p&gt;
&lt;p&gt;I do get what you want you by selecting proper target but I am not able to link the error sentence with it. Can you help me to understand it, If possible.&lt;/p&gt;
&lt;p&gt;Otherwise It&amp;#39;s okay, At least I can go further with my project.&lt;/p&gt;
&lt;p&gt;Thanks, Terje!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/136133?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 10:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6bfb76e-315c-4700-aae6-dc9c6eee976e</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think I finally figured out what may be the issue. In Keil, next to the LOAD button in the toolbar, there is a drop down menu where you can select either &amp;quot;nrf52832_xxaa&amp;quot; or &amp;quot;flash_s132_nrf52_6.0.0_softdevice&amp;quot;.&lt;/p&gt;
&lt;p&gt;The first one, &amp;quot;nrf52832_xxaa&amp;quot; (or correspondingly for other SoCs depending on which project), is for building and programming the application.&lt;/p&gt;
&lt;p&gt;The second one, &amp;quot;flash_s132_nrf52_6.0.0_softdevice&amp;quot; (or correspondingly for other SoCs), will generate the error messages that you see if you try to build it. It is only intended for loading the SoftDevice onto the SoC.&lt;/p&gt;
&lt;p&gt;So, in order to build the project correctly you must select the first item, which selects the application.&lt;/p&gt;
&lt;p&gt;If the SoftDevice hex file has been corrupted by attempting to build a new one, you can find the SoftDevice for download on our web pages. nRF52832 SoftDevices are downloadable from the downloads page for the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK#Downloads"&gt;nRF52 DK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/136106?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea63e14-4897-40d9-bf8c-e75957ec69d4</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;I just want to compile any example project. Whether it is blinky or Beacon or any. I don&amp;#39;t have any board right now. I downloaded the sdk again and tried to compile without changing anything.&lt;/p&gt;
&lt;p&gt;but I am still facing this error : &lt;em&gt;error: L6236E: No section matches selector - no section to be FIRST/LAST.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you could help futher.&lt;/p&gt;
&lt;p&gt;Anyways, Thanks for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/136100?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 09:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8775dd3d-e742-48a0-ab04-2ee340d985d5</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the clarification. It sounded a bit strange to build the blinky example without using LEDs, as the purpose of that example is to turn a LED on and off.&lt;/p&gt;
&lt;p&gt;Keep in mind that for any GPIO usage you must make some assumptions about what is connected to the SoC. You may of course make it configurable, which, in some sense, the board files essentially are a solution for. You may of course do this differently if configuration through header files is not a solution for your needs.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/136029?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 04:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2719028-9ecd-4250-aadb-9846e290e8e3</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I do not want board specific features because I might direct implement code on the chip(bad approach but that is out of my authority).&lt;/p&gt;
&lt;p&gt;For unchanged sdk, the error is same in blinky example(which is unchanged).&lt;/p&gt;
&lt;p&gt;I will see board support option in sdk_config.h&lt;/p&gt;
&lt;p&gt;Thanks for all your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135958?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb498fca-7d75-4f68-bf45-01588eb6d510</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I must admit I do not quite understand why on the one hand you need to remove all board specific features (such as buttons, leds, etc.) but on the other hand you do not intend to download the resulting application anywhere. Why not just compile the unchanged SDK example?&lt;/p&gt;
&lt;p&gt;In any case, have you disabled the Board Support options in sdk_config.h? In Keil5 you can choose the configuration wizard for getting a GUI for editing that file.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135934?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 12:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e1ada8c-6f36-4534-b355-fef616029e45</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am bit confuse after looking at boards.h&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have any development board right now. I just want to properly compile/build (do not want to download/flash) the BLE example.&lt;/p&gt;
&lt;p&gt;As you suggested that the project depends upon BSP, Mine was only using LEDs. For that I commented that whole function out. So, now my example should not use any peripherals defined by boards.h.(I may be wrong, correct me)&lt;/p&gt;
&lt;p&gt;But the error is still there. :&amp;nbsp;&lt;em&gt; ..\..\..\..\..\..\components\softdevice\s132\hex\s132_nrf52_6.0.0_softdevice.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So, what should I do now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135904?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 11:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67c56fde-1e96-4a58-b49f-4bed62ed913e</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Thank you Terje.&lt;/p&gt;
&lt;p&gt;I will try to modify above things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135901?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 11:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c87d5f-a3b0-41d8-a297-e4a43d7aaeed</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most examples relies heavily on the board support package (BSP) which is an SDK library that relies on a certain number of buttons, leds, etc. to be configured. In order to build the examples for a custom board you should:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;set the preprocessor define BOARD_CUSTOM&lt;/li&gt;
&lt;li&gt;remove the preprocessor define BOARD_PCA10040&lt;/li&gt;
&lt;li&gt;in &amp;lt;sdk folder&amp;gt;/components/boards, make a copy of pca10040.h that you name custom_board.h, and change the LED and button defines to reflect your custom board.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That way you should be able to run most SDK examples directly (unless they need more leds or buttons than are available on your board).&lt;/p&gt;
&lt;p&gt;Alternatively you must manually go through every place where the board support package or the defines within the board specific board file are used, and change that. Unfortunately I do not have a full overview of all the places that would be, but fixing one error message at a time would be a valid approach.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135877?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 10:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a998736d-039b-483e-b1c2-76bc1bb1b3cc</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Hello tesc,&lt;/p&gt;
&lt;p&gt;I now just tried the basic blinky example.&lt;/p&gt;
&lt;p&gt;The error &lt;em&gt;error:&amp;nbsp; #20: identifier &amp;quot;BSP_INIT_LEDS&amp;quot; is undefined&lt;/em&gt; &lt;em&gt;&lt;/em&gt;is solved(just to define it in code or /cc++ in target). But now again the first error is coming&lt;/p&gt;
&lt;p&gt;.&lt;em&gt;.\..\..\..\..\..\components\softdevice\s132\hex\s132_nrf52_6.0.0_softdevice.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This time I have not changed any setting in linker or anywhere.&lt;/p&gt;
&lt;p&gt;See attached photos for reference, if useful.(also attached a photo where error is showing)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2703.Capture.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6840.Capture1.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8664.Capture2.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1563.Capture3.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7245.Capture4.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135875?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 09:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3f6aefb-2127-400a-ba43-9c7b0d787903</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;I do not have nRF DK, so I am not concern about LEDs on board so I commented that whole function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135874?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 09:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37446224-5e93-42b5-a25d-55caeb0ad265</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;I am using &lt;em&gt;ble_app_beacon. &lt;/em&gt; But there was an error : &lt;em&gt;error:&amp;nbsp; #20: identifier &amp;quot;BSP_INIT_LEDS&amp;quot; is undefined. &lt;/em&gt;So, I just made that whole function comment. Except than this, I didn&amp;#39;t do change.&lt;/p&gt;
&lt;p&gt;Precompiled softdevice file is .hex file, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135872?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 09:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd328d54-aae5-4eb3-a561-8f2e1db53768</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What example from nRF5 SDK v15.0.0 are you trying?&lt;/p&gt;
&lt;p&gt;Can you make sure it is a fresh unchanged copy of the SDK? (Download again if necessary.)&lt;/p&gt;
&lt;p&gt;I have never seen that it has been necessary to do anything like what you did with the linker and scatter file changes that you did, so the problem is most likely somewhere else.&lt;/p&gt;
&lt;p&gt;Please note that you should not select the SoftDevice build in Keil and try to build that, as the SoftDevice is precompiled and should only be downloaded (not built). You can select it and then load it onto the device, but you will get errors if you try to compile it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error: L6236E: No section matches selector - no section to be FIRST/LAST.</title><link>https://devzone.nordicsemi.com/thread/135845?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 07:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d33da2bf-51d8-4495-980e-6e065826c6f2</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Sorry to increase the number and complexity of doubts.&lt;/p&gt;
&lt;p&gt;Referring to above, I don&amp;#39;t what happened but now I am getting this error :&lt;/p&gt;
&lt;p&gt;..\..\..\..\..\..\components\softdevice\s132\hex\s132_nrf52_6.0.0_softdevice.hex: error: L6002U: Could not open file ..\..\..\..\..\..\components\softdevice\s132\hex\main.o: No such file or directory&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have not tried to google it because It might be related with above error.&lt;/p&gt;
&lt;p&gt;So, better waiting for a solution here only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>