dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
187 stars 80 forks source link

Can't create simio timer that has a size other than 3 #63

Closed tgtakaoka closed 6 years ago

tgtakaoka commented 6 years ago

Noticed that a size argument of simio create time seems ignored and always treated as 3.

$ mspdebug sim
...
(mspdebug) simio create timer TA7 7
Added new device "TA7" of type "timer".
(mspdebug) simio info TA7
Base address: 0x0160
IO address:   0x012e
IRQ0:         9
IRQ1:         8

TACTL:        0x0000
TAR:          0x0000
TAIV:         0x00

Channel  0, TACTL = 0x0000, TACCR = 0x0000
Channel  1, TACTL = 0x0000, TACCR = 0x0000
Channel  2, TACTL = 0x0000, TACCR = 0x0000
(mspdebug) 
tgtakaoka commented 6 years ago

This issue should be addressed by pull request #62.

tgtakaoka commented 6 years ago

Fixed.