mirror of
https://github.com/drasko/open-ameba.git
synced 2026-07-06 03:15:41 +00:00
Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
parent
05b731b5f3
commit
eeb7f808ae
1446 changed files with 1 additions and 65 deletions
41
sdk/component/soc/realtek/8195a/cmsis/device/rtl_stdlib.h
Normal file
41
sdk/component/soc/realtek/8195a/cmsis/device/rtl_stdlib.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* Routines for standard lib access
|
||||
*
|
||||
* 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 _RTL_STDLIB_H_
|
||||
#define _RTL_STDLIB_H_
|
||||
#if 0
|
||||
#include <basic_types.h>
|
||||
#include <strproc.h>
|
||||
#include <diag.h>
|
||||
|
||||
//
|
||||
// string operation
|
||||
//
|
||||
#define strlen(str) prvStrLen((const u8*)str)
|
||||
#define strcmp(str1, str2) prvStrCmp((const u8*)str1, (const u8*)str2)
|
||||
//#define sscanf(src, format...) //TODO: Strtoul(src,0,16) / Strtoul(src,0,10)
|
||||
#define strtok(str, delim) prvStrTok(str, delim)
|
||||
#define strcpy(dst, src) prvStrCpy((u8 *)dst, (const u8*)src)
|
||||
#define atoi(str) prvAtoi(str)
|
||||
#define strstr(str1, str2) prvStrStr(str1, str2)
|
||||
|
||||
//
|
||||
// standard i/o
|
||||
//
|
||||
#define snprintf DiagSnPrintf
|
||||
#define sprintf prvDiagSPrintf
|
||||
#define printf prvDiagPrintf
|
||||
|
||||
//
|
||||
// memory management
|
||||
//
|
||||
#define malloc pvPortMalloc
|
||||
#define free vPortFree
|
||||
#endif
|
||||
#endif //_RTL_STDLIB_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue