Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Longan Nano Assembler Example Fibonacci Calculator

Calculate n'th fibonacci number with assembler and print it to serial via C

Topics

It contains various examples that should be reusable in other code

  • Serial output with printf()
  • Linking in an assembler function
  • Power down
Nano USB2Serial Comment
3V3 Vcc not needed if powered via USB or other
Gnd Gnd
A9 (T0) Rx
A10 (R0) Tx not needed if flashing via USB/DFU or JTAG

Documentation

Tested with PlatformIO on a Longan Nano

Legal

  • Author Joachim Banzhaf
  • License Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

About

Calculating fibonacci number in assembler called from C

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages