atmel-software-package icon indicating copy to clipboard operation
atmel-software-package copied to clipboard

MPLAB IDE project creation

Open UpAtGithub opened this issue 3 years ago • 1 comments

Hi,- I didn't find a way to use the repository in MPLAB IDE 5.5 Manually placing the makefile in an existing project leads to curious syntax error messages. So how is it mentioned to be used from the IDE? The plan is to build the Eth-lwip sample for a 'samv71-xplained' board.

Thanks.

UpAtGithub avatar Jan 23 '22 11:01 UpAtGithub

Software package can not be directly used in MPLAB X IDE due to there's no MPLAB X projects in it. Users need to generate the projects manually and then compile/debug softpack in MPLAB X IDE.

A MPLAB X IDE project can be generated with GNU make, take examples/eth_lwip as the example: run make TARGET=sama5d2-xplained mplab under path examples/eth_lwip, and the project files are generated in examples/eth_lwip/sama5d2-xplained.X

--- sama5d2-xplained.X
    |-- compile_options_ddram_ARM
    |-- Makefile
    |-- nbproject
         |-- configurations.xml
         |-- project.xml

Using softpack in MPLAB X IDE is not supported for samv71 device yet, only sam9x60 and sama5d2 have be validated. Although the project files could be generated for samv71 device they need to be configured before work properly. The items to be configured includes the device, DFP version, compiler toolchain and etc.

TonyHan11 avatar Jan 24 '22 06:01 TonyHan11