aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-13 21:59:29 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-13 21:59:29 +0100
commit3442b5fdeb4f8dfef38977078c5c6e801dcc2b51 (patch)
tree830a084743461bf4aab21554889f50886507ef7a /qtmips_gui/mainwindow.cpp
parentf17eedb8856ae568ebb9b45b367ef6edf1bb7318 (diff)
downloadqtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.tar.gz
qtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.tar.bz2
qtmips-3442b5fdeb4f8dfef38977078c5c6e801dcc2b51.zip
Implemented three dials equivalent to MZ_APO RGB dials.
Tested with code compiled by Linux PIC based GCC compiler with calling musl-libc sprintf function. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-rw-r--r--qtmips_gui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp
index b77d0d6..3e95a8f 100644
--- a/qtmips_gui/mainwindow.cpp
+++ b/qtmips_gui/mainwindow.cpp
@@ -174,6 +174,7 @@ void MainWindow::create_core(const machine::MachineConfig &config) {
cache_program->setup(machine->cache_program());
cache_data->setup(machine->cache_data());
terminal->setup(machine->serial_port());
+ peripherals->setup(machine->peripheral_spi_led());
// Connect signals for instruction address followup
connect(machine->core(), SIGNAL(fetch_inst_addr_value(std::uint32_t)),