mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
support w801
This commit is contained in:
parent
59aa8dddb9
commit
84511218cc
@ -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 "${INPUTS}"" 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 "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
|
@ -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
5
bsp/w801/README.md
Normal 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
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
15
bsp/w801/app/Makefile
Normal 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
28
bsp/w801/app/main.c
Normal 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
|
||||
}
|
||||
|
3
bsp/w801/app/pikascript/main.py
Normal file
3
bsp/w801/app/pikascript/main.py
Normal file
@ -0,0 +1,3 @@
|
||||
import PikaStdLib
|
||||
|
||||
print('hello PikaScript!')
|
BIN
bsp/w801/app/pikascript/pikaPackage.exe
Normal file
BIN
bsp/w801/app/pikascript/pikaPackage.exe
Normal file
Binary file not shown.
2
bsp/w801/app/pikascript/requestment.txt
Normal file
2
bsp/w801/app/pikascript/requestment.txt
Normal file
@ -0,0 +1,2 @@
|
||||
pikascript-core==v1.2.6
|
||||
PikaStdLib==v1.2.1
|
Loading…
x
Reference in New Issue
Block a user