1355 views|0 replies

2015

Posts

0

Resources
The OP
 

IAR creates a new MSP430 project [Copy link]

1. Download IAR for MSP430 software from IAR official website

Select MSP430, then

2. Go to TI official website to download the chip library file package

After downloading, the required files are in the driverlib folder, which is the file to be added to the new project.

3. Create a new MSP430 project

Create a new main.c file and add it to the project to test whether the project can be compiled.

project->rebuild all

//main.c
#include "driverlib.h"
void main()
{
  GPIO_setAsOutputPin(GPIO_PORT_P1,GPIO_PIN0);
  GPIO_setOutputHighOnPin(GPIO_PORT_P1,GPIO_PIN0);
}

That’s success.

image.png (21.78 KB, downloads: 0)

image.png
This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list