support w801

This commit is contained in:
pikastech 2021-11-30 21:29:25 +08:00
parent 59aa8dddb9
commit 84511218cc
9 changed files with 3595 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="511967177741410582" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="502669077505605869" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

View File

@ -1,5 +1,5 @@
#RT-Thread Studio Project Configuration
#Tue Nov 30 16:28:27 CST 2021
#Tue Nov 30 19:34:10 CST 2021
project_type=rtt
chip_name=STM32F429ZI
cpu_name=None
@ -17,6 +17,6 @@ tool_chain=gcc
uart_name=uart1
tx_pin_name=PA9
rtt_nano_path=
output_project_path=C\:\\Users\\liang\\Desktop\\simulation-rtt-qemu-arm2d
output_project_path=C\:\\Users\\liang\\Desktop\\pikascript\\bsp\\simulation-rtt-qemu-arm2d
hardware_adapter=QEMU
project_name=stm32f429-qemu

5
bsp/w801/README.md Normal file
View File

@ -0,0 +1,5 @@
# usage
1. use "W800_SDK.cdkproj" to replace "wm_sdk_w800\tools\w800\projects\SDK_Project\project\CDK_WS\W800_SDK\W800_SDK.cdkproj"
2. use "app" folder to replace "wm_sdk_w800\app" folder

3539
bsp/w801/W800_SDK.cdkproj Normal file

File diff suppressed because one or more lines are too long

15
bsp/w801/app/Makefile Normal file
View File

@ -0,0 +1,15 @@
TOP_DIR = ..
sinclude $(TOP_DIR)/tools/w800/conf.mk
ifndef PDIR
GEN_LIBS = libuser$(LIB_EXT)
endif
#DEFINES +=
sinclude $(TOP_DIR)/tools/w800/rules.mk
INCLUDES := $(INCLUDES) -I $(PDIR)include
PDIR := ../$(PDIR)
sinclude $(PDIR)Makefile

28
bsp/w801/app/main.c Normal file
View File

@ -0,0 +1,28 @@
/*****************************************************************************
*
* File Name : main.c
*
* Description: main
*
* Copyright (c) 2014 Winner Micro Electronic Design Co., Ltd.
* All rights reserved.
*
* Author : dave
*
* Date : 2014-6-14
*****************************************************************************/
#include "wm_include.h"
#include "pikaScript.h"
void UserMain(void)
{
printf("[info]: w801 system init ok.\r\n");
PikaObj *pikaMain = pikaScriptInit();
while(1){
}
#if DEMO_CONSOLE
CreateDemoTask();
#endif
//用户自己的task
}

View File

@ -0,0 +1,3 @@
import PikaStdLib
print('hello PikaScript!')

Binary file not shown.

View File

@ -0,0 +1,2 @@
pikascript-core==v1.2.6
PikaStdLib==v1.2.1