Rename hardware simulation target and reference in README
This commit is contained in:
10
Makefile
10
Makefile
@@ -64,11 +64,6 @@ flash: $(TARGET)
|
||||
-U lock:w:0xFF:m \
|
||||
-U flash:w:$<
|
||||
|
||||
.PHONY: run
|
||||
run: $(TARGET)
|
||||
$(E) "[SIM] $<"
|
||||
$(Q) $(SIM) -m $(MCU) -f $(FREQ) $<
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(E) "[REM] $(TARGET)"
|
||||
@@ -90,6 +85,11 @@ check:
|
||||
$(E) "[CHK] Not implemented."
|
||||
$(Q) true
|
||||
|
||||
.PHONY: simulate
|
||||
simulate: $(TARGET)
|
||||
$(E) "[SIM] $<"
|
||||
$(Q) $(SIM) -m $(MCU) -f $(FREQ) $<
|
||||
|
||||
.PHONY: listen
|
||||
listen: opt/tools/serial-listen
|
||||
$(E) "[RUN] $<"
|
||||
|
||||
@@ -39,9 +39,12 @@ of these commands:
|
||||
Isolated unit tests allow you to verify all testable
|
||||
components are behaving as expected. Please note that most
|
||||
tests will be added later down the road, when the project
|
||||
has reached a more mature state.
|
||||
has reached a more mature state. There is also support for
|
||||
testing on simulated hardware if you have
|
||||
[simavr](https://github.com/buserror/simavr) installed.
|
||||
|
||||
make check
|
||||
make simulate
|
||||
|
||||
You can listen on the serial debug interface by running
|
||||
the command below. This will also initialize all optional
|
||||
|
||||
Reference in New Issue
Block a user