| 
									
										
										
										
											2020-03-07 18:02:54 +07:00
										 |  |  | /* Linker script to configure memory regions. */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | SEARCH_DIR(.) | 
					
						
							| 
									
										
										
										
											2024-04-22 12:12:56 +07:00
										 |  |  | /*GROUP(-lgcc -lc -lnosys) not compatible with clang*/ | 
					
						
							| 
									
										
										
										
											2020-03-07 18:02:54 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | MEMORY | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2024-04-22 14:54:35 +07:00
										 |  |  |   FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000 | 
					
						
							| 
									
										
										
										
											2020-03-07 18:02:54 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  |   /* SRAM required by S132 depend on | 
					
						
							|  |  |  |    * - Attribute Table Size | 
					
						
							|  |  |  |    * - Vendor UUID count | 
					
						
							|  |  |  |    * - Max ATT MTU | 
					
						
							|  |  |  |    * - Concurrent connection peripheral + central + secure links | 
					
						
							|  |  |  |    * - Event Len, HVN queue, Write CMD queue | 
					
						
							| 
									
										
										
										
											2023-03-17 16:12:49 +07:00
										 |  |  |    */ | 
					
						
							| 
									
										
										
										
											2024-04-22 14:54:35 +07:00
										 |  |  |   RAM (rwx) : ORIGIN = 0x20003400, LENGTH = 0x20040000 - 0x20003400 | 
					
						
							| 
									
										
										
										
											2020-03-07 18:02:54 +07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | SECTIONS | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   . = ALIGN(4); | 
					
						
							|  |  |  |   .svc_data : | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     PROVIDE(__start_svc_data = .); | 
					
						
							|  |  |  |     KEEP(*(.svc_data)) | 
					
						
							|  |  |  |     PROVIDE(__stop_svc_data = .); | 
					
						
							|  |  |  |   } > RAM | 
					
						
							| 
									
										
										
										
											2023-03-17 16:12:49 +07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-07 18:02:54 +07:00
										 |  |  |   .fs_data : | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     PROVIDE(__start_fs_data = .); | 
					
						
							|  |  |  |     KEEP(*(.fs_data)) | 
					
						
							|  |  |  |     PROVIDE(__stop_fs_data = .); | 
					
						
							|  |  |  |   } > RAM | 
					
						
							|  |  |  | } INSERT AFTER .data; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-16 10:14:00 +07:00
										 |  |  | INCLUDE "nrf_common.ld" | 
					
						
							| 
									
										
										
										
											2024-04-22 14:54:35 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* nrfx v2 linker does not define __tbss_start/end__ __sbss_start/end__*/ | 
					
						
							|  |  |  | __tbss_start__ = __tbss_start; | 
					
						
							|  |  |  | __tbss_end__ = __tbss_end; | 
					
						
							|  |  |  | __sbss_start__ = __sbss_start; | 
					
						
							|  |  |  | __sbss_end__ = __sbss_end; |