0

There is very cool avr-libc library that provides direct access for all functions of AVR microcontrollers. I'm writing a project for Arduino Due and I want to use timers and ISRs directly. Is there a library like avr-libc for ARM Cortex M3?

Greenonline
3,1527 gold badges36 silver badges48 bronze badges
asked Feb 7, 2016 at 8:38

2 Answers 2

2

I think newlib is the one you want. howto

answered Feb 7, 2016 at 9:30
1
  • Thanks, looks good. But it's more like a replacement for Arduino. May be there is something that could be imported to Arduino project like avr libc? Commented Feb 7, 2016 at 15:18
1

I found the official library here: http://www.atmel.com/tools/atmel-arm-toolchain.aspx

UPDATE:

I have finally understood understand how exactly Arduino accesses specific ARM features. It includes sam.h file which in turn contains Cortex Microcontroller Software Interface Standard. With this cool interface anyone can use so many cool features:

  • Timers
  • Advanced interrupts
  • Power saving mode
  • SIMD instructions
  • And many other
answered Feb 8, 2016 at 8:41

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.