Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

MSP430F5438 with msp-gcc

Posted by jferr on June 28, 2012
Hi all,

I'm trying to port the MSP430F5438_CCS demo application to msp430-gcc.


After a few modifications in the code, such as ISR definitions and so on, everything seems ok, except this error in linking process:

main.c:(.init9+0xda): undefined reference to `vRegTest1Task'
main.c:(.init9+0xf6): undefined reference to `vRegTest2Task'
timers.c:(.text+0x29c): undefined reference to `vPortYield'
port.c:(.text+0x22): undefined reference to `vPortPreemptiveTickISR'

I can see that, this code is defined in the portext.asm file from portable/CSS/ which I copy to portable/GCC/MSP430X

Also, when i try to compile this asm file to obtain the disered .o I get:
$ msp430-as -mmcu=msp430f5438a portext.asm
ortext.asm: Assembler messages:
portext.asm:58: Error: missing string
portext.asm:66: Error: unknown pseudo-op: `.def'
portext.asm:67: Error: unknown pseudo-op: `.def'
[...]

So, I'm assuming that this file is not combilable by msp430-gcc (just for CSS4).

I'm wondering if I need to put this asm code inside the port.c "inlined" as is done in msp430F449 port.


Do you have some sugestions? How can I make this portext.asm (for CCS4) compilling in GCC?

Thank you all,








RE: MSP430F5438 with msp-gcc

Posted by Peter A. Bigot on June 28, 2012
See https://github.com/pabigot/freertos-mspgcc for a current port of this demo to the latest mspgcc. I haven't back-ported this to the LTS-20120406 release, although that could be done if that's your toolchain version.

RE: MSP430F5438 with msp-gcc

Posted by Peter A. Bigot on June 28, 2012
I've updated the port at https://github.com/pabigot/freertos-mspgcc to support mspgcc LTS-20120406 and the latest development release 20120627 which is still under development but adds 20-bit support. At this time, there are no known issues with the port with either toolchain. The port is in active development, though mostly in support libraries and not in the port files themselves.

Let me know if you have any issues with it.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists