Search found 9 matches

by rpcaldeira
Thu Mar 19, 2015 10:39 pm
Forum: General Support
Topic: MSP430 math.h build error
Replies: 6
Views: 3574

Re: MSP430 math.h build error

You were right i used

Code: Select all

nm ./libm.a | grep -w T | grep -E 'log|exp'
and they were not there.

Thanks a million,
Rui :)
by rpcaldeira
Thu Mar 19, 2015 10:22 pm
Forum: General Support
Topic: MSP430 math.h build error
Replies: 6
Views: 3574

Re: MSP430 math.h build error

Hey, no it was not built by me. Those are the packages msp430-libc, msp430mcu, mspdebug from XUbuntu 14.04.

That was my frist thought too but when i looked at the math.h file...

#ifndef _REENT_ONLY
#ifndef __math_6881
extern double acos _PARAMS((double));
extern double asin _PARAMS((double ...
by rpcaldeira
Thu Mar 19, 2015 9:49 pm
Forum: General Support
Topic: MSP430 math.h build error
Replies: 6
Views: 3574

Re: MSP430 math.h build error

I'm deeply sorry, must have been the rush :/

When comes to the linking part, it gives me the undefined reference error

msp430-gcc ../../os/ports/GCC/MSP430/chcoreasm.o ../../os/kernel/src/chsys.o ../../os/kernel/src/chdebug.o .&#46 ...
by rpcaldeira
Thu Mar 19, 2015 8:21 pm
Forum: General Support
Topic: MSP430 math.h build error
Replies: 6
Views: 3574

MSP430 math.h build error

Hello guys!

I'm having a problem where i'm trying to use the math library in my code but it doesen't work.

#include <stdio&#46;h>
#include <string&#46;h>
#include <inttypes&#46;h>
#include <stdint&#46;h>
#include <stdlib&#46;h>
#include <math&#46;h>

it is included and present in the makefile ...
by rpcaldeira
Thu Feb 19, 2015 2:21 pm
Forum: General Support
Topic: MSP430 compilation error
Replies: 2
Views: 2511

Re: MSP430 compilation error

It is working now. Thanks ;)
by rpcaldeira
Thu Feb 19, 2015 12:58 pm
Forum: General Support
Topic: MSP430 compilation error
Replies: 2
Views: 2511

MSP430 compilation error

Hey guys, I'm trying to make a personal project with ChibiOS using a MSP430 processor and the opensource toolchain provided by TI. I've copied one of the demo projects and when compiling the first times I got some errors stating that some files are missing, namely the iomacros.h, in430.h and the ...
by rpcaldeira
Thu Feb 19, 2015 12:35 pm
Forum: STM32 Support
Topic: ChibiOS, STM32 and chprintf
Replies: 4
Views: 3010

Re: ChibiOS, STM32 and chprintf

Thanks, I will try that :)
by rpcaldeira
Sat Jun 14, 2014 5:22 pm
Forum: STM32 Support
Topic: ChibiOS, STM32 and chprintf
Replies: 4
Views: 3010

Re: ChibiOS, STM32 and chprintf

And there is a dedicated thread that handles that queue?

It's because I'm writing in one thread and then I put that thread to sleep and the feeling i'm getting is that the output is only being written after that thread goes to sleep

Rui
by rpcaldeira
Sat Jun 14, 2014 5:09 pm
Forum: STM32 Support
Topic: ChibiOS, STM32 and chprintf
Replies: 4
Views: 3010

ChibiOS, STM32 and chprintf

Hey guys! I'm having a small problem, but I'm sure that this will be a piece of cake for you guys.

I have outputs that are sent at least with a second apart, but they are only printed at the same time. Is there any way to force the flushing of the stdout buffer?

Thanks in advance for your help!

Rui