code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/** mbed Microcontroller Library ****************************************************************************** * @file sleep_ex_api.h * @author * @version V1.0.0 * @brief This file provides mbed API for SLEEP. ****************************************************************************** * @attenti...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/sleep_ex_api.h
C
apache-2.0
11,817
/****************************************************************************** * * Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the Licen...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/spdio_api.h
C
apache-2.0
4,944
/****************************************************************************** * * Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the Licen...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/spi_ex_api.h
C
apache-2.0
9,079
/** mbed Microcontroller Library ****************************************************************************** * @file sys_api.h * @author * @version V1.0.0 * @brief This file provides following mbed system API: * -JTAG OFF * -LOGUART ON/OFF * -OTA image switch * -System Reset ***...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/sys_api.h
C
apache-2.0
2,825
/** mbed Microcontroller Library ****************************************************************************** * @file wdt_api.h * @author * @version V1.0.0 * @brief This file provides following mbed WDT API ****************************************************************************** * @attention...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/wdt_api.h
C
apache-2.0
2,081
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/PeripheralNames.h
C
apache-2.0
1,194
/****************************************************************************** * * Copyright(c) 2007 - 2021 Realtek Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the Licen...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/PinNames.h
C
apache-2.0
3,280
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/PortNames.h
C
apache-2.0
811
/** mbed Microcontroller Library ****************************************************************************** * @file analogin_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for ADC. *********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/analogin_api.c
C
apache-2.0
3,543
/** mbed Microcontroller Library ****************************************************************************** * @file captouch_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for CAPTOUCH. ****************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/captouch_api.c
C
apache-2.0
5,731
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/device.h
C
apache-2.0
1,263
/** mbed Microcontroller Library ****************************************************************************** * @file dma_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed GDMA API for memcopy ******************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/dma_api.c
C
apache-2.0
3,801
/** mbed Microcontroller Library ****************************************************************************** * @file efuse_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for EFUSE. **********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/efuse_api.c
C
apache-2.0
4,113
/** mbed Microcontroller Library ****************************************************************************** * @file flash_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for flash. ****************************************************************************** * @at...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/flash_api.c
C
apache-2.0
13,876
/** mbed Microcontroller Library ****************************************************************************** * @file gpio_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for GPIO. ************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/gpio_api.c
C
apache-2.0
5,721
/** mbed Microcontroller Library ****************************************************************************** * @file gpio_irq_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for GPIO IRQ. ****************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/gpio_irq_api.c
C
apache-2.0
6,052
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/gpio_object.h
C
apache-2.0
817
/** mbed Microcontroller Library ****************************************************************************** * @file i2c_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for I2C. **************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/i2c_api.c
C
apache-2.0
23,832
/** mbed Microcontroller Library ****************************************************************************** * @file i2s_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for I2S. **************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/i2s_api.c
C
apache-2.0
11,981
/** mbed Microcontroller Library ****************************************************************************** * @file keyscan_api.c * @author * @version V1.0.0 * @date 2019-04-19 * @brief This file provides mbed API for KeyScan. ******************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/keyscan_api.c
C
apache-2.0
6,766
/** mbed Microcontroller Library ****************************************************************************** * @file lcdc_api.c * @author * @version V1.0.0 * @date 2019-04-19 * @brief This file provides mbed API for LCDC. **************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/lcdc_api.c
C
apache-2.0
9,548
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, Realtek Semiconductor Corp. * All rights reserved. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written per...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/nfc_api.c
C
apache-2.0
5,196
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/objects.h
C
apache-2.0
2,362
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, Realtek Semiconductor Corp. * All rights reserved. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written per...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/pinmap.c
C
apache-2.0
1,380
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/pinmap_common.c
C
apache-2.0
1,791
/** mbed Microcontroller Library ****************************************************************************** * @file port_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for GPIO PORT. *******************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/port_api.c
C
apache-2.0
4,322
/** mbed Microcontroller Library ****************************************************************************** * @file pwmout_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for PWM. ***************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/pwmout_api.c
C
apache-2.0
9,435
/** mbed Microcontroller Library ****************************************************************************** * @file rtc_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for RTC. ****************************************************************************** * @attent...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/rtc_api.c
C
apache-2.0
9,848
/** mbed Microcontroller Library ****************************************************************************** * @file serial_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for UART. **********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/serial_api.c
C
apache-2.0
42,611
/** mbed Microcontroller Library ****************************************************************************** * @file sleep.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for SLEEP. **************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/sleep.c
C
apache-2.0
2,132
#include "FreeRTOS.h" #include "ameba_soc.h" #include "spdio_api.h" #include "rtl8721d_inic.h" /** @addtogroup AmebaD_Mbed_API * @{ */ /** @defgroup MBED_SPDIO * @brief MBED_SPDIO driver modules. * @{ */ /** @defgroup MBED_SPDIO_Exported_Types MBED_SPDIO Exported Types * @{ */ #define SPDIO_IRQ_...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/spdio_api.c
C
apache-2.0
24,496
/** mbed Microcontroller Library ****************************************************************************** * @file spi_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for SPI. **************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/spi_api.c
C
apache-2.0
39,169
/** mbed Microcontroller Library ****************************************************************************** * @file sys_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides following mbed system API: * -JTAG OFF * -LOGUART ON/OFF * -OTA image switch ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/sys_api.c
C
apache-2.0
5,884
/** mbed Microcontroller Library ****************************************************************************** * @file timer_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for gtimer. ********************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/timer_api.c
C
apache-2.0
6,040
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2014, Realtek Semiconductor Corp. * All rights reserved. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written per...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/us_ticker.c
C
apache-2.0
3,546
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/us_ticker_api.c
C
apache-2.0
3,144
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/wait_api.c
C
apache-2.0
896
/** mbed Microcontroller Library ****************************************************************************** * @file wdt_api.c * @author * @version V1.0.0 * @date 2016-08-01 * @brief This file provides mbed API for WDG. **************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/wdt_api.c
C
apache-2.0
2,479
#include "dhcps.h" #include "lwip/tcpip.h" //static struct dhcp_server_state dhcp_server_state_machine; static uint8_t dhcp_server_state_machine = DHCP_SERVER_STATE_IDLE; /* recorded the client MAC addr(default sudo mac) */ //static uint8_t dhcps_record_first_client_mac[6] = {0xff,0xff,0xff,0xff,0xff,0xff}; /* record...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/network/dhcp/dhcps.c
C
apache-2.0
28,083
#ifndef __DHCPS_H__ #define __DHCPS_H__ #include "lwip/arch.h" #include "lwip/netif.h" #include "lwip/udp.h" #include "lwip/stats.h" #include "lwip/sys.h" #include "osdep_service.h" #include <platform/platform_stdlib.h> #define CONFIG_DHCPS_KEPT_CLIENT_INFO #define DHCP_POOL_START 100 #define DHCP_POOL_END 200 ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/network/dhcp/dhcps.h
C
apache-2.0
5,349
#include <rom_ssl_ram_map.h> #include <section_config.h> #ifndef SSL_RAM_MAP_SECTION #define SSL_RAM_MAP_SECTION #endif #ifndef HAL_ROM_BSS_V02_SECTION #define HAL_ROM_BSS_V02_SECTION #endif /* RAM table referred by SSL ROM */ SSL_RAM_MAP_SECTION struct _rom_ssl_ram_map rom_ssl_ram_map; SSL_RAM_MAP_SECTION struct _r...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/network/ssl/ssl_ram_map/rom/rom_ssl_ram_map.c
C
apache-2.0
359
#ifndef ROM_SSL_RAM_MAP_H #define ROM_SSL_RAM_MAP_H #include "basic_types.h" struct _rom_ssl_ram_map { /* OS interface */ void *(*ssl_malloc)(unsigned int sz); void (*ssl_free)(void *); int (*ssl_printf)(const char *, ...); //AES HW CRYPTO int (*hw_crypto_aes_ecb_init)(const u8* key, const u32 keylen); int (*...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/network/ssl/ssl_ram_map/rom/rom_ssl_ram_map.h
C
apache-2.0
3,332
#include "rom_ssl_ram_map.h" #include <diag.h> extern struct _rom_ssl_ram_map rom_ssl_ram_map; //AES HW CRYPTO extern int rtl_crypto_aes_ecb_init(IN const u8* key, IN const u32 keylen); extern int rtl_crypto_aes_ecb_decrypt( IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const u32 ivlen, OUT u...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/common/network/ssl/ssl_ram_map/ssl_ram_map.c
C
apache-2.0
2,859
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/FreeRTOS.h
C
apache-2.0
22,460
#ifndef _FREERTOS_PMU_H_ #define _FREERTOS_PMU_H_ typedef enum { PMU_OS =0, PMU_WLAN_DEVICE =1, PMU_LOGUART_DEVICE =2, PMU_KM4_RUN =3, PMU_UART0_DEVICE =4, PMU_UART1_DEVICE =5, PMU_I2C0_DEVICE =6, PMU_TOUCH_DEVICE =7, PMU_USOC_DEVICE =8, PMU_DONGLE_DEVICE =9, PMU_RTC_DEVICE =10,...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/freertos_pmu.h
C
apache-2.0
2,761
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/mpu_wrappers.h
C
apache-2.0
5,122
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "osdep_service.h" #include "device_lock.h" //-----------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/device_lock.c
C
apache-2.0
1,785
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _DEVICE_LOCK_H_ #define _DEVICE_LOCK_H_ enum _RT_DEV_LOCK_E { ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/include/device_lock.h
C
apache-2.0
614
/****************************************************************************** * Copyright (c) 2013-2016 Realtek Semiconductor Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/include/osdep_service.h
C
apache-2.0
48,567
#ifndef _PSRAM_RESERVE_H_ #define _PSRAM_RESERVE_H_ //#include <stdio.h> #include <stdint.h> #include <osdep_service.h> /* NOTE: struct size must be a 2's power! */ typedef struct _PsramMemChunk { struct _PsramMemChunk *next; int size; } PsramMemChunk; typedef PsramMemChunk Psram_heap_buf_t; // A heap typedef str...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/include/psram_reserve.h
C
apache-2.0
1,397
#ifndef STRUCT_HEAP_H #define STRUCT_HEAP_H //#include <stdio.h> #include <stdint.h> #include <osdep_service.h> /* NOTE: struct size must be a 2's power! */ typedef struct _MemChunk { struct _MemChunk *next; int size; } MemChunk; typedef MemChunk heap_buf_t; /// A heap typedef struct Heap { struct _MemChunk *Fre...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/include/tcm_heap.h
C
apache-2.0
1,523
/****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * ******************************************************************************/ #include <osdep_service.h> #if defined(CON...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/osdep_service.c
C
apache-2.0
32,735
#include <string.h> // memset() #include <psram_reserve.h> #include <ameba_soc.h> static struct Psram_Heap g_Psram_heap; int g_Psram_heap_inited = 0; static _lock Psram_heap_lock; #define configTOTAL_PSRAM_HEAP_SIZE (0x200000) #define configBYTE_PSRAM_ALIGNMENT 32 PSRAM_HEAP_SECTION static unsigned char psRAMH...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/psram_reserve.c
C
apache-2.0
5,283
//#include <autoconf.h> #include "tcm_heap.h" #include <string.h> // memset() #include <osdep_service.h> //#define _DEBUG #if CONFIG_USE_TCM_HEAP #define FREE_FILL_CODE 0xDEAD #define ALLOC_FILL_CODE 0xBEEF #define ROUND_UP2(x, pad) (((x) + ((pad) - 1)) & ~((pad) - 1)) #define TCM_HEAP_SIZE (40*1024) s...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/os_dep/tcm_heap.c
C
apache-2.0
8,301
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/portable.h
C
apache-2.0
11,126
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/portmacro.h
C
apache-2.0
6,228
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/os/projdefs.h
C
apache-2.0
2,144
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _MONITOR_LIB_H_ #define _MONITOR_LIB_H_ _LONG_CALL_ extern u32 ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/include/monitor_rom.h
C
apache-2.0
659
/** ****************************************************************************** * @file rtl_trace.h * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions for log print and mask. ******************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/include/rtl_trace.h
C
apache-2.0
1,190
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _RTK_CONSOL_H_ #define _RTK_CONSOL_H_ //Log UART //UART_LOG_CMD...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/include/shell.h
C
apache-2.0
3,051
#include <stdio.h> #include "ameba_soc.h" #if !defined (__ICCARM__) extern u8 RAM_IMG1_VALID_PATTEN[]; void *tmp = RAM_IMG1_VALID_PATTEN; #endif #if defined ( __ICCARM__ ) size_t __write(int Handle, const unsigned char * Buf, size_t Bufsize) { int nChars = 0; /* Check for stdout and stderr (only necessary if f...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/low_level_io.c
C
apache-2.0
1,519
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include "freertos_pmu.h" #include "rom_map.h" ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/monitor_hp.c
C
apache-2.0
11,787
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include "freertos_pmu.h" #include "rom_map.h" ...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/monitor_lp.c
C
apache-2.0
12,420
/** ****************************************************************************** * @file rtl_trace.c * @author * @version V1.0.0 * @date 2016-05-17 * @brief This file contains all the functions for log print and mask. ******************************************************************************...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/rtl_trace.c
C
apache-2.0
4,412
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include "osdep_service.h" #include <stdarg.h> #i...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/shell_ram.c
C
apache-2.0
5,363
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #pragma GCC diagnostic push #pragma GCC diagnost...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/rom/monitor_rom.c
C
apache-2.0
11,060
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include "ameba_soc.h" #include <stdarg.h> #include "strproc.h" #include...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/rom/shell_rom.c
C
apache-2.0
15,017
/* * xModem protocol * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #include <ameba_soc.h> #include "touch_key.h" #define HP_JACK_DET _PA_21 /*headphon...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/touch_key/touch_key.c
C
apache-2.0
10,487
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _TOUCH_KEY_H_ #define _TOUCH_KEY_H_ void app_hp_jack_init(void)...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/touch_key/touch_key.h
C
apache-2.0
423
/* X-Modem Header File 1999/09/03 sprite, support Xmode Tx & Rx */ #ifndef _XMODE_H_ #define _XMODE_H_ #include <basic_types.h> /***************** * X-Modem status *****************/ #define XMODEM_OK 1 #define XMODEM_CANCEL 2 #define XMODEM_ACK 3 #define XMODEM_NAK 4 #define XMODEM_COMPLETE 5 #define XMODEM...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/xmodem/xmodem_rom.h
C
apache-2.0
2,752
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _XMPORT_UART_H_ #define _XMPORT_UART_H_ struct _xmodem_uart_map...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/xmodem/xmodem_uart_rom.h
C
apache-2.0
1,507
/* * Routines to access hardware * * Copyright (c) 2013 Realtek Semiconductor Corp. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written permission of RealTek. */ #ifndef _FW_UPDATE_ROM_H_ #define _FW_UPDATE_ROM_H_ #include "ameba_soc...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/xmodem/xmodem_update_rom.h
C
apache-2.0
676
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_abs_f32.c * Description: Floating-point vector absolute value * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_abs_f32.c
C
apache-2.0
3,847
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_abs_q15.c * Description: Q15 vector absolute value * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_abs_q15.c
C
apache-2.0
4,275
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_abs_q31.c * Description: Q31 vector absolute value * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_abs_q31.c
C
apache-2.0
3,297
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_abs_q7.c * Description: Q7 vector absolute value * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * -----------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_abs_q7.c
C
apache-2.0
3,843
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_add_f32.c * Description: Floating-point vector addition * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_add_f32.c
C
apache-2.0
3,600
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_add_q15.c * Description: Q15 vector addition * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_add_q15.c
C
apache-2.0
3,276
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_add_q31.c * Description: Q31 vector addition * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_add_q31.c
C
apache-2.0
3,397
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_add_q7.c * Description: Q7 vector addition * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * -----------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_add_q7.c
C
apache-2.0
3,086
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_dot_prod_f32.c * Description: Floating-point dot product * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_dot_prod_f32.c
C
apache-2.0
3,476
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_dot_prod_q15.c * Description: Q15 dot product * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_dot_prod_q15.c
C
apache-2.0
3,754
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_dot_prod_q31.c * Description: Q31 dot product * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_dot_prod_q31.c
C
apache-2.0
3,833
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_dot_prod_q7.c * Description: Q7 dot product * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_dot_prod_q7.c
C
apache-2.0
4,231
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mult_f32.c * Description: Floating-point vector multiplication * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_mult_f32.c
C
apache-2.0
4,272
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mult_q15.c * Description: Q15 vector multiplication * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_mult_q15.c
C
apache-2.0
4,131
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mult_q31.c * Description: Q31 vector multiplication * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_mult_q31.c
C
apache-2.0
4,027
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_mult_q7.c * Description: Q7 vector multiplication * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_mult_q7.c
C
apache-2.0
3,392
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_negate_f32.c * Description: Negates floating-point vectors * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * -------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_negate_f32.c
C
apache-2.0
3,311
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_negate_q15.c * Description: Negates Q15 vectors * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_negate_q15.c
C
apache-2.0
3,378
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_negate_q31.c * Description: Negates Q31 vectors * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_negate_q31.c
C
apache-2.0
3,043
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_negate_q7.c * Description: Negates Q7 vectors * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_negate_q7.c
C
apache-2.0
2,973
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_offset_f32.c * Description: Floating-point vector offset * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_offset_f32.c
C
apache-2.0
3,797
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_offset_q15.c * Description: Q15 vector offset * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_offset_q15.c
C
apache-2.0
3,389
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_offset_q31.c * Description: Q31 vector offset * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * --------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_offset_q31.c
C
apache-2.0
3,278
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_offset_q7.c * Description: Q7 vector offset * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------------------------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_offset_q7.c
C
apache-2.0
3,318
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_scale_f32.c * Description: Multiplies a floating-point vector by a scalar * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ----------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_scale_f32.c
C
apache-2.0
4,240
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_scale_q15.c * Description: Multiplies a Q15 vector by a scalar * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_scale_q15.c
C
apache-2.0
4,318
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_scale_q31.c * Description: Multiplies a Q31 vector by a scalar * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * ---------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_scale_q31.c
C
apache-2.0
5,733
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_scale_q7.c * Description: Multiplies a Q7 vector by a scalar * * $Date: 27. January 2017 * $Revision: V.1.5.1 * * Target Processor: Cortex-M cores * -----------------------...
YifuLiu/AliOS-Things
hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/BasicMathFunctions/arm_scale_q7.c
C
apache-2.0
4,006