bugSimulavr: an AVR simulator - Bugs: bug #25878, Example atmel_key not functioning

 
 

bug #25878: Example atmel_key not functioning

Submitted by:  Knut Schwichtenberg <kschwi>
Submitted on:  Sun 15 Mar 2009 06:14:24 PM UTC  
 
Category: SimulationSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedComponent Version: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 16 Mar 2009 05:51:28 PM UTC, comment #1:

Changes committed. I renamed your checkdebug.tcl to checkdebug.tcl.in and did the autoconf magic to get it generated.
I think the example works.

I only built it OUTSIDE the source tree. Please confirm
all is OK.

Joel Sherrill <joelsherrill>
Project Administrator
Sun 15 Mar 2009 06:14:24 PM UTC, original submission:

Trying the keyboard example leads to a serious TCL error. Problem: There is not interface between the simulator internal keyboard functions and the TCL call-IF.

Solution:
Attached are the file to solve the keyboard-IF as diffs and the TCL-startscript for simulation.
simulavr.i:
Missing header files included.

keyboard.cpp:
Interface for constructor changed to deprecated format.
If change to string format, at runtime the TCL interpreter does not know the interface! Currently we have to live with these warnings.

keyboard.h
Interface modified according source and change of the class definition

These three files are located in the src-directory.

checkdebug.tcl
missing in the example/atmel_key-directory

Knut Schwichtenberg <kschwi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17699:  checkdebug.tcl added by kschwi (3KiB - text/x-tcl)
file #17700:  keyboard_cpp.diff added by kschwi (474B - text/x-patch)
file #17701:  keyboard_h.diff added by kschwi (892B - text/x-patch)
file #17702:  simaulavr_i.diff added by kschwi (497B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joelsherrill (Posted a comment)
  • -unavailable- added by kschwi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Mar 2009 05:51:28 PM UTCjoelsherrillOpen/ClosedOpen=>Closed
    Sun 15 Mar 2009 06:14:24 PM UTCkschwiAttached File-=>Added checkdebug.tcl, #17699
      Attached File-=>Added keyboard_cpp.diff, #17700
      Attached File-=>Added keyboard_h.diff, #17701
      Attached File-=>Added simaulavr_i.diff, #17702

    Back to the top


    Powered by Savane 3.1-cleanup1