Andes Workshop

It is currently Mon Oct 14, 2019 5:31 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Doing pre-build then main-build of method
PostPosted: Tue Jul 29, 2014 2:57 pm 
Offline

Joined: Thu Apr 03, 2014 4:27 pm
Posts: 43
We using demo-int project for a example.
(1) Import demo-int project.
(2) 在Pre-build裡加要做的工作,如python D:\\loop.py 。如下圖
Attachment:
圖(1).png
圖(1).png [ 3.11 KiB | Viewed 3400 times ]

(3) Build Project 以產生auto-build的makefile
(4) 修改D:\Andestech\AndeSight201MCU\mcu_64\workspace\demo-int\Debug\makefile (即自動產生的makefile)在pre-build後面,多加一行$(MAKE) -j2 main-build。如附下圖
Attachment:
圖(2).png
圖(2).png [ 2.77 KiB | Viewed 3400 times ]

(5) 取消auto-build,uncheck下面的選項。所以會變成makefile project。如附下圖
Attachment:
圖(3).png
圖(3).png [ 14.49 KiB | Viewed 3400 times ]

(6) 把預設的Build all改成Build pre-build。如附下圖
Attachment:
圖(4).png
圖(4).png [ 17.34 KiB | Viewed 3400 times ]


附件提供範例程式demo.zip


Attachments:
demo.zip [119.14 KiB]
Downloaded 232 times
Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group