• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users






Re: ATSAMC21J18A 編譯錯誤
#4
中級會員
中級會員


查看用戶資訊
HI Ryang
感謝我在試試~~~~

發表於: 2021/7/6 11:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ATSAMC21J18A 編譯錯誤
#3
版主
版主


查看用戶資訊
" 我使用 MPLAB X IDE: V4.15 ,XC32: V2.50 "

謝謝 Darren 的提示,你的 MPLAB X IDE 太舊了,希望可以全部更新。

發表於: 2021/7/5 14:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ATSAMC21J18A 編譯錯誤
#2
管理員
管理員


查看用戶資訊

發表於: 2021/7/5 12:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


ATSAMC21J18A 編譯錯誤
#1
中級會員
中級會員


查看用戶資訊
請教各位有人遇過? 使用 Harmony 工具產生程式碼,為何編譯會有問題

我使用 MPLAB X IDE: V4.15 ,XC32: V2.50
/*******************************************************************************
Main Source File

Company:
Microchip Technology Inc.

File Name:
main.c

Summary:
This file contains the "main" function for a project.

Description:
This file contains the "main" function for a project. The
"main" function calls the "SYS_Initialize" function to initialize the state
machines of all modules in the system
*******************************************************************************/

// *****************************************************************************
// *****************************************************************************
// Section: Included Files
// *****************************************************************************
// *****************************************************************************

#include // Defines NULL
#include // Defines true
#include // Defines EXIT_FAILURE
#include "definitions.h" // SYS function prototypes


// *****************************************************************************
// *****************************************************************************
// Section: Main Entry Point
// *****************************************************************************
// *****************************************************************************

int main ( void )
{
/* Initialize all modules */
SYS_Initialize ( NULL );

while ( true )
{
/* Maintain state machines of all polled MPLAB Harmony modules. */
SYS_Tasks ( );

}

/* Execution should not come here during normal operation */

return ( EXIT_FAILURE );
}


/*******************************************************************************
End of File
*/



[color=FF211E]make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: *** No rule to make target '.build-conf'. Stop.
make[1]: Entering directory 'F:/ARM_SAM/My_Project/firmware/demo.X'
make[1]: Leaving directory 'F:/ARM_SAM/My_Project/firmware/demo.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 135ms)

[/color]

發表於: 2021/7/3 18:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------