Menu

AVR Assembler

Help
2007-08-30
2013-05-30
  • Nobody/Anonymous

    Hello,
             I would like to use GCBASIC to compile AVR code. How can I use it ? what will be settings in .bat files ? which assembler to be used ?

    Kindly give some hints on above quarries. Thanks for your support.

    Regards,
    Deepak Chatwani

     
    • Hugh Considine

      Hugh Considine - 2007-08-31

      GCBASIC needs avrasm2 to compile for AVRs. This is installed along with AVR Studio. You'll need to replace the contents of assemble.bat with this:

      @ECHO OFF
      "C:\Program Files\Atmel\AVR Tools\AvrAssembler2\avrasm2" -v0 compiled.asm>compiled.err 2>&1

      GCBASIC isn't properly adapted for AVR yet, and it won't be for 1 to 3 more weeks. Many of the .h files (a-d.h, eeprom.h, etc) have not been altered, and there are a few issues with register usage that may need attention.

       
    • Nobody/Anonymous

      Hello,
         Thanks for your quick reply. I am waiting for AVR port to complete.

      Regards,

      Deepak Chatwani....

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.