Menu

AVR compiler bug

Marcoos
2014-03-16
2015-11-12
  • Marcoos

    Marcoos - 2014-03-16

    Hello another AVR compiler bug :-(

    ;Chip Settings
    #chip tiny44,1
    #config osc = int
    
    'Impostazioni RS232
    '------------------------------------------------------------------------------
    
    #define SendAHigh Set PORTA.5 Off
    #define SendALow Set PORTA.5 On
    #define RecAHigh PORTA.6 Off
    #define RecALow PORTA.6 On
    
    Dir PORTA.5 Out     'TX232
    Dir PORTA.6 In      'RX232
    
    InitSer 1, r300, 1+WaitForStart, 8, 1, none, invert
    StartBit = 0X32
    '------------------------------------------------------------------------------
    
    ' Loop principale
    do
    if PORTA.6 = off then
        Gosub SerGest
    end if
    Loop
    
    end
    
    Sub SerGest
    
    SerReceive 1 TempSer    ' this is wrong, no error reporting!!!!!
    'SerReceive 1, TempSer  ' this is good 
    End sub
    
     
  • Anobium

    Anobium - 2014-03-16

    Added to the bug tracker.

     
  • Anobium

    Anobium - 2015-11-12

    Fixed in releaase v0.95 of the compiler.

     

Log in to post a comment.