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

 
 

bug #25878: Example atmel_key not functioning

Submitter:  Knut Schwichtenberg <kschwi>
Submitted:  Sun 15 Mar 2009 06:14:24 PM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Component Version:  * None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by joelsherrill (Posted a comment)
  • -email is unavailable- added by kschwi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-16 joelsherrill Open/ClosedOpen Closed
    2009-03-15 kschwi Attached 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.13-4b48.
    Corresponding source code