Machine-translated by Google. Questions are authored in English.
Top

Discussion

A firmware unit test run on the host rather than the target

  • A.tests the hardware interaction but not the logic
  • B.is worthless
  • C.requires the target's compiler to be installed
  • D.tests the logic quickly but not the hardware interaction

Answer: D

Compiling the algorithm for the host with the hardware behind a mocked interface gives fast feedback on the logic, which is where most bugs live. It says nothing about register access or timing, which on-target tests must cover.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.