Since vsim/fpga share the same bare-metal examples but using different dev_map file, this cause problems when run vsim first, and run fpga, finally run vsim, vsim will fail.
Since the uart.o spi.o is using the fpga dev_map.h while linked to programs running in vsim.
Now it is required to set up local build directory to store local object files to avoid this conflict.
Since vsim/fpga share the same bare-metal examples but using different dev_map file, this cause problems when run vsim first, and run fpga, finally run vsim, vsim will fail. Since the uart.o spi.o is using the fpga dev_map.h while linked to programs running in vsim.
Now it is required to set up local build directory to store local object files to avoid this conflict.