When I try to compile the sample code for hello_nios.c, I receive a message that na_seven_seg_pio is not defined. What does this mean?
The Excalibur SDK is not able to handle arbitrary peripheral names in all cases. You most likely named your seven segment display something other than seven_seg_pio. The precompiled assembly code for pio_showhex.s assumed the use of the seven_seg_pio name. You will either need to modify the assembly code by hand and switch the name of the pio or you will need to re- generate your system module with the appropriate seven_seg_pio name. • When I update the pio_showhex.s assembly code and try to recreate the object file, it fails to recognize the updated assembly code. How do I force a recompilation? While in the Nios SDK Shell in the lib directory, type “make all”. This will clean out the object directory and recreate all object files. Assuming there are no errors, all object files will be stored in the obj32 directory below the lib directory.
Related Questions
- When I try to compile the sample code for hello_nios.c, I receive a message that na_seven_seg_pio is not defined. What does this mean?
- When I try to subscribe, I receive an address Mismatch or Zip Code Mismatch error message. What does that mean?
- When I try to connect to the server with the Daemon Manager, I get error code 1. What does that mean?