新增发布SDK的脚本

This commit is contained in:
大石头 2017-03-25 10:29:31 +08:00
parent c077006dac
commit 8818b1feba
5 changed files with 4 additions and 7 deletions

View File

@ -6,8 +6,6 @@
#include "Button_GrayLevel.h"
#include "Device\WatchDog.h"
//#include "Platform\stm32.h"
#define BTN_DEBUG DEBUG
//#define BTN_DEBUG 0
#if BTN_DEBUG

View File

@ -3,8 +3,6 @@
#include "IR.h"
//#include "Platform\stm32.h"
/*
Timer2 CH2
DMA1 Channel3

View File

@ -2,8 +2,6 @@
#include "Device\Port.h"
#include "DAC.h"
//#include "Platform\stm32.h"
#if defined(STM32F1)
DAConverter::DAConverter(Pin pin)
{

4
Tool/发布SDK.cs Normal file
View File

@ -0,0 +1,4 @@
var dst = "..\\..\\SmartSDK\\";
"..\\".AsDirectory().CopyTo(dst, "*.h;*.exe;*.dll", true);
Directory.Delete(dst + "Platform", true);
Directory.Delete(dst + "XX", true);

View File

@ -1 +0,0 @@
"xcopy".Run("*.h ..\\SmartOSLib\\ /S");