[BSP] Update simulator bsp for MSVC.
This commit is contained in:
parent
7f36786788
commit
f0dce37543
|
@ -59,7 +59,7 @@ CONFIG_RT_CONSOLE_DEVICE_NAME="console"
|
|||
#
|
||||
# C++ features
|
||||
#
|
||||
CONFIG_RT_USING_CPLUSPLUS=y
|
||||
# CONFIG_RT_USING_CPLUSPLUS is not set
|
||||
|
||||
#
|
||||
# Command shell
|
||||
|
@ -189,6 +189,7 @@ CONFIG_RTGUI_USING_DEMO=y
|
|||
# system packages
|
||||
#
|
||||
# CONFIG_PKG_USING_PARTITION is not set
|
||||
CONFIG_RT_USING_PERSIMMON_EXAMPLE=y
|
||||
# CONFIG_PKG_USING_SQLITE is not set
|
||||
# CONFIG_PKG_USING_RTI is not set
|
||||
|
||||
|
@ -232,7 +233,9 @@ CONFIG_RTGUI_USING_DEMO=y
|
|||
#
|
||||
# miscellaneous packages
|
||||
#
|
||||
# CONFIG_PKG_USING_FASTLZ is not set
|
||||
CONFIG_PKG_USING_FASTLZ=y
|
||||
CONFIG_PKG_FASTLZ_PATH="/packages/misc/fastlz"
|
||||
CONFIG_PKG_FASTLZ_VER="v1.0.0"
|
||||
# CONFIG_PKG_USING_MINILZO is not set
|
||||
|
||||
#
|
||||
|
@ -245,6 +248,11 @@ CONFIG_RTGUI_USING_DEMO=y
|
|||
#
|
||||
# CONFIG_PKG_USING_CODEC is not set
|
||||
# CONFIG_PKG_USING_PLAYER is not set
|
||||
CONFIG_PKG_USING_PERSIMMON_SRC=y
|
||||
CONFIG_PKG_PERSIMMON_SRC_PATH="/realthread-packages/persimmon-src"
|
||||
# CONFIG_PKG_USING_PERSIMMON_SRC_v1_0_0 is not set
|
||||
CONFIG_PKG_USING_PERSIMMON_LATEST_VERSION=y
|
||||
CONFIG_PKG_PERSIMMON_SRC_VER="latest_version"
|
||||
|
||||
#
|
||||
# Network Utilities
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <WinError.h>
|
||||
#include <windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
#if defined(__MINGW32__) && defined(_NO_OLDNAMES)
|
||||
#define O_RDONLY _O_RDONLY
|
||||
|
@ -49,7 +49,7 @@
|
|||
*/
|
||||
#define FILE_PATH_MAX 256 /* the longest file path */
|
||||
|
||||
#define WIN32_DIRDISK_ROOT "./disk" /* "F:\\Project\\svn\\rtt\\trunk\\bsp\\simulator_test" */
|
||||
#define WIN32_DIRDISK_ROOT "./disk"
|
||||
|
||||
typedef struct {
|
||||
HANDLE handle;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
/* C++ features */
|
||||
|
||||
#define RT_USING_CPLUSPLUS
|
||||
/* RT_USING_CPLUSPLUS is not set */
|
||||
|
||||
/* Command shell */
|
||||
|
||||
|
@ -168,6 +168,7 @@
|
|||
/* system packages */
|
||||
|
||||
/* PKG_USING_PARTITION is not set */
|
||||
#define RT_USING_PERSIMMON_EXAMPLE
|
||||
/* PKG_USING_SQLITE is not set */
|
||||
/* PKG_USING_RTI is not set */
|
||||
|
||||
|
@ -205,7 +206,7 @@
|
|||
|
||||
/* miscellaneous packages */
|
||||
|
||||
/* PKG_USING_FASTLZ is not set */
|
||||
#define PKG_USING_FASTLZ
|
||||
/* PKG_USING_MINILZO is not set */
|
||||
|
||||
/* example package: hello */
|
||||
|
@ -216,6 +217,9 @@
|
|||
|
||||
/* PKG_USING_CODEC is not set */
|
||||
/* PKG_USING_PLAYER is not set */
|
||||
#define PKG_USING_PERSIMMON_SRC
|
||||
/* PKG_USING_PERSIMMON_SRC_v1_0_0 is not set */
|
||||
#define PKG_USING_PERSIMMON_LATEST_VERSION
|
||||
|
||||
/* Network Utilities */
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef RTCONFIG_PROJECT_H__
|
||||
#define RTCONFIG_PROJECT_H__
|
||||
|
||||
#define RT_HEAP_SIZE (1024*1024*2)
|
||||
#define RT_HEAP_SIZE (1024*1024*8)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define NORESOURCE //RT_VESRION in winuser.h
|
||||
|
|
Loading…
Reference in New Issue