mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #6226 from M-ichae-l/mbed-os_ci-test-fixed_rtl8195am
rtl8195am: fix ARM section errorpull/6302/merge
						commit
						4e7ad0dc95
					
				| 
						 | 
				
			
			@ -19,7 +19,9 @@
 | 
			
		|||
#include "hal_adc.h"
 | 
			
		||||
#include "analogin_api.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if CONFIG_ADC_EN
 | 
			
		||||
#include "pinmap.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,9 +29,6 @@ LR_IRAM 0x10007000 (0x70000 - 0x7000) {
 | 
			
		|||
    *libc.a (+RW)
 | 
			
		||||
    *(.sdram.data*)
 | 
			
		||||
    *lib_peripheral_mbed_arm.ar (+RW)
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  RW_IRAM2 +0 UNINIT FIXED {
 | 
			
		||||
    *rtl8195a_crypto*.o(+ZI, COMMON)
 | 
			
		||||
    *libc.a (+ZI, COMMON)
 | 
			
		||||
    *(.bss.thread_stack_main)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,14 +18,14 @@
 | 
			
		|||
#if defined(__CC_ARM) || \
 | 
			
		||||
    (defined (__ARMCC_VERSION) && __ARMCC_VERSION >= 6010050)
 | 
			
		||||
 | 
			
		||||
extern uint8_t Image$$RW_IRAM2$$ZI$$Base[];
 | 
			
		||||
extern uint8_t Image$$RW_IRAM2$$ZI$$Limit[];
 | 
			
		||||
extern uint8_t Image$$RW_IRAM1$$ZI$$Base[];
 | 
			
		||||
extern uint8_t Image$$RW_IRAM1$$ZI$$Limit[];
 | 
			
		||||
extern uint8_t Image$$TCM_OVERLAY$$ZI$$Base[];
 | 
			
		||||
extern uint8_t Image$$TCM_OVERLAY$$ZI$$Limit[];
 | 
			
		||||
extern uint8_t Image$$RW_DRAM2$$ZI$$Base[];
 | 
			
		||||
extern uint8_t Image$$RW_DRAM2$$ZI$$Limit[];
 | 
			
		||||
#define __bss_sram_start__ Image$$RW_IRAM2$$ZI$$Base
 | 
			
		||||
#define __bss_sram_end__   Image$$RW_IRAM2$$ZI$$Limit
 | 
			
		||||
#define __bss_sram_start__ Image$$RW_IRAM1$$ZI$$Base
 | 
			
		||||
#define __bss_sram_end__   Image$$RW_IRAM1$$ZI$$Limit
 | 
			
		||||
#define __bss_dtcm_start__ Image$$TCM_OVERLAY$$ZI$$Base
 | 
			
		||||
#define __bss_dtcm_end__   Image$$TCM_OVERLAY$$ZI$$Limit
 | 
			
		||||
#define __bss_dram_start__ Image$$RW_DRAM2$$ZI$$Base
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,10 @@
 | 
			
		|||
#include "objects.h"
 | 
			
		||||
#include "log_uart_api.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
const u32 log_uart_support_rate[] = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,10 @@
 | 
			
		|||
#include "objects.h"
 | 
			
		||||
#include "pinmap.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if DEVICE_PWMOUT
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_PWM_EN
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,11 @@
 | 
			
		|||
#include "rtl8195a.h"
 | 
			
		||||
#include "objects.h"
 | 
			
		||||
#include "serial_api.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if CONFIG_UART_EN
 | 
			
		||||
 | 
			
		||||
#include "pinmap.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,6 +21,10 @@
 | 
			
		|||
#include "pinmap.h"
 | 
			
		||||
#include "hal_ssi.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
extern u32 SystemGetCpuClk(VOID);
 | 
			
		||||
extern VOID HAL_GPIO_PullCtrl(u32 pin, u32 mode);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,10 @@
 | 
			
		|||
#include "analogin_api.h"
 | 
			
		||||
#include "analogin_ext.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_MBED_ENABLED
 | 
			
		||||
#include "platform_stdlib.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef DEVICE_TRNG
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,6 +51,7 @@
 | 
			
		|||
	#include <stdint.h>
 | 
			
		||||
	#include "diag.h"
 | 
			
		||||
	#define strsep(str, delim)      	_strsep(str, delim)
 | 
			
		||||
	#define _memset(dst, val, sz)		memset(dst, val, sz)
 | 
			
		||||
#else
 | 
			
		||||
	#include <stdio.h>
 | 
			
		||||
	#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue