Andes Workshop https://forum.andestech.com/ |
|
Doing pre-build then main-build of method https://forum.andestech.com/viewtopic.php?f=23&t=871 |
Page 1 of 1 |
Author: | jonathan [ Tue Jul 29, 2014 2:57 pm ] | ||
Post subject: | Doing pre-build then main-build of method | ||
We using demo-int project for a example. (1) Import demo-int project. (2) 在Pre-build裡加要做的工作,如python D:\\loop.py 。如下圖 Attachment: 圖(1).png [ 3.11 KiB | Viewed 6557 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.77 KiB | Viewed 6557 times ] (5) 取消auto-build,uncheck下面的選項。所以會變成makefile project。如附下圖 Attachment: 圖(3).png [ 14.49 KiB | Viewed 6557 times ] (6) 把預設的Build all改成Build pre-build。如附下圖 Attachment: 圖(4).png [ 17.34 KiB | Viewed 6557 times ] 附件提供範例程式demo.zip
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |