Search found 50 matches

by theShed
Thu Mar 07, 2013 11:22 pm
Forum: Development and Feedback
Topic: Build fails - missing nano.specs
Replies: 8
Views: 4376

Re: Build fails - missing nano.specs

OOPS! sorry about that - that wasn't supposed to go in.

FYI: nano.specs is switch for Embedded Arm GCC 4.7 to enable the newlib-nano

--
mike
by theShed
Thu Feb 28, 2013 10:48 pm
Forum: Development and Feedback
Topic: [FINALLY] SPC5Studio and STM32
Replies: 29
Views: 9553

Re: [FINALLY] SPC5Studio and STM32

To use newlib-nano you have to add:

Code: Select all

--specs=nano.specs

to LDFLAGS. You can tell if it worked by looking in the map file, references to 'libc.a' will have changed to 'libc_s.a'

--
mike
by theShed
Thu Feb 28, 2013 10:23 pm
Forum: Development and Feedback
Topic: [FINALLY] SPC5Studio and STM32
Replies: 29
Views: 9553

Re: [FINALLY] SPC5Studio and STM32

Just tried using nano-lib with a simple demo and it made no difference at all to the code size; although a trawl through the map file revealed that the only function used from glibc was memset and I guess you can't do a lot with that... What does have a significant affect though is changing the opti...
by theShed
Wed Feb 27, 2013 3:37 pm
Forum: General Support
Topic: Howto saving Data in Flash in Cortex M3/M4
Replies: 25
Views: 11270

Re: Howto saving Data in Flash in Cortex M3/M4

I would use chSysDisable() / chSysEnable().
I'm sure Giovanni will correct me if I'm wrong here.....

--
mike
by theShed
Wed Feb 27, 2013 1:59 pm
Forum: General Support
Topic: Howto saving Data in Flash in Cortex M3/M4
Replies: 25
Views: 11270

Re: Howto saving Data in Flash in Cortex M3/M4

We'll start with the simple answer - It is *bad* practice to write/erase flash with interrupts enabled. A flash array is not able to be read when it is being programmed or erased, that is *no* part of the array can be read, not just the word/sector in question. In the old days, when external flash w...
by theShed
Tue Feb 26, 2013 6:30 pm
Forum: LPC Support
Topic: LPC8xx port
Replies: 21
Views: 9826

Re: LPC8xx port

Bizarrely an advert for a new LPC4357 EVB from Farnell/Element 14 has just appeared in my inbox :o
by theShed
Tue Feb 26, 2013 5:03 pm
Forum: LPC Support
Topic: LPC8xx port
Replies: 21
Views: 9826

Re: LPC8xx port

OK, stick my name against the LPC1xxx and LPC8xx ports.

And if someone wants to buy me a 4xxx...

--
mike
by theShed
Tue Feb 26, 2013 4:47 pm
Forum: LPC Support
Topic: LPC11Uxx EXT driver
Replies: 4
Views: 3244

Re: LPC11Uxx EXT driver

Giovanni,

yes, I could do that. I do have a more interesting port that I want to maintain though.... ;)

--
mike
by theShed
Tue Feb 26, 2013 4:42 pm
Forum: LPC Support
Topic: LPC8xx port
Replies: 21
Views: 9826

LPC8xx port

Yep, a port to the shiny new NXP LPC8xx series.....
Includes drivers for: PAL, SERIAL and GPT(untested).

enjoy
--
mike

EDIT: Now included in the main repository.
by theShed
Tue Feb 26, 2013 4:17 pm
Forum: LPC Support
Topic: LPC11Uxx EXT driver
Replies: 4
Views: 3244

LPC11Uxx EXT driver

As the topic says; External interrpt driver for the LPC11Uxx..

Edit: ** Now in SVN repository**

--
mike

Go to advanced search