Closed alistair23 closed 10 years ago
By modifying the Makefile project1 runs on QEMU. At the moment is is hanging at the nrf24l01plus_init() function inside Hardware_init()
This is assumed to be caused by the lack of SPI support
SPI and NRF240L01Plus have now been added to QEMU and the code runs. Although no output can be seen
Fixed a nasty SPI bug that was causing issues. Now project1 runs :)
SPI core bug or in the device model?
Regards, Peter
From: Alistair Francis [notifications@github.com] Sent: Thursday, September 18, 2014 9:05 PM To: alistair23/qemu Subject: Re: [qemu] Run Project1 on QEMU (#16)
Fixed a nasty SPI bug that was causing issues. Now project1 runs :)
— Reply to this email directly or view it on GitHubhttps://github.com/alistair23/qemu/issues/16#issuecomment-56034927.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
It must be from internal QEMU memory mapping/regions. This is the patch that fixed it: https://github.com/alistair23/qemu/commit/90d0ff8228ad9ee9b7c15408647353eeebed3bbc
I now have a test case for Prac1 which needs to be supported on QEMU