msp430fr4133
Arhitektor <[email protected]> Thu, 01 Aug 2019 09:11:25 +0000
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <[email protected]> |
Hello. I am newbe in microcontrollers. I have msp430fr4133. And I want to make "hello world" - led blinking on it. For this purpose I used resources:
https://github.com/jlhonora/mspgcc-install
www.simplyembedded.org/tutorials/build-msp340-gcc-toolchain/
So I
- installed lubuntu in virtualbox;
- apt-get install gcc-msp430;
- write this code:
<include msp430fr4133.h>
into main (void)
{
return 0;
}
- then compiled:
$ msp430gcc -mmcu=msp430fr4133 main.c
/use/lib/GCC/msp430/4.6.3/../../../..msp430/bin/LD: cannot open linker script file memory.x: No such file or directory
collect2: LD returned 1 exit status
In general before previous step I manually add libraries to /usr/msp430/include from http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/index_FDS.html
msp430-gcc-support-files-1.207.zip
because compiler complained to lack of msp430fr4133 header.
I'll be thankful for any help.