Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing on simulator #36

Open
spth opened this issue May 8, 2017 · 1 comment
Open

Testing on simulator #36

spth opened this issue May 8, 2017 · 1 comment

Comments

@spth
Copy link

spth commented May 8, 2017

In issue #13 you mentioned using a simulator for automated testing. Back then (and at the time of the SDCC 3.6.0 release) the ucsim simulator in SDCC did not yet have support for the needed timer interrupts.
However, support for timer and UART including interrupts has been added to the simulator a while ago by Daniel Drotos.

Philipp

@shkolnick-kun
Copy link
Owner

Cast @spth!
Hi, Philipp!
Is there any howto about setting up simulation of stm8 in ucsim?

  1. How to specify the chip OR?
  2. How to set up the periodic interrupt timer and uart?
  3. What about trap instruction, can I setup an interrupt vector for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants