2 Commits
Author SHA1 Message Date
kachelto100370 ca83a9d386 task 2 und 3 fertig 2026-04-14 18:38:37 +02:00
kachelto100370 8f074b6f72 sachen für task1 und task2 2026-04-08 12:55:28 +02:00
139 changed files with 10066 additions and 3801 deletions
+918
View File
@@ -9328,3 +9328,921 @@ Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-03-24 14:18:01.013 !ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-03-24 14:18:01.013
!MESSAGE Existing sessions are: !MESSAGE Existing sessions are:
!SESSION 2026-03-24 14:21:01.018 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-03-24 14:21:05.958
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-03-24 14:21:05.959
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-03-24 14:21:11.141
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-03-31 11:20:25.522 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-03-31 11:20:29.815
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-03-31 11:20:29.816
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-03-31 11:20:33.229
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-03-31 13:41:50.718 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.core.resources 2 10035 2026-03-31 13:41:52.576
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-03-31 13:41:55.091
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-03-31 13:41:55.092
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-03-31 13:41:58.079
!MESSAGE Started RMI Server, listening on port 41337
!ENTRY org.eclipse.equinox.p2.transport.ecf 4 1002 2026-03-31 13:42:20.010
!MESSAGE Unable to connect to repository https://sw-center.st.com/stm32cubeide/openstlinux/updatesite1/compositeContent.xml
!STACK 0
java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1055)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http2Connection.createAsync(Http2Connection.java:378)
at java.net.http/jdk.internal.net.http.Http2ClientImpl.getConnectionFor(Http2ClientImpl.java:126)
at java.net.http/jdk.internal.net.http.ExchangeImpl.get(ExchangeImpl.java:93)
at java.net.http/jdk.internal.net.http.Exchange.establishExchange(Exchange.java:343)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:475)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:380)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:157)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
... 21 more
!ENTRY org.eclipse.equinox.p2.transport.ecf 4 1002 2026-03-31 13:42:20.015
!MESSAGE Unable to connect to repository https://sw-center.st.com/stm32cubeide/updatesite1/compositeContent.xml
!STACK 0
java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1055)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http2Connection.createAsync(Http2Connection.java:378)
at java.net.http/jdk.internal.net.http.Http2ClientImpl.getConnectionFor(Http2ClientImpl.java:126)
at java.net.http/jdk.internal.net.http.ExchangeImpl.get(ExchangeImpl.java:93)
at java.net.http/jdk.internal.net.http.Exchange.establishExchange(Exchange.java:343)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:475)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:380)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:157)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
... 21 more
!ENTRY org.eclipse.equinox.p2.transport.ecf 4 1002 2026-03-31 13:42:20.022
!MESSAGE Unable to connect to repository https://download.eclipse.org/tools/cdt/releases/latest/compositeContent.xml
!STACK 0
java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1055)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http2Connection.createAsync(Http2Connection.java:378)
at java.net.http/jdk.internal.net.http.Http2ClientImpl.getConnectionFor(Http2ClientImpl.java:126)
at java.net.http/jdk.internal.net.http.ExchangeImpl.get(ExchangeImpl.java:93)
at java.net.http/jdk.internal.net.http.Exchange.establishExchange(Exchange.java:343)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:475)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:380)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:157)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
... 21 more
!ENTRY org.eclipse.equinox.p2.transport.ecf 4 1002 2026-03-31 13:42:20.028
!MESSAGE Unable to connect to repository https://download.eclipse.org/releases/2023-12/compositeContent.xml
!STACK 0
java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1055)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http2Connection.createAsync(Http2Connection.java:378)
at java.net.http/jdk.internal.net.http.Http2ClientImpl.getConnectionFor(Http2ClientImpl.java:126)
at java.net.http/jdk.internal.net.http.ExchangeImpl.get(ExchangeImpl.java:93)
at java.net.http/jdk.internal.net.http.Exchange.establishExchange(Exchange.java:343)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:475)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:380)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:157)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
... 21 more
!ENTRY org.eclipse.cdt.dsf.gdb 4 104 2026-03-31 13:56:39.797
!MESSAGE Program file does not exist
!STACK 0
java.io.FileNotFoundException: /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task1/Debug/task1.elf not found
at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.verifyProgramPath(LaunchUtils.java:130)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.checkBinaryDetails(GdbLaunchDelegate.java:330)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:152)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:109)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:97)
at com.st.stm32cube.ide.mcu.debug.launch.DSFDelegate.launch(DSFDelegate.java:334)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:805)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:716)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1040)
at org.eclipse.debug.internal.ui.DebugUIPlugin$1.run(DebugUIPlugin.java:1243)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 104 2026-03-31 13:56:39.797
!MESSAGE /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task1/Debug/task1.elf not found
!STACK 0
java.io.FileNotFoundException: /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task1/Debug/task1.elf not found
at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.verifyProgramPath(LaunchUtils.java:130)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.checkBinaryDetails(GdbLaunchDelegate.java:330)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:152)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:109)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:97)
at com.st.stm32cube.ide.mcu.debug.launch.DSFDelegate.launch(DSFDelegate.java:334)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:805)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:716)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1040)
at org.eclipse.debug.internal.ui.DebugUIPlugin$1.run(DebugUIPlugin.java:1243)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SESSION 2026-04-08 12:56:26.680 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.core.resources 2 10035 2026-04-08 12:56:28.472
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-08 12:56:30.530
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-08 12:56:30.531
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-08 12:56:33.429
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-04-13 13:49:12.989 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-13 13:49:17.190
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-13 13:49:17.190
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-13 13:49:20.325
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-04-13 14:00:28.320 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-13 14:00:31.676
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-13 14:00:31.677
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-13 14:00:34.534
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-04-14 12:01:44.589 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-14 12:01:48.275
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-14 12:01:48.276
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-14 12:01:51.327
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-04-14 12:10:26.524 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-14 12:10:30.342
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-14 12:10:30.343
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-14 12:10:33.478
!MESSAGE Started RMI Server, listening on port 41337
!SESSION 2026-04-14 14:00:07.067 -----------------------------------------------
eclipse.buildId=Version 1.16.0
java.version=17.0.11
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2026-04-14 14:00:10.611
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2026-04-14 14:00:10.612
!MESSAGE Log4j2 initialized with config file /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2026-04-14 14:00:13.976
!MESSAGE Started RMI Server, listening on port 41337
!ENTRY org.eclipse.jface 2 0 2026-04-14 15:42:57.900
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2026-04-14 15:42:57.900
!MESSAGE A conflict occurred for ALT+ARROW_LEFT:
Binding(ALT+ARROW_LEFT,
ParameterizedCommand(Command(org.eclipse.cdt.ui.hover.backwardMacroExpansion,Back,
Steps backward in macro expansions,
Category(org.eclipse.cdt.ui.category.source,C/C++ Source,C/C++ Source Actions,true),
WorkbenchHandlerServiceHandler("org.eclipse.cdt.ui.hover.backwardMacroExpansion"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.cdt.ui.macroExpansionHoverScope,,,system)
Binding(ALT+ARROW_LEFT,
ParameterizedCommand(Command(org.eclipse.ui.navigate.backwardHistory,Backward History,
Move backward in the editor navigation history,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
WorkbenchHandlerServiceHandler("org.eclipse.ui.navigate.backwardHistory"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2026-04-14 15:42:57.900
!MESSAGE A conflict occurred for ALT+ARROW_RIGHT:
Binding(ALT+ARROW_RIGHT,
ParameterizedCommand(Command(org.eclipse.cdt.ui.hover.forwardMacroExpansion,Forward,
Steps forward in macro expansions,
Category(org.eclipse.cdt.ui.category.source,C/C++ Source,C/C++ Source Actions,true),
WorkbenchHandlerServiceHandler("org.eclipse.cdt.ui.hover.forwardMacroExpansion"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.cdt.ui.macroExpansionHoverScope,,,system)
Binding(ALT+ARROW_RIGHT,
ParameterizedCommand(Command(org.eclipse.ui.navigate.forwardHistory,Forward History,
Move forward in the editor navigation history,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
WorkbenchHandlerServiceHandler("org.eclipse.ui.navigate.forwardHistory"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2026-04-14 15:42:57.900
!MESSAGE A conflict occurred for F3:
Binding(F3,
ParameterizedCommand(Command(org.eclipse.cdt.ui.edit.opendecl,Open Declaration,
Opens an editor on the selected element's declaration(s),
Category(org.eclipse.cdt.ui.category.source,C/C++ Source,C/C++ Source Actions,true),
WorkbenchHandlerServiceHandler("org.eclipse.cdt.ui.edit.opendecl"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.cdt.ui.cEditorScope,,,system)
Binding(F3,
ParameterizedCommand(Command(org.eclipse.cdt.ui.edit.opendecl,Open Declaration,
Opens an editor on the selected element's declaration(s),
Category(org.eclipse.cdt.ui.category.source,C/C++ Source,C/C++ Source Actions,true),
WorkbenchHandlerServiceHandler("org.eclipse.cdt.ui.edit.opendecl"),
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.cdt.ui.macroExpansionHoverScope,,,system)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 15:51:59.271
!MESSAGE Error - No active DSF-Session. tmpSessionId = 17 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 15:51:59.271
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 15:51:59.271
!MESSAGE Error - No active DSF-Session. tmpSessionId = 17 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 15:51:59.271
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:18:22.713
!MESSAGE Error - No active DSF-Session. tmpSessionId = 22 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:18:22.713
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:18:22.714
!MESSAGE Error - No active DSF-Session. tmpSessionId = 22 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:18:22.714
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:21:52.030
!MESSAGE Error - No active DSF-Session. tmpSessionId = 23 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:21:52.030
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:21:52.031
!MESSAGE Error - No active DSF-Session. tmpSessionId = 23 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:21:52.031
!MESSAGE Existing sessions are:
!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2026-04-14 16:32:57.743
!MESSAGE Project 'task1' is not open.
!STACK 1
org.eclipse.core.internal.resources.ResourceException(/task1)[372]: java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Project.getDescription(Project.java:430)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.cacheNaturesIdsUsedOnCache(ConfigurationDataProvider.java:383)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.loadConfiguration(ConfigurationDataProvider.java:580)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:139)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!SUBENTRY 1 org.eclipse.core.resources 4 372 2026-04-14 16:32:57.745
!MESSAGE Project 'task1' is not open.
!STACK 0
java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Project.getDescription(Project.java:430)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.cacheNaturesIdsUsedOnCache(ConfigurationDataProvider.java:383)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.loadConfiguration(ConfigurationDataProvider.java:580)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:139)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!ENTRY org.eclipse.core.resources 4 372 2026-04-14 16:32:57.748
!MESSAGE Project 'task1' is not open.
!STACK 0
java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:247)
at org.eclipse.core.internal.resources.Resource.getPersistentProperty(Resource.java:1172)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getDiscoveredScannerConfigStore(DiscoveredScannerInfoStore.java:331)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getDocument(DiscoveredScannerInfoStore.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getRootElement(DiscoveredScannerInfoStore.java:135)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.hasInfo(DiscoveredScannerInfoStore.java:122)
at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.loadPathInfo(CfgDiscoveredPathManager.java:299)
at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.getDiscoveredInfo(CfgDiscoveredPathManager.java:177)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProfileInfoProvider.getEntryValues(ProfileInfoProvider.java:68)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.getDiscoveredEntries(BuildEntryStorage.java:203)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.putEntriesToLevel(BuildEntryStorage.java:193)
at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.initCache(AbstractEntryStorage.java:74)
at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.getEntries(AbstractEntryStorage.java:37)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildLanguageData.getEntries(BuildLanguageData.java:163)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.getEntriesToCopy(CDefaultLanguageData.java:100)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.createStore(CDefaultLanguageData.java:91)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.copySettingsFrom(CDefaultLanguageData.java:84)
at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.copySettingsFrom(CLanguageSettingCache.java:49)
at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.<init>(CLanguageSettingCache.java:38)
at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.copyLanguageData(CFolderDescriptionCache.java:82)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultFolderData.copyDataFrom(CDefaultFolderData.java:60)
at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.<init>(CFolderDescriptionCache.java:40)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.copyFolderData(CConfigurationDescriptionCache.java:242)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultConfigurationData.copySettingsFrom(CDefaultConfigurationData.java:117)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:154)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!ENTRY org.eclipse.core.resources 4 372 2026-04-14 16:32:57.748
!MESSAGE Project 'task1' is not open.
!STACK 0
java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:247)
at org.eclipse.core.internal.resources.Resource.setPersistentProperty(Resource.java:1733)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getDiscoveredScannerConfigStore(DiscoveredScannerInfoStore.java:340)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getDocument(DiscoveredScannerInfoStore.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.getRootElement(DiscoveredScannerInfoStore.java:135)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.hasInfo(DiscoveredScannerInfoStore.java:122)
at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.loadPathInfo(CfgDiscoveredPathManager.java:299)
at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.getDiscoveredInfo(CfgDiscoveredPathManager.java:177)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProfileInfoProvider.getEntryValues(ProfileInfoProvider.java:68)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.getDiscoveredEntries(BuildEntryStorage.java:203)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.putEntriesToLevel(BuildEntryStorage.java:193)
at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.initCache(AbstractEntryStorage.java:74)
at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.getEntries(AbstractEntryStorage.java:37)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildLanguageData.getEntries(BuildLanguageData.java:163)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.getEntriesToCopy(CDefaultLanguageData.java:100)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.createStore(CDefaultLanguageData.java:91)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.copySettingsFrom(CDefaultLanguageData.java:84)
at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.copySettingsFrom(CLanguageSettingCache.java:49)
at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.<init>(CLanguageSettingCache.java:38)
at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.copyLanguageData(CFolderDescriptionCache.java:82)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultFolderData.copyDataFrom(CDefaultFolderData.java:60)
at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.<init>(CFolderDescriptionCache.java:40)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.copyFolderData(CConfigurationDescriptionCache.java:242)
at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultConfigurationData.copySettingsFrom(CDefaultConfigurationData.java:117)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:154)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2026-04-14 16:32:57.754
!MESSAGE Project 'task1' is not open.
!STACK 1
org.eclipse.core.internal.resources.ResourceException(/task1)[372]: java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Project.getDescription(Project.java:430)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.cacheNaturesIdsUsedOnCache(ConfigurationDataProvider.java:383)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.loadConfiguration(ConfigurationDataProvider.java:580)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:139)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!SUBENTRY 1 org.eclipse.core.resources 4 372 2026-04-14 16:32:57.754
!MESSAGE Project 'task1' is not open.
!STACK 0
java.lang.Exception: Project 'task1' is not open.
at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42)
at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:186)
at org.eclipse.core.internal.resources.Project.getDescription(Project.java:430)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.cacheNaturesIdsUsedOnCache(ConfigurationDataProvider.java:383)
at org.eclipse.cdt.managedbuilder.internal.dataprovider.ConfigurationDataProvider.loadConfiguration(ConfigurationDataProvider.java:580)
at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:139)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:199)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:509)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:239)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!ENTRY org.eclipse.cdt.core 4 0 2026-04-14 16:32:57.758
!MESSAGE Error
!STACK 1
org.eclipse.core.runtime.CoreException: attempt to set description for a project which does not exist or not open
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.setCurrentDescription(XmlProjectDescriptionStorage.java:382)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.setLoaddedDescriptionOnLoad(XmlProjectDescriptionStorage.java:360)
at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:258)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:426)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:408)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:402)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:395)
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.isNewStyleProject(CProjectDescriptionManager.java:2464)
at org.eclipse.cdt.core.model.CoreModel.isNewStyleProject(CoreModel.java:1457)
at org.eclipse.cdt.ui.newui.ManageConfigSelector.getProjects(ManageConfigSelector.java:104)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.hasManagedCdtProjectSelection(HasManagedCdtProjectSelection.java:43)
at org.eclipse.cdt.internal.ui.workingsets.HasManagedCdtProjectSelection.test(HasManagedCdtProjectSelection.java:33)
at org.eclipse.core.internal.expressions.Property.test(Property.java:65)
at org.eclipse.core.expressions.TestExpression.evaluate(TestExpression.java:107)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:79)
at org.eclipse.ui.internal.services.EvaluationReference.evaluate(EvaluationReference.java:109)
at org.eclipse.ui.internal.services.EvaluationReference.changed(EvaluationReference.java:103)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:105)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:358)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:374)
at org.eclipse.e4.core.internal.contexts.EclipseContext.deactivate(EclipseContext.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerHideProcessor.lambda$1(MenuManagerHideProcessor.java:144)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5039)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!SUBENTRY 1 org.eclipse.cdt.core 4 -1 2026-04-14 16:32:57.759
!MESSAGE attempt to set description for a project which does not exist or not open
!ENTRY org.eclipse.ui.navigator.resources 4 2 2026-04-14 16:33:00.352
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator.resources".
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.widgets.Shell.setLayoutDeferred(boolean)" because the return value of "org.eclipse.ui.actions.CloseResourceAction.getShell()" is null
at org.eclipse.ui.actions.CloseResourceAction.run(CloseResourceAction.java:202)
at org.eclipse.ui.navigator.resources.ProjectExplorer$1.handleMiddleClick(ProjectExplorer.java:400)
at org.eclipse.ui.navigator.resources.ProjectExplorer$1.lambda$0(ProjectExplorer.java:385)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
at org.eclipse.ui.navigator.resources.ProjectExplorer$1.mouseUp(ProjectExplorer.java:384)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5854)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1529)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5064)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4516)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:49:31.368
!MESSAGE Error - No active DSF-Session. tmpSessionId = 28 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:49:31.368
!MESSAGE Existing sessions are:
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:49:31.368
!MESSAGE Error - No active DSF-Session. tmpSessionId = 28 (contextManager row 121)
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2026-04-14 16:49:31.368
!MESSAGE Existing sessions are:
@@ -52,3 +52,9 @@
*** SESSION März 13, 2026 10:49:11.272 ----------------------------------------- *** SESSION März 13, 2026 10:49:11.272 -----------------------------------------
*** SESSION März 16, 2026 12:55:55.445 ----------------------------------------- *** SESSION März 16, 2026 12:55:55.445 -----------------------------------------
*** SESSION März 24, 2026 14:01:49.132 ----------------------------------------- *** SESSION März 24, 2026 14:01:49.132 -----------------------------------------
*** SESSION März 24, 2026 14:11:29.704 -----------------------------------------
*** SESSION März 24, 2026 14:21:04.465 -----------------------------------------
*** SESSION Apr. 08, 2026 12:56:29.546 -----------------------------------------
*** SESSION Apr. 13, 2026 14:00:30.843 -----------------------------------------
*** SESSION Apr. 14, 2026 12:01:47.228 -----------------------------------------
*** SESSION Apr. 14, 2026 14:00:09.577 -----------------------------------------
@@ -7,4 +7,8 @@
<section name="CResourceRenameRefactoringInputPage"> <section name="CResourceRenameRefactoringInputPage">
<item key="updateReferences" value="true"/> <item key="updateReferences" value="true"/>
</section> </section>
<section name="org.eclipse.cdt.ui.text.hover.CMacroExpansionExploration.internal">
<item key="size.width" value="1254"/>
<item key="size.height" value="180"/>
</section>
</section> </section>
@@ -553,3 +553,773 @@ Target all ready
14:19:07 **** Incremental Build of configuration Debug for project task2 **** 14:19:07 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all make -j12 all
Target all ready Target all ready
14:56:35 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
Target all ready
14:57:35 **** Clean-only build of configuration Debug for project task2 ****
make -j12 clean
14:57:51 **** Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
arm-none-eabi-size task2.elf
text data bss dec hex filename
648 0 0 648 288 task2.elf
Target all ready
14:58:02 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
Target all ready
14:58:10 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
Target all ready
13:53:05 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
task2.s: Assembler messages:
task2.s:346: Error: junk at end of line, first unrecognized character is `h'
make: *** [makefile:74: task2.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
13:53:51 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
arm-none-eabi-size task2.elf
text data bss dec hex filename
532 0 0 532 214 task2.elf
Target all ready
13:56:03 **** Build of configuration Debug for project task1 ****
make -j12 all
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
arm-none-eabi-gcc "../Src/task1_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1_it.d" -MT"Src/task1_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1_it.o"
../Src/sketch.c: In function 'main':
../Src/sketch.c:11:42: error: expected expression before ')' token
11 | while(/*schalter nicht gedrückt*/){}
| ^
../Src/sketch.c:12:9: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration]
12 | delay(10);
| ^~~~~
../Src/sketch.c:13:39: error: expected expression before ')' token
13 | while(/*schalter losgelassen*/){}
| ^
../Src/sketch.c:18:39: error: request for member 'length' in something not a structure or union
18 | for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
| ^
../Src/sketch.c:20:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
20 | if(i = 0){/*alles bis auf LED0 auschalten*/}
| ^
../Src/sketch.c:21:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
21 | if(i = 1){/*..*/}
| ^
../Src/sketch.c:24:44: error: expected expression before ')' token
24 | if(/*schalter gerückt*/){
| ^
../Src/sketch.c:32:42: error: expected expression before ')' token
32 | while(/*Taster gedrückt*/){}
| ^
make: *** [Src/subdir.mk:25: Src/sketch.o] Error 1
make: *** Waiting for unfinished jobs....
../Src/task1.c: In function 'GPIO_init':
../Src/task1.c:169:22: error: expected expression before '<<' token
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
| ^~
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
13:56:35 **** Incremental Build of configuration Debug for project task1 ****
make -j12 all
arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
../Src/task1.c: In function 'GPIO_init':
../Src/task1.c:169:22: error: expected expression before '<<' token
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
| ^~
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
14:02:22 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
Target all ready
12:57:24 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
G431_addr.s: Assembler messages:
G431_addr.s:175: Error: unexpected character `c' in type specifier
G431_addr.s:175: Error: bad instruction `sketch.c '
G431_addr.s:176: Error: junk at end of line, first unrecognized character is `*'
G431_addr.s:177: Error: junk at end of line, first unrecognized character is `*'
G431_addr.s:178: Error: junk at end of line, first unrecognized character is `*'
G431_addr.s:179: Error: junk at end of line, first unrecognized character is `*'
G431_addr.s:180: Error: bad instruction `int reihenfolge[6]={0,1,2,3,2,1}'
G431_addr.s:182: Error: bad instruction `int main(){'
G431_addr.s:183: Error: bad instruction `while(1){ '
G431_addr.s:184: Error: bad instruction `while( ){}'
G431_addr.s:185: Error: bad instruction `delay(10)'
G431_addr.s:186: Error: bad instruction `while( ){}'
G431_addr.s:187: Error: bad instruction `delay(150)'
G431_addr.s:189: Error: bad instruction `int aktiv=1'
G431_addr.s:190: Error: bad instruction `while(aktiv){ '
G431_addr.s:191: Error: bad instruction `for(int i'
G431_addr.s:191: Error: bad instruction `i <reihenfolge.length-1&&aktiv=1'
G431_addr.s:191: Error: bad instruction `i ++){'
make: *** [makefile:74: task2.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
12:58:04 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
arm-none-eabi-size task2.elf
text data bss dec hex filename
532 0 0 532 214 task2.elf
Target all ready
14:28:37 **** Incremental Build of configuration Debug for project task2 ****
make -j12 all
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
arm-none-eabi-size task2.elf
text data bss dec hex filename
532 0 0 532 214 task2.elf
Target all ready
15:15:36 **** Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
../Src/task3.c:66:10: error: unknown type name 'unit23_t'
66 | volatile unit23_t timer_ticks = 0;
| ^~~~~~~~
../Src/task3.c:67:10: error: unknown type name 'unit8_t'
67 | volatile unit8_t ampel_aktiv = 0;
| ^~~~~~~
../Src/task3.c:68:10: error: unknown type name 'unit32_t'
68 | volatile unit32_t lbp = 0;
| ^~~~~~~~
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: In function 'TIM6_DAC_IRQHandler':
../Src/task3.c:137:13: error: duplicate case value
137 | case 11000:
| ^~~~
../Src/task3.c:133:13: note: previously used here
133 | case 11000:
| ^~~~
../Src/task3.c:158:17: warning: implicit declaration of function 'elif' [-Wimplicit-function-declaration]
158 | elif(timer_ticks % 1000 == 500){
| ^~~~
../Src/task3.c:158:48: error: expected ';' before '{' token
158 | elif(timer_ticks % 1000 == 500){
| ^
| ;
../Src/task3.c: At top level:
../Src/task3.c:206:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
206 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:192:13: warning: 'Timer_init' defined but not used [-Wunused-function]
192 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:18:10 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c:66:10: error: unknown type name 'uint23_t'
66 | volatile uint23_t timer_ticks = 0;
| ^~~~~~~~
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: In function 'TIM6_DAC_IRQHandler':
../Src/task3.c:137:13: error: duplicate case value
137 | case 11000:
| ^~~~
../Src/task3.c:133:13: note: previously used here
133 | case 11000:
| ^~~~
../Src/task3.c:158:17: warning: implicit declaration of function 'elif' [-Wimplicit-function-declaration]
158 | elif(timer_ticks % 1000 == 500){
| ^~~~
../Src/task3.c:158:48: error: expected ';' before '{' token
158 | elif(timer_ticks % 1000 == 500){
| ^
| ;
../Src/task3.c: At top level:
../Src/task3.c:206:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
206 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:192:13: warning: 'Timer_init' defined but not used [-Wunused-function]
192 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:19:48 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c:66:10: error: unknown type name 'uint28_t'
66 | volatile uint28_t timer_ticks = 0;
| ^~~~~~~~
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: At top level:
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
202 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
188 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:20:58 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: At top level:
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
202 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
188 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:21:31 **** Build of configuration Debug for project task1 ****
make -j12 all
arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
../Src/sketch.c: In function 'main':
../Src/sketch.c:11:42: error: expected expression before ')' token
11 | while(/*schalter nicht gedrückt*/){}
| ^
../Src/sketch.c:12:9: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration]
12 | delay(10);
| ^~~~~
../Src/sketch.c:13:39: error: expected expression before ')' token
13 | while(/*schalter losgelassen*/){}
| ^
../Src/sketch.c:18:39: error: request for member 'length' in something not a structure or union
18 | for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
| ^
../Src/sketch.c:20:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
20 | if(i = 0){/*alles bis auf LED0 auschalten*/}
| ^
../Src/sketch.c:21:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
21 | if(i = 1){/*..*/}
| ^
../Src/sketch.c:24:44: error: expected expression before ')' token
24 | if(/*schalter gerückt*/){
| ^
../Src/sketch.c:32:42: error: expected expression before ')' token
32 | while(/*Taster gedrückt*/){}
| ^
make: *** [Src/subdir.mk:25: Src/sketch.o] Error 1
make: *** Waiting for unfinished jobs....
../Src/task1.c: In function 'GPIO_init':
../Src/task1.c:169:22: error: expected expression before '<<' token
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
| ^~
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:21:32 **** Build of configuration Debug for project task2 ****
make -j12 all
Target all ready
15:21:32 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: At top level:
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
202 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
188 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:21:32 **** Build of configuration Debug for project task4 ****
make -j12 all
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
arm-none-eabi-gcc "../Src/task4.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4.d" -MT"Src/task4.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4.o"
arm-none-eabi-gcc "../Src/task4_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4_it.d" -MT"Src/task4_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4_it.o"
arm-none-eabi-gcc -o "task4.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task4/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task4.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task4.elf
arm-none-eabi-size task4.elf
arm-none-eabi-objdump -h -S task4.elf > "task4.list"
text data bss dec hex filename
968 0 1568 2536 9e8 task4.elf
Finished building: default.size.stdout
Finished building: task4.list
15:21:42 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
114 | timer_aktiv=1;
| ^~~~~~~~~~~
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
../Src/task3.c: At top level:
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
202 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
188 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:23:20 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
86 | System_init();
| ^~~~~~~~~~~
| SystemInit
../Src/task3.c: At top level:
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
202 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
188 | static void Timer_init(void) {
| ^~~~~~~~~~
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: ./Src/task3.o: in function `main':
/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/Debug/../Src/task3.c:86: undefined reference to `System_init'
collect2: error: ld returned 1 exit status
make: *** [makefile:63: task3.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:25:59 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'Timer_init' [-Wimplicit-function-declaration]
86 | Timer_init();
| ^~~~~~~~~~
../Src/task3.c:87:5: warning: implicit declaration of function 'EXTI_init' [-Wimplicit-function-declaration]
87 | EXTI_init();
| ^~~~~~~~~
../Src/task3.c: At top level:
../Src/task3.c:189:13: warning: conflicting types for 'Timer_init'; have 'void(void)'
189 | static void Timer_init(void) {
| ^~~~~~~~~~
../Src/task3.c:189:13: error: static declaration of 'Timer_init' follows non-static declaration
../Src/task3.c:86:5: note: previous implicit declaration of 'Timer_init' with type 'void(void)'
86 | Timer_init();
| ^~~~~~~~~~
../Src/task3.c:203:13: warning: conflicting types for 'EXTI_init'; have 'void(void)'
203 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:203:13: error: static declaration of 'EXTI_init' follows non-static declaration
../Src/task3.c:87:5: note: previous implicit declaration of 'EXTI_init' with type 'void(void)'
87 | EXTI_init();
| ^~~~~~~~~
../Src/task3.c:203:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
203 | static void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:189:13: warning: 'Timer_init' defined but not used [-Wunused-function]
189 | static void Timer_init(void) {
| ^~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:26:50 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'main':
../Src/task3.c:86:5: warning: implicit declaration of function 'Timer_init' [-Wimplicit-function-declaration]
86 | Timer_init();
| ^~~~~~~~~~
../Src/task3.c:87:5: warning: implicit declaration of function 'EXTI_init' [-Wimplicit-function-declaration]
87 | EXTI_init();
| ^~~~~~~~~
../Src/task3.c: At top level:
../Src/task3.c:189:6: warning: conflicting types for 'Timer_init'; have 'void(void)'
189 | void Timer_init(void) {
| ^~~~~~~~~~
../Src/task3.c:86:5: note: previous implicit declaration of 'Timer_init' with type 'void(void)'
86 | Timer_init();
| ^~~~~~~~~~
../Src/task3.c:203:6: warning: conflicting types for 'EXTI_init'; have 'void(void)'
203 | void EXTI_init(void) {
| ^~~~~~~~~
../Src/task3.c:87:5: note: previous implicit declaration of 'EXTI_init' with type 'void(void)'
87 | EXTI_init();
| ^~~~~~~~~
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
15:28:05 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
15:30:17 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
15:35:25 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
15:37:20 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
15:37:47 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1276 0 1568 2844 b1c task3.elf
Finished building: default.size.stdout
15:42:27 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1264 0 1568 2832 b10 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
15:45:26 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1240 0 1568 2808 af8 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
15:45:44 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1240 0 1568 2808 af8 task3.elf
Finished building: default.size.stdout
15:50:48 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1236 0 1568 2804 af4 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
15:51:56 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1236 0 1568 2804 af4 task3.elf
Finished building: default.size.stdout
15:52:20 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1236 0 1568 2804 af4 task3.elf
Finished building: default.size.stdout
16:04:28 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1324 0 1576 2900 b54 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:11:41 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:14:05 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:18:18 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:21:47 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:27:59 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:30:05 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1260 0 1568 2828 b0c task3.elf
Finished building: default.size.stdout
16:35:46 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
../Src/task3_it.c:139:5: error: 'EXTI_IRQHandler' undeclared here (not in a function)
139 | EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
| ^~~~~~~~~~~~~~~
make: *** [Src/subdir.mk:22: Src/task3_it.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
16:48:29 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
../Src/task3_it.c:139:5: error: 'EXTI_IRQHandler' undeclared here (not in a function)
139 | EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
| ^~~~~~~~~~~~~~~
../Src/task3_it.c:187:5: error: 'TIM6_DAC_IRQHandler' undeclared here (not in a function); did you mean 'TIM7_DAC_IRQHandler'?
187 | TIM6_DAC_IRQHandler, /* 54 (0x00000118) TIM6 + DAC1/3 underrun global interrupts */
| ^~~~~~~~~~~~~~~~~~~
| TIM7_DAC_IRQHandler
make: *** [Src/subdir.mk:22: Src/task3_it.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
16:49:27 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1704 0 1576 3280 cd0 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:50:00 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1704 0 1576 3280 cd0 task3.elf
Finished building: default.size.stdout
16:51:34 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1696 0 1576 3272 cc8 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:54:44 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:122:5: warning: implicit declaration of function 'TIM_DAC_IRQHandler'; did you mean 'TIM7_DAC_IRQHandler'? [-Wimplicit-function-declaration]
122 | TIM_DAC_IRQHandler();
| ^~~~~~~~~~~~~~~~~~
| TIM7_DAC_IRQHandler
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: ./Src/task3.o: in function `EXTI_IRQHandler':
/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/Debug/../Src/task3.c:122: undefined reference to `TIM_DAC_IRQHandler'
collect2: error: ld returned 1 exit status
make: *** [makefile:63: task3.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
16:55:06 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
../Src/task3.c: In function 'EXTI_IRQHandler':
../Src/task3.c:122:5: warning: implicit declaration of function 'TIM6_DAC_IRQHandler'; did you mean 'TIM7_DAC_IRQHandler'? [-Wimplicit-function-declaration]
122 | TIM6_DAC_IRQHandler();
| ^~~~~~~~~~~~~~~~~~~
| TIM7_DAC_IRQHandler
../Src/task3.c: At top level:
../Src/task3.c:126:6: warning: conflicting types for 'TIM6_DAC_IRQHandler'; have 'void(void)'
126 | void TIM6_DAC_IRQHandler(void){
| ^~~~~~~~~~~~~~~~~~~
../Src/task3.c:122:5: note: previous implicit declaration of 'TIM6_DAC_IRQHandler' with type 'void(void)'
122 | TIM6_DAC_IRQHandler();
| ^~~~~~~~~~~~~~~~~~~
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1696 0 1576 3272 cc8 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
16:56:24 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-size task3.elf
text data bss dec hex filename
1696 0 1576 3272 cc8 task3.elf
Finished building: default.size.stdout
17:16:03 **** Incremental Build of configuration Debug for project task3 ****
make -j12 all
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1696 0 1576 3272 cc8 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
@@ -1,9 +1,40 @@
14:13:43 **** Clean-only build of configuration Debug for project task1 **** 15:21:31 **** Build of configuration Debug for project task1 ****
make -j12 clean make -j12 all
rm -rf ./Startup/startup_stm32g431kbtx.d ./Startup/startup_stm32g431kbtx.o ./Startup/syscalls.cyclo ./Startup/syscalls.d ./Startup/syscalls.o ./Startup/syscalls.su ./Startup/sysmem.cyclo ./Startup/sysmem.d ./Startup/sysmem.o ./Startup/sysmem.su arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
rm -rf ./Src/task1.cyclo ./Src/task1.d ./Src/task1.o ./Src/task1.su ./Src/task1_it.cyclo ./Src/task1_it.d ./Src/task1_it.o ./Src/task1_it.su arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
rm -rf default.size.stdout task1.elf task1.list task1.map ../Src/sketch.c: In function 'main':
../Src/sketch.c:11:42: error: expected expression before ')' token
11 | while(/*schalter nicht gedrückt*/){}
| ^
../Src/sketch.c:12:9: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration]
12 | delay(10);
| ^~~~~
../Src/sketch.c:13:39: error: expected expression before ')' token
13 | while(/*schalter losgelassen*/){}
| ^
../Src/sketch.c:18:39: error: request for member 'length' in something not a structure or union
18 | for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
| ^
../Src/sketch.c:20:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
20 | if(i = 0){/*alles bis auf LED0 auschalten*/}
| ^
../Src/sketch.c:21:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
21 | if(i = 1){/*..*/}
| ^
../Src/sketch.c:24:44: error: expected expression before ')' token
24 | if(/*schalter gerückt*/){
| ^
../Src/sketch.c:32:42: error: expected expression before ')' token
32 | while(/*Taster gedrückt*/){}
| ^
make: *** [Src/subdir.mk:25: Src/sketch.o] Error 1
make: *** Waiting for unfinished jobs....
../Src/task1.c: In function 'GPIO_init':
../Src/task1.c:169:22: error: expected expression before '<<' token
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
| ^~
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
15:21:32 Build Failed. 9 errors, 3 warnings. (took 171ms)
14:13:44 Build Finished. 0 errors, 0 warnings. (took 187ms)
@@ -1,6 +1,6 @@
14:19:07 **** Incremental Build of configuration Debug for project task2 **** 15:21:32 **** Build of configuration Debug for project task2 ****
make -j12 all make -j12 all
Target all ready Target all ready
14:19:07 Build Finished. 0 errors, 0 warnings. (took 182ms) 15:21:32 Build Finished. 0 errors, 0 warnings. (took 175ms)
@@ -1,7 +1,17 @@
14:13:44 **** Clean-only build of configuration Debug for project task3 **** 17:16:03 **** Incremental Build of configuration Debug for project task3 ****
make -j12 clean make -j12 all
makefile:62: *** multiple target patterns. Stop. arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
"make -j12 clean" terminated with exit code 2. Build might be incomplete. arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task3.elf
14:13:44 Build Failed. 1 errors, 0 warnings. (took 186ms) arm-none-eabi-size task3.elf
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
text data bss dec hex filename
1696 0 1576 3272 cc8 task3.elf
Finished building: default.size.stdout
Finished building: task3.list
17:16:03 Build Finished. 0 errors, 0 warnings. (took 278ms)
@@ -1,7 +1,21 @@
14:13:44 **** Clean-only build of configuration Debug for project task4 **** 15:21:32 **** Build of configuration Debug for project task4 ****
make -j12 clean make -j12 all
makefile:62: *** multiple target patterns. Stop. arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
"make -j12 clean" terminated with exit code 2. Build might be incomplete. arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
arm-none-eabi-gcc "../Src/task4.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4.d" -MT"Src/task4.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4.o"
arm-none-eabi-gcc "../Src/task4_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4_it.d" -MT"Src/task4_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4_it.o"
arm-none-eabi-gcc -o "task4.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task4/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task4.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: task4.elf
14:13:44 Build Failed. 1 errors, 0 warnings. (took 186ms) arm-none-eabi-size task4.elf
arm-none-eabi-objdump -h -S task4.elf > "task4.list"
text data bss dec hex filename
968 0 1568 2536 9e8 task4.elf
Finished building: default.size.stdout
Finished building: task4.list
15:21:32 Build Finished. 0 errors, 0 warnings. (took 272ms)
@@ -0,0 +1,238 @@
/* ***************************************************************************************
# Project: task3 - C: Timer & Interrupts
# File: task3_it.s
#
# Language: C
#
# Hardware: STefi Light v1.1
# Processor: STM32G431KBT6U
#
# Author: Manuel Lederhofer
# Datum: 31.10.2014
#
# Version: 6.1
# History:
# 31.10.2014 ML create file
# 27.09.2018 ML edit comments, extend vector table
# 18.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
# 27.02.2019 ML move section of exception handlers to bottom of file,
# change ASM pseudo commands from .space to .org
# 25.09.2019 ML minor changes for a better code and comment understanding
# 04.09.2020 HL port from STM32L476RG to STM32F411xE
# 21.09.2020 ML tidy up, comments and formatting
# 29.09.2021 ML port from STM32F411xE to STM32F042K6T6
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
# 17.02.2025 TK move ASM:Interrupts to task2, replace with C:Interrupts
# 24.06.2025 TK remove Systick
#
# Status: working
#
# Description:
# See the description and requirements of the requested application
# in the lab exercise guide.
#
# Notes:
# - MCU speed at startup is 16 MHz
#
# ToDo:
# - Change the example code to match the description and requirements
# of the requested application in the lab exercise guide.
************************************************************************************** */
/* ------------------------------------ INCLUDES -------------------------------------- */
#include "stm32g431xx.h"
#include "STefi-Light.h"
/* ------------------------------------ DEFINES --------------------------------------- */
/* ------------------------------------ TYPE DEFINITIONS ------------------------------ */
/* ------------------------------------ GLOBAL VARIABLES ------------------------------ */
extern void* _estack; // initial stack pointer from ldscript
extern void* Reset_Handler; // exception handler from startup code
/* ------------------------------------ PRIVATE VARIABLES ----------------------------- */
/* ------------------------------------ PROTOTYPES ------------------------------------ */
/* ------------------------------------ GLOBAL FUNCTIONS (Exceptions Handlers) -------- */
/* ------------------------------------------------------------------------------------ *\
* method: void ISR_error(void)
*
* Default interrupt handler for core interrupts.
* Enables the green and red LED on the STefi Light board.
\* ------------------------------------------------------------------------------------ */
void ISR_error(void)
{
/* init */
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN; // PA: clock on (LEDs)
GPIOA->ODR |= 0x0F;
GPIOA->MODER = (GPIOA->MODER & 0xFFFFFF00) | 0x11;
while(1)
{ /* light up the LEDs permanently */
GPIOA->ODR &= ~((1 << 2) | (1 << 0));
}
}
/* ------------------------------------------------------------------------------------ *\
* method: void ISR_default(void)
*
* Default interrupt handler for non-core interrupts.
* Enables the blue and yellow LED on the STefi Light board.
\* ------------------------------------------------------------------------------------ */
void ISR_default(void)
{
/* init */
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN; // PA: clock on (LEDs)
GPIOA->ODR |= 0x0F;
GPIOA->MODER = (GPIOA->MODER & 0xFFFFFF00) | 0x44;
while(1)
{ /* light up the LEDs permanently */
GPIOA->ODR &= ~((1 << 3) | (1 << 1));
}
}
/* ------------------------------------------------------------------------------------ *\
* method: Timer
*
* Timer interrupt is used for ...
\* ------------------------------------------------------------------------------------ */
/* ------------------------------------ INTERRUPT VECTOR TABLE ------------------------ */
__attribute__ ((section (".isr_vector")))
void (* const paIsrFunc[118])(void) =
{
/* --- core vectors --- */
(void *)&_estack, /* 00 (0x00000000) initial stack pointer */
(void *)&Reset_Handler, /* 01 (0x00000004) (prio: -3) initial program counter (leads to first command to execute) */
ISR_error, /* 02 (0x00000008) (prio: -2) non-maskable interrupt */
ISR_error, /* 03 (0x0000000C) (prio: -1) hard fault exception */
ISR_error, /* 04 (0x00000010) memory management */
ISR_error, /* 05 (0x00000014) bus fault - pre-fetch fault, memory access fault */
ISR_error, /* 06 (0x00000018) usage fault - undefined instruction or illegal state */
ISR_error, /* 07 (0x0000001C) reserved vector 7 */
ISR_error, /* 08 (0x00000020) reserved vector 8 */
ISR_error, /* 09 (0x00000024) reserved vector 9 */
ISR_error, /* 10 (0x00000028) reserved vector 10 */
ISR_error, /* 11 (0x0000002C) system service call via SWI instruction */
ISR_error, /* 12 (0x00000030) monitor */
ISR_error, /* 13 (0x00000034) reserved vector 13 */
ISR_error, /* 14 (0x00000038) pendable service call exception */
ISR_error, /* 15 (0x0000003C) SysTick exception */
/* --- non-core vectors --- */
ISR_default, /* 0 (0x00000040) window watchdog interrupt */
ISR_default, /* 1 (0x00000044) PVD through EXTI line 16 interrupt */
ISR_default, /* 2 (0x00000048) RTC/TAMP/CSS on LSE through EXTI line 19 interrupt */
ISR_default, /* 3 (0x0000004C) RTC Wakeup timer through EXTI line 20 interrupt */
ISR_default, /* 4 (0x00000050) Flash global interrupt */
ISR_default, /* 5 (0x00000054) RCC global interrupt */
EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
ISR_default, /* 7 (0x0000005C) EXTI Line 1 interrupt */
ISR_default, /* 8 (0x00000060) EXTI Line 2 interrupt */
ISR_default, /* 9 (0x00000064) EXTI Line 3 interrupt */
ISR_default, /* 10 (0x00000068) EXTI Line 4 interrupt */
ISR_default, /* 11 (0x0000006C) DMA1 channel 1 interrupt */
ISR_default, /* 12 (0x00000070) DMA1 channel 2 interrupt */
ISR_default, /* 13 (0x00000074) DMA1 channel 3 interrupt */
ISR_default, /* 14 (0x00000078) DMA1 channel 4 interrupt */
ISR_default, /* 15 (0x0000007C) DMA1 channel 5 interrupt */
ISR_default, /* 16 (0x00000080) DMA1 channel 6 interrupt */
ISR_default, /* 17 (0x00000084) DMA1 channel 7 interrupt */
ISR_default, /* 18 (0x00000088) ADC1 + ADC2 global interrupt */
ISR_default, /* 19 (0x0000008C) USB high priority interrupts */
ISR_default, /* 20 (0x00000090) USB low priority interrupts */
ISR_default, /* 21 (0x00000094) FDCAN1 interrupt 0 */
ISR_default, /* 22 (0x00000098) FDCAN1 interrupt 1 */
ISR_default, /* 23 (0x0000009C) EXTI line [9:5] interrupts */
ISR_default, /* 24 (0x000000A0) TIM1 break + TIM15 global interrupts */
ISR_default, /* 25 (0x000000A4) TIM1 update + TIM16 global interrupts */
ISR_default, /* 26 (0x000000A8) TIM1 trigger, commutation, direction change, index + TIM17 interrupts */
ISR_default, /* 27 (0x000000AC) TIM1 capture compare interrupt */
ISR_default, /* 28 (0x000000B0) TIM2 global interrupt */
ISR_default, /* 29 (0x000000B4) TIM3 global interrupt */
ISR_default, /* 30 (0x000000B8) TIM4 global interrupt */
ISR_default, /* 31 (0x000000BC) I2C1 event + EXTI line 23 interrupts */
ISR_default, /* 32 (0x000000C0) I2C1 error interrupt */
ISR_default, /* 33 (0x000000C4) I2C2 event + EXTI line 24 interrupts */
ISR_default, /* 34 (0x000000C8) I2C2 error interrupt */
ISR_default, /* 35 (0x000000CC) SPI1 global interrupt */
ISR_default, /* 36 (0x000000D0) SPI2 global interrupt */
ISR_default, /* 37 (0x000000D4) USART1 global + EXTI line 25 interrupts */
ISR_default, /* 38 (0x000000D8) USART2 global + EXTI line 26 interrupts */
ISR_default, /* 39 (0x000000DC) USART3 global + EXTI line 28 interrupts */
ISR_default, /* 40 (0x000000E0) EXTI line [15:10] interrupts */
ISR_default, /* 41 (0x000000E4) RTC alarms interrupts */
ISR_default, /* 42 (0x000000E8) USB wakeup from suspend trough EXTI line 18 interrupt */
ISR_default, /* 43 (0x000000EC) TIM8 break, transition error, index error interrupts */
ISR_default, /* 44 (0x000001F0) TIM8 update interrupt */
ISR_default, /* 45 (0x000001F4) TIM8 trigger, commutation, direction change, index interrupts */
ISR_default, /* 46 (0x000001F8) TIM8 capture compare interrupt */
ISR_default, /* 47 (0x000001FC) ADC3 global interrupt */
ISR_default, /* 48 (0x00000100) FSMC global interrupt */
ISR_default, /* 49 (0x00000104) LPTIM1 global interrupt */
ISR_default, /* 50 (0x00000108) TIM5 global interrupt */
ISR_default, /* 51 (0x0000010C) SPI3 global interrupt */
ISR_default, /* 52 (0x00000110) UART4 global + EXTI line 34 interrupts */
ISR_default, /* 53 (0x00000114) UART5 global + EXTI line 35 interrupts */
TIM6_DAC_IRQHandler, /* 54 (0x00000118) TIM6 + DAC1/3 underrun global interrupts */
ISR_default, /* 55 (0x0000011C) TIM7 + DAC2/4 underrun global interrupts */
ISR_default, /* 56 (0x00000120) DMA2 channel 1 interrupt */
ISR_default, /* 57 (0x00000124) DMA2 channel 2 interrupt */
ISR_default, /* 58 (0x00000128) DMA2 channel 3 interrupt */
ISR_default, /* 59 (0x0000012C) DMA2 channel 4 interrupt */
ISR_default, /* 60 (0x00000130) DMA2 channel 5 interrupt */
ISR_default, /* 61 (0x00000134) ADC4 global interrupt */
ISR_default, /* 62 (0x00000138) ADC5 global interrupt */
ISR_default, /* 63 (0x0000013C) UCPD1 global + EXTI line 43 interrupts */
ISR_default, /* 64 (0x00000140) COMP1/COMP2/COMP3 through EXTI lines 21/22/29 interrupts */
ISR_default, /* 65 (0x00000144) COMP4/COMP5/COMP6 through EXTI lines 30/31/32 interrupts */
ISR_default, /* 66 (0x00000148) COMP7 through EXTI line 33 interrupt */
ISR_default, /* 67 (0x0000014C) HRTIM master timer interrupt (hrtim_it1) */
ISR_default, /* 68 (0x00000150) HRTIM timer A interrupt (hrtim_it2) */
ISR_default, /* 69 (0x00000154) HRTIM timer B interrupt (hrtim_it3) */
ISR_default, /* 70 (0x00000158) HRTIM timer C interrupt (hrtim_it4) */
ISR_default, /* 71 (0x0000015C) HRTIM timer D interrupt (hrtim_it5) */
ISR_default, /* 72 (0x00000160) HRTIM timer E interrupt (hrtim_it6) */
ISR_default, /* 73 (0x00000164) HRTIM fault interrupt (hrtim_it8) */
ISR_default, /* 74 (0x00000168) HRTIM timer F interrupt (hrtim_it7) */
ISR_default, /* 75 (0x0000016C) CRS interrupt */
ISR_default, /* 76 (0x00000170) SAI */
ISR_default, /* 77 (0x00000174) TIM20 break, transition error, index error interrupts */
ISR_default, /* 78 (0x00000178) TIM20 update interrupt */
ISR_default, /* 79 (0x0000017C) TIM20 trigger, commutation, direction change, index interrupts */
ISR_default, /* 80 (0x00000180) TIM20 capture compare interrupt */
ISR_default, /* 81 (0x00000184) Floating point interrupt */
ISR_default, /* 82 (0x00000188) I2C4 event + EXTI line 4 interrupts */
ISR_default, /* 83 (0x0000018C) I2C4 error interrupt */
ISR_default, /* 84 (0x00000190) SPI4 global interrupt */
ISR_default, /* 85 (0x00000194) AES global interrupt */
ISR_default, /* 86 (0x00000198) FDCAN2 interrupt 0 */
ISR_default, /* 87 (0x0000019C) FDCAN2 interrupt 1 */
ISR_default, /* 88 (0x000001A0) FDCAN3 interrupt 0 */
ISR_default, /* 89 (0x000001A4) FDCAN3 interrupt 1 */
ISR_default, /* 90 (0x000001A8) RNG global interrupt */
ISR_default, /* 91 (0x000001AC) LPUART global interrupt */
ISR_default, /* 92 (0x000001B0) I2C3 event + EXTI line 27 interrupts */
ISR_default, /* 93 (0x000001B4) I2C3 error interrupt */
ISR_default, /* 94 (0x000001B8) DMAMUX overrun interrupt */
ISR_default, /* 95 (0x000001BC) QUADSPI global interrupt */
ISR_default, /* 96 (0x000001C0) DMA1 channel 8 interrupt */
ISR_default, /* 97 (0x000001C4) DMA2 channel 6 interrupt */
ISR_default, /* 98 (0x000001C8) DMA2 channel 7 interrupt */
ISR_default, /* 99 (0x000001CC) DMA2 channel 8 interrupt */
ISR_default, /* 100 (0x000001D0) Cordic interrupt */
ISR_default /* 101 (0x000001D4) FMAC interrupt */
};
/* ************************************ E O F ***************************************** */
@@ -0,0 +1,328 @@
#****************************************************************************************#
# Project: task2 - ASM: Interrupts
# File: task2.s
# Hardware: STefi Light v1.1
# Processor: STM32G431KBT6U
#****************************************************************************************#
.include "G431_addr.s"
// Zusätzliche und benötigte Adressen
.equ RCC_AHB2ENR, 0x4002104C
.equ RCC_APB2ENR, 0x40021060
.equ GPIOA_MODER, 0x48000000
.equ GPIOA_ODR, 0x48000014
.equ GPIOC_MODER, 0x48000800
.equ GPIOC_PUPDR, 0x4800080C
.equ GPIOC_IDR, 0x48000810
.equ SYSCFG_BASE, 0x40010000
.equ SYSCFG_EXTICR4, (SYSCFG_BASE + 0x14)
.equ EXTI_BASE, 0x40010400
.equ EXTI_IMR1, (EXTI_BASE + 0x00)
.equ EXTI_FTSR1, (EXTI_BASE + 0x0C)
.equ EXTI_PR1, (EXTI_BASE + 0x14)
.equ NVIC_ISER1, 0xE000E104
#----------------------------------------------------------------------------------------#
.section .vectortable,"a" // vector table at begin of ROM
#----------------------------------------------------------------------------------------#
.align 2
.word 0x20004000 // initial Stack Pointer
.word 0x08000401 // initial Program Counter
.word _ISR_NMI // non-masking interrupt
.word _ISR_HARDF // hard fault interrupt
.space 0xD0 // padding 208 Bytes bis Offset 0xE0 (EXTI15_10 IRQ 40)
.word _ISR_S0_S1 // gemeinsamer Interrupt für PC13 (S0) und PC14 (S1)
#----------------------------------------------------------------------------------------#
.text // section .text (default section for program code)
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global init
.type init, %function
init:
CPSID i // disable interrupts globally
MOVS r0, #0 // safely initialize the GPRs
MOVS r1, #0
MOVS r2, #0
MOVS r3, #0
MOVS r4, #0
MOVS r5, #0
MOVS r6, #0
MOVS r7, #0
MOV r8, r0
MOV r9, r0
MOV r10, r0
MOV r11, r0
MOV r12, r0
#--- enable port clocking
LDR r1, =RCC_AHB2ENR
MOVS r2, #0x05 // Bit 0 (GPIOA) und Bit 2 (GPIOC)
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
#--- port init
#- LEDs (PA0-PA3)
LDR r1, =GPIOA_MODER
LDR r2, =0x000000FF // Maske PA0-PA3
LDR r0, [r1, #0]
BICS r0, r2
LDR r2, =0x00000055 // Maske Output 0101 0101
ORRS r0, r2
STR r0, [r1, #0]
#- switch LED off
LDR r1, =GPIOA_ODR
MOVS r2, #0x0F // Maske LED0-3
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
#- buttons (PC13, PC14 als Input)
LDR r1, =GPIOC_MODER
LDR r2, =0x3C000000 // Maske Bits 26-29
LDR r0, [r1, #0]
BICS r0, r2
STR r0, [r1, #0]
#- Pull-Up für PC13, PC14
LDR r1, =GPIOC_PUPDR
LDR r2, =0x3C000000
LDR r0, [r1, #0]
BICS r0, r2
LDR r2, =0x14000000 // 01 = Pull-Up für PC13 (Bits 27:26) und PC14 (Bits 29:28)
ORRS r0, r2
STR r0, [r1, #0]
#--- button interrupt config
#- enable clock for SYSCFG module
LDR r1, =RCC_APB2ENR
MOVS r2, #0x01
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
#- connect GPIO pins of the buttons to EXTended Interrupt controller lines (EXTI)
LDR r1, =SYSCFG_EXTICR4
LDR r2, =0x00000FF0 // Maske für EXTI13 (Bits 7:4) und EXTI14 (Bits 11:8)
LDR r0, [r1, #0]
BICS r0, r2
LDR r2, =0x00000220 // Port C (0010) für EXTI13 und EXTI14
ORRS r0, r2
STR r0, [r1, #0]
#- configure lines in EXTI module (EXTI_* registers)
LDR r1, =EXTI_FTSR1 // Fallende Flanke
LDR r2, =0x00006000 // Bits 13 und 14
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
LDR r1, =EXTI_IMR1 // Maskierung aufheben
LDR r2, =0x00006000
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
#- NVIC: set interrupt priority, clear pending bits
LDR r1, =NVIC_ISER1
LDR r2, =0x00000100 // Bit 8 für IRQ 40 (EXTI15_10)
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
CPSIE i // enable interrupts globally
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global main
.type main, %function
main:
WFI
B main
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global delay
.type delay, %function
delay:
LDR r0, =106000 // Entprell-Zeit ~20ms
.L1:
SUBS r0, r0, #1
BNE .L1
BX lr
#----------------------------------------------------------------------------------------#
.align 2
.global stop
stop:
NOP
B stop
#----------------------------------------------------------------------------------------#
.lp1:
.ltorg
#----------------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------------#
.section .exhand,"ax" // section for exception handlers
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_NMI, %function
_ISR_NMI:
LDR r1, =RCC_AHB2ENR
MOV r2, #0x01
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
LDR r1, =GPIOA_MODER
MOVS r2, #0xFF
LDR r0, [r1, #0]
BICS r0, r2
MOVS r2, #0x44
ORRS r0, r2
STR r0, [r1, #0]
LDR r1, =GPIOA_ODR
MOVS r2, #0x0A
LDR r0, [r1, #0]
BICS r0, r2
STR r0, [r1, #0]
B _ISR_NMI
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_HARDF, %function
_ISR_HARDF:
LDR r1, =RCC_AHB2ENR
MOV r2, #0x01
LDR r0, [r1, #0]
ORRS r0, r2
STR r0, [r1, #0]
LDR r1, =GPIOA_MODER
MOVS r2, #0xFF
LDR r0, [r1, #0]
BICS r0, r2
MOVS r2, #0x11
ORRS r0, r2
STR r0, [r1, #0]
LDR r1, =GPIOA_ODR
MOVS r2, #0x05
LDR r0, [r1, #0]
BICS r0, r2
STR r0, [r1, #0]
B _ISR_HARDF
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_S0_S1, %function
_ISR_S0_S1:
PUSH {r4, r5, lr} // Wichtig: Register sichern gemäß AAPCS
_check_S0:
LDR r4, =EXTI_PR1
LDR r5, [r4, #0]
LDR r2, =0x2000 // Maske für S0 (PC13 / Bit 13)
TST r5, r2
BEQ _check_S1 // Wenn Bit 13 nicht gesetzt, überspringen
#--- do the work S0
BL delay // Entprellen
LDR r0, =GPIOC_IDR
LDR r1, [r0, #0]
LDR r2, =0x2000
TST r1, r2
BNE _clear_S0 // Abbruch, wenn High (Taster prellt / schon losgelassen)
LDR r0, =GPIOA_ODR
LDR r1, [r0, #0]
MOVS r2, #0x09 // LED0 & LED3 toggeln (1001)
EORS r1, r2
STR r1, [r0, #0]
_clear_S0:
#--- clear interrupt flag S0
LDR r4, =EXTI_PR1
LDR r5, =0x2000
STR r5, [r4, #0]
_check_S1:
LDR r4, =EXTI_PR1
LDR r5, [r4, #0]
LDR r2, =0x4000 // Maske für S1 (PC14 / Bit 14)
TST r5, r2
BEQ _leave_ISR // Wenn Bit 14 nicht gesetzt, Ende
#--- do the work S1
BL delay
LDR r0, =GPIOC_IDR
LDR r1, [r0, #0]
LDR r2, =0x4000
TST r1, r2
BNE _clear_S1 // Abbruch, wenn High
LDR r0, =GPIOA_ODR
LDR r1, [r0, #0]
MOVS r2, #0x06 // LED1 & LED2 toggeln (0110)
EORS r1, r2
STR r1, [r0, #0]
_clear_S1:
#--- clear interrupt flag S1
LDR r4, =EXTI_PR1
LDR r5, =0x4000
STR r5, [r4, #0]
_leave_ISR:
#--- leave ISR
POP {r4, r5, pc} // Register wiederherstellen und zurückkehren
#----------------------------------------------------------------------------------------#
.lp2:
.ltorg
#----------------------------------------------------------------------------------------#
.end
#************************************** E O F *******************************************#
@@ -0,0 +1,764 @@
#*****************************************************************************************
# Project: task2 - switch triggered LEDs
# File: G431_addr.s
#
# Language: ASM
#
# Hardware: STefi v1.1
# Processor: STM32G431KBT6U
#
# Author: Manuel Lederhofer
# Datum: 20.08.2015
#
# Version: 3.0
# History:
# 20.08.2015 ML create file
# 07.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
# 27.02.2019 ML change from absolute addresses to BASE + OFFSET notation and
# add more timer modules
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
#
# Status: working
#
# Description:
# Connects assembly addresses for STM32G431 MCU to symbolic register names
# used in the datasheets.
#
# Notes:
# - default MCU speed at startup is 16 MHz.
#
# ToDo:
# - none -
#*****************************************************************************************
#----------------------------------------------------------------------------------------#
# MCU Bus Base Addresses
#----------------------------------------------------------------------------------------#
.equ APB1_BASE, 0x40000000
.equ APB2_BASE, 0x40010000
.equ AHB1_BASE, 0x40020000
.equ AHB2_BASE, 0x48000000
.equ AHB3_BASE, 0xA0000000 //!!! FSMC + QSPI registers = AHB3 ?
.equ PPB_BASE, 0xE0000000 /* Cortex M4 with FPU Internal Peripherals */
#----------------------------------------------------------------------------------------#
# System Configuration Controller
#
# address space: 0x4001_0000 .. 0x4001_0029
#----------------------------------------------------------------------------------------#
.equ SYSCFG_BASE, APB2_BASE
.equ SYSCFG_MEMRMP, SYSCFG_BASE + 0x00
.equ SYSCFG_CFGR1, SYSCFG_BASE + 0x04
.equ SYSCFG_EXTICR1, SYSCFG_BASE + 0x08
.equ SYSCFG_EXTICR2, SYSCFG_BASE + 0x0C
.equ SYSCFG_EXTICR3, SYSCFG_BASE + 0x10
.equ SYSCFG_EXTICR4, SYSCFG_BASE + 0x14
.equ SYSCFG_SCSR, SYSCFG_BASE + 0x18
.equ SYSCFG_CFGR2, SYSCFG_BASE + 0x1C
.equ SYSCFG_SWPR, SYSCFG_BASE + 0x20
.equ SYSCFG_SKR, SYSCFG_BASE + 0x24
#----------------------------------------------------------------------------------------#
# Extended Interrupts And Events Controller
#
# address space: 0x4001_0400 .. 0x4001_07FF
#----------------------------------------------------------------------------------------#
.equ EXTI_BASE, APB2_BASE + 0x400
.equ EXTI_IMR1, EXTI_BASE + 0x00
.equ EXTI_EMR1, EXTI_BASE + 0x04
.equ EXTI_RTSR1, EXTI_BASE + 0x08
.equ EXTI_FTSR1, EXTI_BASE + 0x0C
.equ EXTI_SWIER1, EXTI_BASE + 0x10
.equ EXTI_PR1, EXTI_BASE + 0x14
.equ EXTI_IMR2, EXTI_BASE + 0x20
.equ EXTI_EMR2, EXTI_BASE + 0x24
.equ EXTI_RTSR2, EXTI_BASE + 0x28
.equ EXTI_FTSR2, EXTI_BASE + 0x2C
.equ EXTI_SWIER2, EXTI_BASE + 0x30
.equ EXTI_PR2, EXTI_BASE + 0x34
#----------------------------------------------------------------------------------------#
# TIM module common configuration
#
# Every timer has 1 KB address space:
#
# TIM2 .. TIM7: 0x4000_0000 .. 0x4000_17FF (APB1)
# TIM1: 0x4001_2C00 .. 0x4001_2FFF (APB2)
# TIM8: 0x4001_3400 .. 0x4001_37FF (APB2)
# TIM15 .. TIM17: 0x4001_4000 .. 0x4001_4BFF (APB2)
# TIM20: 0x4001_5000 .. 0x4001_53FF (APB2)
#
# note:
# TIM2 + TIM5 are 32 bit timers. All others have a width of 16 bit.
# Below, the timers on one line share a common register set description.
#
# TIM 1, 8, 20 advances control timers
# TIM 2, 3, 4, 5 general purpose timers (TIM2/5 = 32 bit)
# TIM 15 general purpose timers
# TIM 16, 17 general purpose timers
# TIM 6, 7 basic timers
#----------------------------------------------------------------------------------------#
.equ TIM_CR1_OFFSET, 0x00
.equ TIM_CR2_OFFSET, 0x04
.equ TIM_SMCR_OFFSET, 0x08
.equ TIM_DIER_OFFSET, 0x0C
.equ TIM_SR_OFFSET, 0x10
.equ TIM_EGR_OFFSET, 0x14
.equ TIM_CCMR1_OFFSET, 0x18
.equ TIM_CCMR2_OFFSET, 0x1C
.equ TIM_CCER_OFFSET, 0x20
.equ TIM_CNT_OFFSET, 0x24
.equ TIM_PSC_OFFSET, 0x28
.equ TIM_ARR_OFFSET, 0x2C
.equ TIM_RCR_OFFSET, 0x30
.equ TIM_CCR1_OFFSET, 0x34
.equ TIM_CCR2_OFFSET, 0x38
.equ TIM_CCR3_OFFSET, 0x3C
.equ TIM_CCR4_OFFSET, 0x40
.equ TIM_BDTR_OFFSET, 0x44
.equ TIM_CCR5_OFFSET, 0x48
.equ TIM_CCR6_OFFSET, 0x4C
.equ TIM_CCMR3_OFFSET, 0x50
.equ TIM_DTR2_OFFSET, 0x54
.equ TIM_ECR_OFFSET, 0x58
.equ TIM_TISEL_OFFSET, 0x5C
.equ TIM_AF1_OFFSET, 0x60
.equ TIM_AF2_OFFSET, 0x64
.equ TIM_OR1_OFFSET, 0x68
.equ TIM_DCR_OFFSET, 0x3DC
.equ TIM_DMAR_OFFSET, 0x3E0
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
#--- Genral Purpose Timer - TIM2 / address space: 0x4000_0000 .. 0x4000_03FF
.equ TIM2_BASE, APB1_BASE
.equ TIM2_CR1, TIM2_BASE + TIM_CR1_OFFSET
.equ TIM2_CR2, TIM2_BASE + TIM_CR2_OFFSET
.equ TIM2_SMCR, TIM2_BASE + TIM_SMCR_OFFSET
.equ TIM2_DIER, TIM2_BASE + TIM_DIER_OFFSET
.equ TIM2_SR, TIM2_BASE + TIM_SR_OFFSET
.equ TIM2_EGR, TIM2_BASE + TIM_EGR_OFFSET
.equ TIM2_CCMR1, TIM2_BASE + TIM_CCMR1_OFFSET
.equ TIM2_CCMR2, TIM2_BASE + TIM_CCMR2_OFFSET
.equ TIM2_CCER, TIM2_BASE + TIM_CCER_OFFSET
.equ TIM2_CNT, TIM2_BASE + TIM_CNT_OFFSET
.equ TIM2_PSC, TIM2_BASE + TIM_PSC_OFFSET
.equ TIM2_ARR, TIM2_BASE + TIM_ARR_OFFSET
.equ TIM2_CCR1, TIM2_BASE + TIM_CCR1_OFFSET
.equ TIM2_CCR2, TIM2_BASE + TIM_CCR2_OFFSET
.equ TIM2_CCR3, TIM2_BASE + TIM_CCR3_OFFSET
.equ TIM2_CCR4, TIM2_BASE + TIM_CCR4_OFFSET
.equ TIM2_ECR, TIM2_BASE + TIM_ECR_OFFSET
.equ TIM2_TISEL, TIM2_BASE + TIM_TISEL_OFFSET
.equ TIM2_AF1, TIM2_BASE + TIM_ECR_OFFSET
.equ TIM2_AF2, TIM2_BASE + TIM_ECR_OFFSET
.equ TIM2_DCR, TIM2_BASE + TIM_DCR_OFFSET
.equ TIM2_DMAR, TIM2_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM3 / address space: 0x4000_0400 .. 0x4000_07FF
.equ TIM3_BASE, APB1_BASE + 0x400
.equ TIM3_CR1, TIM3_BASE + TIM_CR1_OFFSET
.equ TIM3_CR2, TIM3_BASE + TIM_CR2_OFFSET
.equ TIM3_SMCR, TIM3_BASE + TIM_SMCR_OFFSET
.equ TIM3_DIER, TIM3_BASE + TIM_DIER_OFFSET
.equ TIM3_SR, TIM3_BASE + TIM_SR_OFFSET
.equ TIM3_EGR, TIM3_BASE + TIM_EGR_OFFSET
.equ TIM3_CCMR1, TIM3_BASE + TIM_CCMR1_OFFSET
.equ TIM3_CCMR2, TIM3_BASE + TIM_CCMR2_OFFSET
.equ TIM3_CCER, TIM3_BASE + TIM_CCER_OFFSET
.equ TIM3_CNT, TIM3_BASE + TIM_CNT_OFFSET
.equ TIM3_PSC, TIM3_BASE + TIM_PSC_OFFSET
.equ TIM3_ARR, TIM3_BASE + TIM_ARR_OFFSET
.equ TIM3_CCR1, TIM3_BASE + TIM_CCR1_OFFSET
.equ TIM3_CCR2, TIM3_BASE + TIM_CCR2_OFFSET
.equ TIM3_CCR3, TIM3_BASE + TIM_CCR3_OFFSET
.equ TIM3_CCR4, TIM3_BASE + TIM_CCR4_OFFSET
.equ TIM3_ECR, TIM3_BASE + TIM_ECR_OFFSET
.equ TIM3_TISEL, TIM3_BASE + TIM_TISEL_OFFSET
.equ TIM3_AF1, TIM3_BASE + TIM_ECR_OFFSET
.equ TIM3_AF2, TIM3_BASE + TIM_ECR_OFFSET
.equ TIM3_DCR, TIM3_BASE + TIM_DCR_OFFSET
.equ TIM3_DMAR, TIM3_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM4 / address space: 0x4000_0800 .. 0x4000_0BFF
.equ TIM4_BASE, APB1_BASE + 0x800
.equ TIM4_CR1, TIM4_BASE + TIM_CR1_OFFSET
.equ TIM4_CR2, TIM4_BASE + TIM_CR2_OFFSET
.equ TIM4_SMCR, TIM4_BASE + TIM_SMCR_OFFSET
.equ TIM4_DIER, TIM4_BASE + TIM_DIER_OFFSET
.equ TIM4_SR, TIM4_BASE + TIM_SR_OFFSET
.equ TIM4_EGR, TIM4_BASE + TIM_EGR_OFFSET
.equ TIM4_CCMR1, TIM4_BASE + TIM_CCMR1_OFFSET
.equ TIM4_CCMR2, TIM4_BASE + TIM_CCMR2_OFFSET
.equ TIM4_CCER, TIM4_BASE + TIM_CCER_OFFSET
.equ TIM4_CNT, TIM4_BASE + TIM_CNT_OFFSET
.equ TIM4_PSC, TIM4_BASE + TIM_PSC_OFFSET
.equ TIM4_ARR, TIM4_BASE + TIM_ARR_OFFSET
.equ TIM4_CCR1, TIM4_BASE + TIM_CCR1_OFFSET
.equ TIM4_CCR2, TIM4_BASE + TIM_CCR2_OFFSET
.equ TIM4_CCR3, TIM4_BASE + TIM_CCR3_OFFSET
.equ TIM4_CCR4, TIM4_BASE + TIM_CCR4_OFFSET
.equ TIM4_ECR, TIM4_BASE + TIM_ECR_OFFSET
.equ TIM4_TISEL, TIM4_BASE + TIM_TISEL_OFFSET
.equ TIM4_AF1, TIM4_BASE + TIM_ECR_OFFSET
.equ TIM4_AF2, TIM4_BASE + TIM_ECR_OFFSET
.equ TIM4_DCR, TIM4_BASE + TIM_DCR_OFFSET
.equ TIM4_DMAR, TIM4_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM5 / address space: 0x4000_0C00 .. 0x4000_0FFF
.equ TIM5_BASE, APB1_BASE + 0xC00
.equ TIM5_CR1, TIM5_BASE + TIM_CR1_OFFSET
.equ TIM5_CR2, TIM5_BASE + TIM_CR2_OFFSET
.equ TIM5_SMCR, TIM5_BASE + TIM_SMCR_OFFSET
.equ TIM5_DIER, TIM5_BASE + TIM_DIER_OFFSET
.equ TIM5_SR, TIM5_BASE + TIM_SR_OFFSET
.equ TIM5_EGR, TIM5_BASE + TIM_EGR_OFFSET
.equ TIM5_CCMR1, TIM5_BASE + TIM_CCMR1_OFFSET
.equ TIM5_CCMR2, TIM5_BASE + TIM_CCMR2_OFFSET
.equ TIM5_CCER, TIM5_BASE + TIM_CCER_OFFSET
.equ TIM5_CNT, TIM5_BASE + TIM_CNT_OFFSET
.equ TIM5_PSC, TIM5_BASE + TIM_PSC_OFFSET
.equ TIM5_ARR, TIM5_BASE + TIM_ARR_OFFSET
.equ TIM5_CCR1, TIM5_BASE + TIM_CCR1_OFFSET
.equ TIM5_CCR2, TIM5_BASE + TIM_CCR2_OFFSET
.equ TIM5_CCR3, TIM5_BASE + TIM_CCR3_OFFSET
.equ TIM5_CCR4, TIM5_BASE + TIM_CCR4_OFFSET
.equ TIM5_ECR, TIM5_BASE + TIM_ECR_OFFSET
.equ TIM5_TISEL, TIM5_BASE + TIM_TISEL_OFFSET
.equ TIM5_AF1, TIM5_BASE + TIM_ECR_OFFSET
.equ TIM5_AF2, TIM5_BASE + TIM_ECR_OFFSET
.equ TIM5_DCR, TIM5_BASE + TIM_DCR_OFFSET
.equ TIM5_DMAR, TIM5_BASE + TIM_DMAR_OFFSET
#--- Basic Timer - TIM6 / address space: 0x4000_1000 .. 0x4000_13FF
.equ TIM6_BASE, APB1_BASE + 0x1000
.equ TIM6_CR1, TIM6_BASE + TIM_CR1_OFFSET
.equ TIM6_CR2, TIM6_BASE + TIM_CR2_OFFSET
.equ TIM6_DIER, TIM6_BASE + TIM_DIER_OFFSET
.equ TIM6_SR, TIM6_BASE + TIM_SR_OFFSET
.equ TIM6_EGR, TIM6_BASE + TIM_EGR_OFFSET
.equ TIM6_CNT, TIM6_BASE + TIM_CNT_OFFSET
.equ TIM6_PSC, TIM6_BASE + TIM_PSC_OFFSET
.equ TIM6_ARR, TIM6_BASE + TIM_ARR_OFFSET
#--- Basic Timer - TIM7 / address space: 0x4000_1400 .. 0x4000_17FF
.equ TIM7_BASE, APB1_BASE + 0x1400
.equ TIM7_CR1, TIM7_BASE + TIM_CR1_OFFSET
.equ TIM7_CR2, TIM7_BASE + TIM_CR2_OFFSET
.equ TIM7_DIER, TIM7_BASE + TIM_DIER_OFFSET
.equ TIM7_SR, TIM7_BASE + TIM_SR_OFFSET
.equ TIM7_EGR, TIM7_BASE + TIM_EGR_OFFSET
.equ TIM7_CNT, TIM7_BASE + TIM_CNT_OFFSET
.equ TIM7_PSC, TIM7_BASE + TIM_PSC_OFFSET
.equ TIM7_ARR, TIM7_BASE + TIM_ARR_OFFSET
#--- Advanced Control Timer - TIM1 / address space: 0x4001_2C00 .. 0x4001_2FFF
.equ TIM1_BASE, APB2_BASE + 0x2C00
.equ TIM1_CR1, TIM1_BASE + TIM_CR1_OFFSET
.equ TIM1_CR2, TIM1_BASE + TIM_CR2_OFFSET
.equ TIM1_SMCR, TIM1_BASE + TIM_SMCR_OFFSET
.equ TIM1_DIER, TIM1_BASE + TIM_DIER_OFFSET
.equ TIM1_SR, TIM1_BASE + TIM_SR_OFFSET
.equ TIM1_EGR, TIM1_BASE + TIM_EGR_OFFSET
.equ TIM1_CCMR1, TIM1_BASE + TIM_CCMR1_OFFSET
.equ TIM1_CCMR2, TIM1_BASE + TIM_CCMR2_OFFSET
.equ TIM1_CCER, TIM1_BASE + TIM_CCER_OFFSET
.equ TIM1_CNT, TIM1_BASE + TIM_CNT_OFFSET
.equ TIM1_PSC, TIM1_BASE + TIM_PSC_OFFSET
.equ TIM1_ARR, TIM1_BASE + TIM_ARR_OFFSET
.equ TIM1_RCR, TIM1_BASE + TIM_RCR_OFFSET
.equ TIM1_CCR1, TIM1_BASE + TIM_CCR1_OFFSET
.equ TIM1_CCR2, TIM1_BASE + TIM_CCR2_OFFSET
.equ TIM1_CCR3, TIM1_BASE + TIM_CCR3_OFFSET
.equ TIM1_CCR4, TIM1_BASE + TIM_CCR4_OFFSET
.equ TIM1_BDTR, TIM1_BASE + TIM_BDTR_OFFSET
.equ TIM1_CCR5, TIM1_BASE + TIM_CCR5_OFFSET
.equ TIM1_CCR6, TIM1_BASE + TIM_CCR6_OFFSET
.equ TIM1_CCMR3, TIM1_BASE + TIM_CCMR3_OFFSET
.equ TIM1_DTR2, TIM1_BASE + TIM_DTR2_OFFSET
.equ TIM1_ECR, TIM1_BASE + TIM_ECR_OFFSET
.equ TIM1_TISEL, TIM1_BASE + TIM_TISEL_OFFSET
.equ TIM1_AF1, TIM1_BASE + TIM_AF1_OFFSET
.equ TIM1_AF2, TIM1_BASE + TIM_AF2_OFFSET
.equ TIM1_DCR, TIM1_BASE + TIM_DCR_OFFSET
.equ TIM1_DMAR, TIM1_BASE + TIM_DMAR_OFFSET
#--- Advanced Control Timer - TIM8 / address space: 0x4001_3400 .. 0x4001_37FF
.equ TIM8_BASE, APB2_BASE + 0x3400
.equ TIM8_CR1, TIM8_BASE + TIM_CR1_OFFSET
.equ TIM8_CR2, TIM8_BASE + TIM_CR2_OFFSET
.equ TIM8_SMCR, TIM8_BASE + TIM_SMCR_OFFSET
.equ TIM8_DIER, TIM8_BASE + TIM_DIER_OFFSET
.equ TIM8_SR, TIM8_BASE + TIM_SR_OFFSET
.equ TIM8_EGR, TIM8_BASE + TIM_EGR_OFFSET
.equ TIM8_CCMR1, TIM8_BASE + TIM_CCMR1_OFFSET
.equ TIM8_CCMR2, TIM8_BASE + TIM_CCMR2_OFFSET
.equ TIM8_CCER, TIM8_BASE + TIM_CCER_OFFSET
.equ TIM8_CNT, TIM8_BASE + TIM_CNT_OFFSET
.equ TIM8_PSC, TIM8_BASE + TIM_PSC_OFFSET
.equ TIM8_ARR, TIM8_BASE + TIM_ARR_OFFSET
.equ TIM8_RCR, TIM8_BASE + TIM_RCR_OFFSET
.equ TIM8_CCR1, TIM8_BASE + TIM_CCR1_OFFSET
.equ TIM8_CCR2, TIM8_BASE + TIM_CCR2_OFFSET
.equ TIM8_CCR3, TIM8_BASE + TIM_CCR3_OFFSET
.equ TIM8_CCR4, TIM8_BASE + TIM_CCR4_OFFSET
.equ TIM8_BDTR, TIM8_BASE + TIM_BDTR_OFFSET
.equ TIM8_CCR5, TIM8_BASE + TIM_CCR5_OFFSET
.equ TIM8_CCR6, TIM8_BASE + TIM_CCR6_OFFSET
.equ TIM8_CCMR3, TIM8_BASE + TIM_CCMR3_OFFSET
.equ TIM8_DTR2, TIM8_BASE + TIM_DTR2_OFFSET
.equ TIM8_ECR, TIM8_BASE + TIM_ECR_OFFSET
.equ TIM8_TISEL, TIM8_BASE + TIM_TISEL_OFFSET
.equ TIM8_AF1, TIM8_BASE + TIM_AF1_OFFSET
.equ TIM8_AF2, TIM8_BASE + TIM_AF2_OFFSET
.equ TIM8_DCR, TIM8_BASE + TIM_DCR_OFFSET
.equ TIM8_DMAR, TIM8_BASE + TIM_DMAR_OFFSET
#--- Advanced Control Timer - TIM20 / address space: 0x4001_5000 .. 0x4001_53FF
.equ TIM20_BASE, APB2_BASE + 0x5000
.equ TIM20_CR1, TIM20_BASE + TIM_CR1_OFFSET
.equ TIM20_CR2, TIM20_BASE + TIM_CR2_OFFSET
.equ TIM20_SMCR, TIM20_BASE + TIM_SMCR_OFFSET
.equ TIM20_DIER, TIM20_BASE + TIM_DIER_OFFSET
.equ TIM20_SR, TIM20_BASE + TIM_SR_OFFSET
.equ TIM20_EGR, TIM20_BASE + TIM_EGR_OFFSET
.equ TIM20_CCMR1, TIM20_BASE + TIM_CCMR1_OFFSET
.equ TIM20_CCMR2, TIM20_BASE + TIM_CCMR2_OFFSET
.equ TIM20_CCER, TIM20_BASE + TIM_CCER_OFFSET
.equ TIM20_CNT, TIM20_BASE + TIM_CNT_OFFSET
.equ TIM20_PSC, TIM20_BASE + TIM_PSC_OFFSET
.equ TIM20_ARR, TIM20_BASE + TIM_ARR_OFFSET
.equ TIM20_RCR, TIM20_BASE + TIM_RCR_OFFSET
.equ TIM20_CCR1, TIM20_BASE + TIM_CCR1_OFFSET
.equ TIM20_CCR2, TIM20_BASE + TIM_CCR2_OFFSET
.equ TIM20_CCR3, TIM20_BASE + TIM_CCR3_OFFSET
.equ TIM20_CCR4, TIM20_BASE + TIM_CCR4_OFFSET
.equ TIM20_BDTR, TIM20_BASE + TIM_BDTR_OFFSET
.equ TIM20_CCR5, TIM20_BASE + TIM_CCR5_OFFSET
.equ TIM20_CCR6, TIM20_BASE + TIM_CCR6_OFFSET
.equ TIM20_CCMR3, TIM20_BASE + TIM_CCMR3_OFFSET
.equ TIM20_DTR2, TIM20_BASE + TIM_DTR2_OFFSET
.equ TIM20_ECR, TIM20_BASE + TIM_ECR_OFFSET
.equ TIM20_TISEL, TIM20_BASE + TIM_TISEL_OFFSET
.equ TIM20_AF1, TIM20_BASE + TIM_AF1_OFFSET
.equ TIM20_AF2, TIM20_BASE + TIM_AF2_OFFSET
.equ TIM20_DCR, TIM20_BASE + TIM_DCR_OFFSET
.equ TIM20_DMAR, TIM20_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM15 / address space: 0x4001_4000 .. 0x4001_43FF
.equ TIM15_BASE, APB2_BASE + 0x4000
.equ TIM15_CR1, TIM15_BASE + TIM_CR1_OFFSET
.equ TIM15_CR2, TIM15_BASE + TIM_CR2_OFFSET
.equ TIM15_SMCR, TIM15_BASE + TIM_SMCR_OFFSET
.equ TIM15_DIER, TIM15_BASE + TIM_DIER_OFFSET
.equ TIM15_SR, TIM15_BASE + TIM_SR_OFFSET
.equ TIM15_EGR, TIM15_BASE + TIM_EGR_OFFSET
.equ TIM15_CCMR1, TIM15_BASE + TIM_CCMR1_OFFSET
.equ TIM15_CCER, TIM15_BASE + TIM_CCER_OFFSET
.equ TIM15_CNT, TIM15_BASE + TIM_CNT_OFFSET
.equ TIM15_PSC, TIM15_BASE + TIM_PSC_OFFSET
.equ TIM15_ARR, TIM15_BASE + TIM_ARR_OFFSET
.equ TIM15_RCR, TIM15_BASE + TIM_RCR_OFFSET
.equ TIM15_CCR1, TIM15_BASE + TIM_CCR1_OFFSET
.equ TIM15_CCR2, TIM15_BASE + TIM_CCR2_OFFSET
.equ TIM15_BDTR, TIM15_BASE + TIM_BDTR_OFFSET
.equ TIM15_DTR2, TIM15_BASE + TIM_DTR2_OFFSET
.equ TIM15_TISEL, TIM15_BASE + TIM_TISEL_OFFSET
.equ TIM15_AF1, TIM15_BASE + TIM_AF1_OFFSET
.equ TIM15_AF2, TIM15_BASE + TIM_AF2_OFFSET
.equ TIM15_DCR, TIM15_BASE + TIM_DCR_OFFSET
.equ TIM15_DMAR, TIM15_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM16 / address space: 0x4001_4400 .. 0x4001_47FF
.equ TIM16_BASE, APB2_BASE + 0x4400
.equ TIM16_CR1, TIM16_BASE + TIM_CR1_OFFSET
.equ TIM16_CR2, TIM16_BASE + TIM_CR2_OFFSET
.equ TIM16_DIER, TIM16_BASE + TIM_DIER_OFFSET
.equ TIM16_SR, TIM16_BASE + TIM_SR_OFFSET
.equ TIM16_EGR, TIM16_BASE + TIM_EGR_OFFSET
.equ TIM16_CCMR1, TIM16_BASE + TIM_CCMR1_OFFSET
.equ TIM16_CCER, TIM16_BASE + TIM_CCER_OFFSET
.equ TIM16_CNT, TIM16_BASE + TIM_CNT_OFFSET
.equ TIM16_PSC, TIM16_BASE + TIM_PSC_OFFSET
.equ TIM16_ARR, TIM16_BASE + TIM_ARR_OFFSET
.equ TIM16_RCR, TIM16_BASE + TIM_RCR_OFFSET
.equ TIM16_CCR1, TIM16_BASE + TIM_CCR1_OFFSET
.equ TIM16_BDTR, TIM16_BASE + TIM_BDTR_OFFSET
.equ TIM16_DTR2, TIM16_BASE + TIM_DTR2_OFFSET
.equ TIM16_TISEL, TIM16_BASE + TIM_TISEL_OFFSET
.equ TIM16_AF1, TIM16_BASE + TIM_AF1_OFFSET
.equ TIM16_AF2, TIM16_BASE + TIM_AF2_OFFSET
.equ TIM16_OR1, TIM16_BASE + TIM_OR1_OFFSET
.equ TIM16_DCR, TIM16_BASE + TIM_DCR_OFFSET
.equ TIM16_DMAR, TIM16_BASE + TIM_DMAR_OFFSET
#--- Genral Purpose Timer - TIM17 / address space: 0x4001_4800 .. 0x4001_4BFF
.equ TIM17_BASE, APB2_BASE + 0x4800
.equ TIM17_CR1, TIM17_BASE + TIM_CR1_OFFSET
.equ TIM17_CR2, TIM17_BASE + TIM_CR2_OFFSET
.equ TIM17_DIER, TIM17_BASE + TIM_DIER_OFFSET
.equ TIM17_SR, TIM17_BASE + TIM_SR_OFFSET
.equ TIM17_EGR, TIM17_BASE + TIM_EGR_OFFSET
.equ TIM17_CCMR1, TIM17_BASE + TIM_CCMR1_OFFSET
.equ TIM17_CCER, TIM17_BASE + TIM_CCER_OFFSET
.equ TIM17_CNT, TIM17_BASE + TIM_CNT_OFFSET
.equ TIM17_PSC, TIM17_BASE + TIM_PSC_OFFSET
.equ TIM17_ARR, TIM17_BASE + TIM_ARR_OFFSET
.equ TIM17_RCR, TIM17_BASE + TIM_RCR_OFFSET
.equ TIM17_CCR1, TIM17_BASE + TIM_CCR1_OFFSET
.equ TIM17_BDTR, TIM17_BASE + TIM_BDTR_OFFSET
.equ TIM17_DTR2, TIM17_BASE + TIM_DTR2_OFFSET
.equ TIM17_TISEL, TIM17_BASE + TIM_TISEL_OFFSET
.equ TIM17_AF1, TIM17_BASE + TIM_AF1_OFFSET
.equ TIM17_AF2, TIM17_BASE + TIM_AF2_OFFSET
.equ TIM17_OR1, TIM17_BASE + TIM_OR1_OFFSET
.equ TIM17_DCR, TIM17_BASE + TIM_DCR_OFFSET
.equ TIM17_DMAR, TIM17_BASE + TIM_DMAR_OFFSET
#----------------------------------------------------------------------------------------#
# Reset and Clock Control
#
# address space: 0x4002_1000 .. 0x4002_13FF
#----------------------------------------------------------------------------------------#
.equ RCC_BASE, AHB1_BASE + 0x1000
.equ RCC_CR, RCC_BASE + 0x00
.equ RCC_ICSCR, RCC_BASE + 0x04
.equ RCC_CFGR, RCC_BASE + 0x08
.equ RCC_PLLCFGR, RCC_BASE + 0x0C
.equ RCC_CIER, RCC_BASE + 0x18
.equ RCC_CIFR, RCC_BASE + 0x1C
.equ RCC_CICR, RCC_BASE + 0x20
.equ RCC_AHB1RSTR, RCC_BASE + 0x28
.equ RCC_AHB2RSTR, RCC_BASE + 0x2C
.equ RCC_AHB3RSTR, RCC_BASE + 0x30
.equ RCC_APB1RSTR1, RCC_BASE + 0x38
.equ RCC_APB1RSTR2, RCC_BASE + 0x3C
.equ RCC_APB2RSTR, RCC_BASE + 0x40
.equ RCC_AHB1ENR, RCC_BASE + 0x48
.equ RCC_AHB2ENR, RCC_BASE + 0x4C
.equ RCC_AHB3ENR, RCC_BASE + 0x50
.equ RCC_APB1ENR1, RCC_BASE + 0x58
.equ RCC_APB1ENR2, RCC_BASE + 0x5C
.equ RCC_APB2ENR, RCC_BASE + 0x60
.equ RCC_AHB1SMENR, RCC_BASE + 0x68
.equ RCC_AHB2SMENR, RCC_BASE + 0x6C
.equ RCC_AHB3SMENR, RCC_BASE + 0x70
.equ RCC_APB1SMENR1, RCC_BASE + 0x78
.equ RCC_APB1SMENR2, RCC_BASE + 0x7C
.equ RCC_APB2SMENR, RCC_BASE + 0x80
.equ RCC_CCIPR, RCC_BASE + 0x88
.equ RCC_BDCR, RCC_BASE + 0x90
.equ RCC_CSR, RCC_BASE + 0x94
.equ RCC_CRRCR, RCC_BASE + 0x98
.equ RCC_CCIPR2, RCC_BASE + 0x9C
#----------------------------------------------------------------------------------------#
# GPIO module common configuration
#
# address space: 0x4800_0000 .. 0x4800_1FFF
#----------------------------------------------------------------------------------------#
.equ GPIO_BASE, AHB2_BASE
.equ GPIO_MODER_OFFSET, 0x00
.equ GPIO_OTYPER_OFFSET, 0x04
.equ GPIO_OSPEEDR_OFFSET, 0x08
.equ GPIO_PUPDR_OFFSET, 0x0C
.equ GPIO_IDR_OFFSET, 0x10
.equ GPIO_ODR_OFFSET, 0x14
.equ GPIO_BSRR_OFFSET, 0x18
.equ GPIO_LCKR_OFFSET, 0x1C
.equ GPIO_AFRL_OFFSET, 0x20
.equ GPIO_AFRH_OFFSET, 0x24
.equ GPIO_BRR_OFFSET, 0x28
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
#--- Port A GPIO configuration / address space: 0x4800_0000 .. 0x4800_03FF
.equ GPIOA_BASE, GPIO_BASE
.equ GPIOA_MODER, GPIOA_BASE + GPIO_MODER_OFFSET
.equ GPIOA_OTYPER, GPIOA_BASE + GPIO_OTYPER_OFFSET
.equ GPIOA_OSPEEDR, GPIOA_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOA_PUPDR, GPIOA_BASE + GPIO_PUPDR_OFFSET
.equ GPIOA_IDR, GPIOA_BASE + GPIO_IDR_OFFSET
.equ GPIOA_ODR, GPIOA_BASE + GPIO_ODR_OFFSET
.equ GPIOA_BSRR, GPIOA_BASE + GPIO_BSRR_OFFSET
.equ GPIOA_LCKR, GPIOA_BASE + GPIO_LCKR_OFFSET
.equ GPIOA_AFRL, GPIOA_BASE + GPIO_AFRL_OFFSET
.equ GPIOA_AFRH, GPIOA_BASE + GPIO_AFRH_OFFSET
.equ GPIOA_BRR, GPIOA_BASE + GPIO_BRR_OFFSET
#--- Port B GPIO configuration / address space: 0x4800_0400 .. 0x4800_07FF
.equ GPIOB_BASE, GPIO_BASE + 0x400
.equ GPIOB_MODER, GPIOB_BASE + GPIO_MODER_OFFSET
.equ GPIOB_OTYPER, GPIOB_BASE + GPIO_OTYPER_OFFSET
.equ GPIOB_OSPEEDR, GPIOB_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOB_PUPDR, GPIOB_BASE + GPIO_PUPDR_OFFSET
.equ GPIOB_IDR, GPIOB_BASE + GPIO_IDR_OFFSET
.equ GPIOB_ODR, GPIOB_BASE + GPIO_ODR_OFFSET
.equ GPIOB_BSRR, GPIOB_BASE + GPIO_BSRR_OFFSET
.equ GPIOB_LCKR, GPIOB_BASE + GPIO_LCKR_OFFSET
.equ GPIOB_AFRL, GPIOB_BASE + GPIO_AFRL_OFFSET
.equ GPIOB_AFRH, GPIOB_BASE + GPIO_AFRH_OFFSET
.equ GPIOB_BRR, GPIOB_BASE + GPIO_BRR_OFFSET
#--- Port C GPIO configuration / address space: 0x4800_0800 .. 0x4800_0BFF
.equ GPIOC_BASE, GPIO_BASE + 0x800
.equ GPIOC_MODER, GPIOC_BASE + GPIO_MODER_OFFSET
.equ GPIOC_OTYPER, GPIOC_BASE + GPIO_OTYPER_OFFSET
.equ GPIOC_OSPEEDR, GPIOC_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOC_PUPDR, GPIOC_BASE + GPIO_PUPDR_OFFSET
.equ GPIOC_IDR, GPIOC_BASE + GPIO_IDR_OFFSET
.equ GPIOC_ODR, GPIOC_BASE + GPIO_ODR_OFFSET
.equ GPIOC_BSRR, GPIOC_BASE + GPIO_BSRR_OFFSET
.equ GPIOC_LCKR, GPIOC_BASE + GPIO_LCKR_OFFSET
.equ GPIOC_AFRL, GPIOC_BASE + GPIO_AFRL_OFFSET
.equ GPIOC_AFRH, GPIOC_BASE + GPIO_AFRH_OFFSET
.equ GPIOC_BRR, GPIOC_BASE + GPIO_BRR_OFFSET
#--- Port D GPIO configuration / address space: 0x4800_0C00 .. 0x4800_0FFF
.equ GPIOD_BASE, GPIO_BASE + 0xC00
.equ GPIOD_MODER, GPIOD_BASE + GPIO_MODER_OFFSET
.equ GPIOD_OTYPER, GPIOD_BASE + GPIO_OTYPER_OFFSET
.equ GPIOD_OSPEEDR, GPIOD_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOD_PUPDR, GPIOD_BASE + GPIO_PUPDR_OFFSET
.equ GPIOD_IDR, GPIOD_BASE + GPIO_IDR_OFFSET
.equ GPIOD_ODR, GPIOD_BASE + GPIO_ODR_OFFSET
.equ GPIOD_BSRR, GPIOD_BASE + GPIO_BSRR_OFFSET
.equ GPIOD_LCKR, GPIOD_BASE + GPIO_LCKR_OFFSET
.equ GPIOD_AFRL, GPIOD_BASE + GPIO_AFRL_OFFSET
.equ GPIOD_AFRH, GPIOD_BASE + GPIO_AFRH_OFFSET
.equ GPIOD_BRR, GPIOD_BASE + GPIO_BRR_OFFSET
#--- Port E GPIO configuration / address space: 0x4800_1000 .. 0x4800_13FF
.equ GPIOE_BASE, GPIO_BASE + 0x1000
.equ GPIOE_MODER, GPIOE_BASE + GPIO_MODER_OFFSET
.equ GPIOE_OTYPER, GPIOE_BASE + GPIO_OTYPER_OFFSET
.equ GPIOE_OSPEEDR, GPIOE_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOE_PUPDR, GPIOE_BASE + GPIO_PUPDR_OFFSET
.equ GPIOE_IDR, GPIOE_BASE + GPIO_IDR_OFFSET
.equ GPIOE_ODR, GPIOE_BASE + GPIO_ODR_OFFSET
.equ GPIOE_BSRR, GPIOE_BASE + GPIO_BSRR_OFFSET
.equ GPIOE_LCKR, GPIOE_BASE + GPIO_LCKR_OFFSET
.equ GPIOE_AFRL, GPIOE_BASE + GPIO_AFRL_OFFSET
.equ GPIOE_AFRH, GPIOE_BASE + GPIO_AFRH_OFFSET
.equ GPIOE_BRR, GPIOE_BASE + GPIO_BRR_OFFSET
#--- Port F GPIO configuration / address space: 0x4800_1400 .. 0x4800_17FF
.equ GPIOF_BASE, GPIO_BASE + 0x1400
.equ GPIOF_MODER, GPIOF_BASE + GPIO_MODER_OFFSET
.equ GPIOF_OTYPER, GPIOF_BASE + GPIO_OTYPER_OFFSET
.equ GPIOF_OSPEEDR, GPIOF_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOF_PUPDR, GPIOF_BASE + GPIO_PUPDR_OFFSET
.equ GPIOF_IDR, GPIOF_BASE + GPIO_IDR_OFFSET
.equ GPIOF_ODR, GPIOF_BASE + GPIO_ODR_OFFSET
.equ GPIOF_BSRR, GPIOF_BASE + GPIO_BSRR_OFFSET
.equ GPIOF_LCKR, GPIOF_BASE + GPIO_LCKR_OFFSET
.equ GPIOF_AFRL, GPIOF_BASE + GPIO_AFRL_OFFSET
.equ GPIOF_AFRH, GPIOF_BASE + GPIO_AFRH_OFFSET
.equ GPIOF_BRR, GPIOF_BASE + GPIO_BRR_OFFSET
#--- Port G GPIO configuration / address space: 0x4800_1800 .. 0x4800_1BFF
.equ GPIOG_BASE, GPIO_BASE + 0x1800
.equ GPIOG_MODER, GPIOG_BASE + GPIO_MODER_OFFSET
.equ GPIOG_OTYPER, GPIOG_BASE + GPIO_OTYPER_OFFSET
.equ GPIOG_OSPEEDR, GPIOG_BASE + GPIO_OSPEEDR_OFFSET
.equ GPIOG_PUPDR, GPIOG_BASE + GPIO_PUPDR_OFFSET
.equ GPIOG_IDR, GPIOG_BASE + GPIO_IDR_OFFSET
.equ GPIOG_ODR, GPIOG_BASE + GPIO_ODR_OFFSET
.equ GPIOG_BSRR, GPIOG_BASE + GPIO_BSRR_OFFSET
.equ GPIOG_LCKR, GPIOG_BASE + GPIO_LCKR_OFFSET
.equ GPIOG_AFRL, GPIOG_BASE + GPIO_AFRL_OFFSET
.equ GPIOG_AFRH, GPIOG_BASE + GPIO_AFRH_OFFSET
.equ GPIOG_BRR, GPIOG_BASE + GPIO_BRR_OFFSET
#----------------------------------------------------------------------------------------#
# System Control Space
#
# address space: 0xE000_E000 .. 0xE000_EFFF
#----------------------------------------------------------------------------------------#
.equ SCS_BASE, PPB_BASE + 0xE000
#----------------------------------------------------------------------------------------#
# System Timer (SysTick)
#
# address space: 0xE000_E010 .. 0xE000_E01F
#----------------------------------------------------------------------------------------#
.equ STK_BASE, SCS_BASE + 10 // 0xE000_E010
.equ STK_CTRL, SCS_BASE + 0x00
.equ STK_LOAD, SCS_BASE + 0x04
.equ STK_VAL, SCS_BASE + 0x08
.equ STK_CALIB, SCS_BASE + 0x0C
#----------------------------------------------------------------------------------------#
# Nested Vector Interrupt Controller
#
# address space: 0xE000_E100 .. 0xE000_E4EF
#----------------------------------------------------------------------------------------#
.equ NVIC_BASE, SCS_BASE + 0x100 // 0xE000_E100
.equ NVIC_ISER0, NVIC_BASE + 0x00
.equ NVIC_ISER1, NVIC_BASE + 0x04
.equ NVIC_ISER2, NVIC_BASE + 0x08
.equ NVIC_ISER3, NVIC_BASE + 0x0C
.equ NVIC_ICER0, NVIC_BASE + 0x80
.equ NVIC_ICER1, NVIC_BASE + 0x84
.equ NVIC_ICER2, NVIC_BASE + 0x88
.equ NVIC_ICER3, NVIC_BASE + 0x8C
.equ NVIC_ISPR0, NVIC_BASE + 0x100
.equ NVIC_ISPR1, NVIC_BASE + 0x104
.equ NVIC_ISPR2, NVIC_BASE + 0x108
.equ NVIC_ISPR3, NVIC_BASE + 0x10C
.equ NVIC_ICPR0, NVIC_BASE + 0x180
.equ NVIC_ICPR1, NVIC_BASE + 0x184
.equ NVIC_ICPR2, NVIC_BASE + 0x188
.equ NVIC_ICPR3, NVIC_BASE + 0x18C
.equ NVIC_IABR0, NVIC_BASE + 0x200
.equ NVIC_IABR1, NVIC_BASE + 0x204
.equ NVIC_IABR2, NVIC_BASE + 0x208
.equ NVIC_IABR3, NVIC_BASE + 0x20C
.equ NVIC_IPR0, NVIC_BASE + 0x300
.equ NVIC_IPR1, NVIC_BASE + 0x304
.equ NVIC_IPR2, NVIC_BASE + 0x308
.equ NVIC_IPR3, NVIC_BASE + 0x30C
.equ NVIC_IPR4, NVIC_BASE + 0x310
.equ NVIC_IPR5, NVIC_BASE + 0x314
.equ NVIC_IPR6, NVIC_BASE + 0x318
.equ NVIC_IPR7, NVIC_BASE + 0x31C
.equ NVIC_IPR8, NVIC_BASE + 0x320
.equ NVIC_IPR9, NVIC_BASE + 0x324
.equ NVIC_IPR10, NVIC_BASE + 0x328
.equ NVIC_IPR11, NVIC_BASE + 0x32C
.equ NVIC_IPR12, NVIC_BASE + 0x330
.equ NVIC_IPR13, NVIC_BASE + 0x334
.equ NVIC_IPR14, NVIC_BASE + 0x338
.equ NVIC_IPR15, NVIC_BASE + 0x33C
.equ NVIC_IPR16, NVIC_BASE + 0x340
.equ NVIC_IPR17, NVIC_BASE + 0x344
.equ NVIC_IPR18, NVIC_BASE + 0x348
.equ NVIC_IPR19, NVIC_BASE + 0x34C
.equ NVIC_IPR20, NVIC_BASE + 0x350
.equ NVIC_IPR21, NVIC_BASE + 0x354
.equ NVIC_IPR22, NVIC_BASE + 0x358
.equ NVIC_IPR23, NVIC_BASE + 0x35C
.equ NVIC_IPR24, NVIC_BASE + 0x360
.equ NVIC_IPR25, NVIC_BASE + 0x364
.equ STIR, NVIC_BASE + 0xE00
#----------------------------------------------------------------------------------------#
# MCU Debug Component
#
# address space: 0xE004_2000 .. 0xE004_2013
#----------------------------------------------------------------------------------------#
.equ DBGMCU_BASE, PPB_BASE + 0x42000
.equ DBGMCU_IDCODE, DBGMCU_BASE + 0x00
.equ DBGMCU_CR, DBGMCU_BASE + 0x04
.equ DBGMCU_APB1FZR1, DBGMCU_BASE + 0x08
.equ DBGMCU_APB1FZR2, DBGMCU_BASE + 0x0C
.equ DBGMCU_APB2DZR, DBGMCU_BASE + 0x10
@@ -0,0 +1,233 @@
/* ***************************************************************************************
# Project: task3 - C: Timer & Interrupts
# File: task3.s
#
# Language: C
#
# Hardware: STefi Light v1.1
# Processor: STM32G431KBT6U
#
# Author: Manuel Lederhofer
# Datum: 31.10.2014
#
# Version: 6.1
# History:
# 31.10.2014 ML create file
# 27.09.2018 ML edit comments, extend vector table
# 18.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
# 27.02.2019 ML move section of exception handlers to bottom of file,
# change ASM pseudo commands from .space to .org
# 25.09.2019 ML minor changes for a better code and comment understanding
# 04.09.2020 HL port from STM32L476RG to STM32F411xE
# 21.09.2020 ML tidy up, comments and formatting
# 29.09.2021 ML port from STM32F411xE to STM32F042K6T6
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
# 17.02.2025 TK move ASM:Interrupts to task2, replace with C:Timer & Interrupts
# 24.06.2025 TK remove "... put your code here ...", remove Systick
#
# Status: working
#
# Description:
# See the description and requirements of the requested application
# in the lab exercise guide.
#
# Notes:
# - MCU speed at startup is 16 MHz
#
# ToDo:
# - Change the example code to match the description and requirements
# of the requested application in the lab exercise guide.
#
#
# Measurements:
# Timers used :
# Current with WFI :
# Current without WFI :
#
************************************************************************************** */
/* ------------------------------------ INCLUDES -------------------------------------- */
#include "stm32g431xx.h"
#include "STefi-Light.h"
#define ROT_AN (GPIOA->BSRR = (1UL<<16))
#define ROT_AUS (GPIOA->BSRR = (1UL<<0))
#define GELB_AN (GPIOA->BSRR = (1UL<<17))
#define GELB_AUS (GPIOA->BSRR = (1UL<<1))
#define GRÜN_AN (GPIOA->BSRR = (1UL<<18))
#define GRÜN_AUS (GPIOA->BSRR = (1UL<<2))
#define BLAU_AN (GPIOA->BSRR = (1UL<<19))
#define BLAU_AUS (GPIOA->BSRR = (1UL<<3))
/* ------------------------------------ DEFINES --------------------------------------- */
/* ------------------------------------ TYPE DEFINITIONS ------------------------------ */
/* ------------------------------------ GLOBAL VARIABLES ------------------------------ */
volatile uint32_t timer_ticks = 0;
volatile uint8_t ampel_aktiv = 0;
volatile uint32_t lbp = 0;
/* ------------------------------------ PRIVATE VARIABLES ----------------------------- */
/* ------------------------------------ PROTOTYPES ------------------------------------ */
static void GPIO_init(void);
void Timer_init(void);
void EXTI_init(void);
/* ------------------------------------ M A I N --------------------------------------- */
int main(void)
{
/* --- initialization --- */
__disable_irq(); // disable interrupts globally
GPIO_init();
Timer_init();
EXTI_init();
__enable_irq(); // enable interrupts globally
lbp = 0;
GRÜN_AN;
ROT_AUS;
GELB_AUS;
BLAU_AUS;
/* --- one time tasks --- */
/* --- infinite processing loop --- */
while (1){
__WFI();
}
return 1;
}
/* ------------------------------------ GLOBAL FUNCTIONS ------------------------------ */
void EXTI_IRQHandler(void){
if(EXTI->PR1 & EXTI_PR1_PIF0){
EXTI->PR1 = EXTI_PR1_PIF0;
if((timer_ticks - lbp)> 200){
lbp = timer_ticks;
if(ampel_aktiv == 0){
timer_ticks = 0;
ampel_aktiv=1;
}
}
}
TIM6_DAC_IRQHandler();
}
void TIM6_DAC_IRQHandler(void){
if(TIM6->SR & (1<<0)){
TIM6->SR &= ~(1U<<0);
timer_ticks++;
if(ampel_aktiv == 1){
switch(timer_ticks){
case 10000:
GRÜN_AUS;
GELB_AN;
break;
case 11000:
GELB_AUS;
ROT_AN;
break;
case 12000:
break;
case 27000:
BLAU_AUS;
GELB_AN;
break;
case 28000:
ROT_AUS;
GELB_AUS;
GRÜN_AN;
ampel_aktiv = 0;
break;
}
if(timer_ticks >=12000 && timer_ticks < 27000){
if(timer_ticks % 1000 == 0){
BLAU_AN;
}
else if(timer_ticks % 1000 == 500){
BLAU_AUS;
}
}
}
}
}
/* ------------------------------------ PRIVATE FUNCTIONS ----------------------------- */
/* ------------------------------------------------------------------------------------ *\
* method: static void GPIO_init(void)
*
* Initializes GPIOs on STefi Light for pins with peripherals attached.
*
* requires: - nothing -
* parameters: - none -
* returns: - nothing -
\* ------------------------------------------------------------------------------------ */
static void GPIO_init(void)
{
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN | RCC_AHB2ENR_GPIOBEN;
// LEDs PA0-PA3 Output (01)
GPIOA->MODER &= ~(0xFF);
GPIOA->MODER |= 0x55;
// Initial alle aus (Low-Active: 1 = AUS)
GPIOA->ODR |= 0x0F;
// S0 (PB0) Input (00) mit Pull-Up (01)
GPIOB->MODER &= ~(3 << 0);
GPIOB->PUPDR |= (1 << 0);
}
void Timer_init(void) {
RCC->APB1ENR1 |= RCC_APB1ENR1_TIM6EN;
// 16MHz Systemtakt. 16MHz / 16 (PSC+1) = 1MHz.
// Bei 1MHz sind 1000 Ticks (ARR+1) exakt 1 Millisekunde.
TIM6->PSC = 15;
TIM6->ARR = 999;
TIM6->DIER |=(1<<0);
NVIC_EnableIRQ(TIM6_DAC_IRQn);
TIM6->CR1 |= (1<<0);
}
void EXTI_init(void) {
RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
SYSCFG->EXTICR[0] = (SYSCFG->EXTICR[0] & ~(0xF)) | 0x1;
EXTI->IMR1 |= (1<<0);
EXTI->FTSR1 |= (1<<0);
NVIC_EnableIRQ(EXTI0_IRQn);
}
/* ------------------------------------------------------------------------------------ *\
* method: static void SysTick_init(void)
*
* At system startup SysTick runs with 1 MHz down to 0.
*
* Register names differ in datasheets.
* ST / CMSIS: ARM:
* - SysTick->CALIB - STK_CALIB
* - SysTick->CTRL - STK_CSR
* - SysTick->LOAD - STK_RVR
* - SysTick->VAL - STK_CVR
*
* requires: - nothing -
* parameters: - none -
* returns: - nothing -
\* ------------------------------------------------------------------------------------ */
/* ************************************ E O F ***************************************** */
@@ -1,21 +1,12 @@
StringVariablePreferencePage=184,154,153,122, StringVariablePreferencePage=184,154,153,122,
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.debug.ui.MemoryHistoryKnownColor=235,235,235
org.eclipse.debug.ui.MemoryHistoryUnknownColor=170,175,185
org.eclipse.debug.ui.MemoryView.orientation=0 org.eclipse.debug.ui.MemoryView.orientation=0
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND=150,80,115
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n
org.eclipse.debug.ui.changedDebugElement=255,128,128
org.eclipse.debug.ui.consoleBackground=53,53,53
org.eclipse.debug.ui.errorColor=225,30,70
org.eclipse.debug.ui.inColor=140,175,210
org.eclipse.debug.ui.outColor=235,235,235
org.eclipse.debug.ui.save_dirty_editors_before_launch=always org.eclipse.debug.ui.save_dirty_editors_before_launch=always
org.eclipse.debug.ui.switch_perspective_on_suspend=always org.eclipse.debug.ui.switch_perspective_on_suspend=always
org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<viewBindings>\n <view id\="org.eclipse.debug.ui.ExpressionView">\n <perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="opened"/>\n </view>\n</viewBindings>\n org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<viewBindings>\n <view id\="org.eclipse.debug.ui.ExpressionView">\n <perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="opened"/>\n </view>\n</viewBindings>\n
overriddenByCSS=,org.eclipse.debug.ui.MemoryHistoryKnownColor,org.eclipse.debug.ui.MemoryHistoryUnknownColor,org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,org.eclipse.debug.ui.changedDebugElement,org.eclipse.debug.ui.consoleBackground,org.eclipse.debug.ui.errorColor,org.eclipse.debug.ui.inColor,org.eclipse.debug.ui.outColor,
pref_state_memento.org.eclipse.debug.ui.BreakpointView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.BreakpointView">\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="org.eclipse.debug.ui.check"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento> pref_state_memento.org.eclipse.debug.ui.BreakpointView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.BreakpointView">\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="org.eclipse.debug.ui.check"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/> pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=<?xml version\="1.0" encoding\="UTF-8"?>\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/>
pref_state_memento.org.eclipse.debug.ui.ExpressionView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.ExpressionView">\n<INTEGER IMemento.internal.id\="initialChildCountLimitForCollections" INTEGER\="100"/>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento> pref_state_memento.org.eclipse.debug.ui.ExpressionView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.ExpressionView">\n<INTEGER IMemento.internal.id\="initialChildCountLimitForCollections" INTEGER\="100"/>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
pref_state_memento.org.eclipse.debug.ui.ModuleView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684"/> pref_state_memento.org.eclipse.debug.ui.ModuleView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684"/>
pref_state_memento.org.eclipse.debug.ui.RegisterView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__DESCRIPTION" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__NAME" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__VALUE" SIZE\="222"/>\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.RegisterView">\n<STRING IMemento.internal.id\="CurrentNumericStyle" STRING\="HEX.Format"/>\n<PERSISTABLE IMemento.internal.id\="org.eclipse.cdt.dsf.ui.elementFormatPersistable" PERSISTABLE\="org.eclipse.cdt.dsf.ui.simpleMapPersistableFactory">\n<type>java.lang.String</type>\n</PERSISTABLE>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento> pref_state_memento.org.eclipse.debug.ui.RegisterView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__DESCRIPTION" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__NAME" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__VALUE" SIZE\="222"/>\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.RegisterView">\n<STRING IMemento.internal.id\="CurrentNumericStyle" STRING\="HEX.Format"/>\n<PERSISTABLE IMemento.internal.id\="org.eclipse.cdt.dsf.ui.elementFormatPersistable" PERSISTABLE\="org.eclipse.cdt.dsf.ui.simpleMapPersistableFactory">\n<type>java.lang.String</type>\n</PERSISTABLE>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
@@ -1,13 +1,14 @@
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64 LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/name=Local LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/name=Local
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32 LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32
configDescList=org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3 Debug,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2 configDescList=org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3 Debug
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:A3_Timer/activeLaunchMode=run org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:A3_Timer/activeLaunchMode=run
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchMode=run org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchMode=run
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchTarget=null\:--- org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchTarget=null\:---
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchMode=run org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchMode=run
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchTarget=null\:--- org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchTarget=null\:---
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3\ Debug/activeLaunchMode=debug
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchMode=run org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchMode=run
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchTarget=null\:--- org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchTarget=null\:---
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4/activeLaunchMode=run org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4/activeLaunchMode=run
@@ -1,6 +1,7 @@
EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
IMPORT_FILES_AND_FOLDERS_RELATIVE=true IMPORT_FILES_AND_FOLDERS_RELATIVE=true
IMPORT_FILES_AND_FOLDERS_TYPE=23,1 IMPORT_FILES_AND_FOLDERS_TYPE=23,1
eclipse.preferences.version=1 eclipse.preferences.version=1
platformState=1772304866322 platformState=1772304866334
quickStart=false quickStart=false
tipsAndTricks=true tipsAndTricks=true
@@ -6,17 +6,17 @@ PLUGINS_NOT_ACTIVATED_ON_STARTUP=
UIActivities.org.eclipse.cdt.debug.dsfgdbActivity=true UIActivities.org.eclipse.cdt.debug.dsfgdbActivity=true
eclipse.preferences.version=1 eclipse.preferences.version=1
editors=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors>\r\n<descriptor id\="org.eclipse.ui.browser.editorSupport" image\="$nl$/icons/obj16/internal_browser.png" internal\="false" label\="Web Browser" launcher\="org.eclipse.ui.internal.browser.BrowserLauncher" openMode\="4" open_in_place\="false" plugin\="org.eclipse.ui.browser"/>\r\n<descriptor class\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" image\="icons/dts_icon.png" internal\="true" label\="Device Tree Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mpu.linux.ide"/>\r\n<descriptor class\="com.st.stm32cube.common.mx.editor.CubeMxEditor" id\="com.st.stm32cube.common.mx.startCubeMx" image\="icons/MicroXplorer.png" internal\="true" label\="Device Configuration Tool" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.common.mx"/>\r\n<descriptor class\="com.st.stm32cube.ide.mcu.linker.ui.ui.editors.LDMultiEditorPart" id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor" image\="icons/ldscript_icon.png" internal\="true" label\="Linker Script Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mcu.linker"/>\r\n</editors> editors=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors>\r\n<descriptor id\="org.eclipse.ui.browser.editorSupport" image\="$nl$/icons/obj16/internal_browser.png" internal\="false" label\="Web Browser" launcher\="org.eclipse.ui.internal.browser.BrowserLauncher" openMode\="4" open_in_place\="false" plugin\="org.eclipse.ui.browser"/>\r\n<descriptor class\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" image\="icons/dts_icon.png" internal\="true" label\="Device Tree Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mpu.linux.ide"/>\r\n<descriptor class\="com.st.stm32cube.common.mx.editor.CubeMxEditor" id\="com.st.stm32cube.common.mx.startCubeMx" image\="icons/MicroXplorer.png" internal\="true" label\="Device Configuration Tool" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.common.mx"/>\r\n<descriptor class\="com.st.stm32cube.ide.mcu.linker.ui.ui.editors.LDMultiEditorPart" id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor" image\="icons/ldscript_icon.png" internal\="true" label\="Linker Script Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mcu.linker"/>\r\n</editors>
org.eclipse.cdt.debug.ui.ModulesDetailPaneFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.debug.ui.ModulesDetailPaneFont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.cdt.internal.ui.compare.AsmMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.internal.ui.compare.AsmMergeViewer=1|Consolas|14.0|0|GTK|1|;
org.eclipse.cdt.internal.ui.compare.CMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.internal.ui.compare.CMergeViewer=1|Consolas|14.0|0|GTK|1|;
org.eclipse.cdt.make.internal.ui.compare.MakefileMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.make.internal.ui.compare.MakefileMergeViewer=1|Consolas|14.0|0|GTK|1|;
org.eclipse.cdt.ui.buildconsole.ConsoleFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.ui.buildconsole.ConsoleFont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.cdt.ui.editors.textfont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.cdt.ui.editors.textfont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.compare.contentmergeviewer.TextMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.compare.contentmergeviewer.TextMergeViewer=1|Consolas|14.0|0|GTK|1|;
org.eclipse.debug.ui.DetailPaneFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.debug.ui.DetailPaneFont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.debug.ui.MemoryViewTableFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.debug.ui.MemoryViewTableFont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.debug.ui.consoleFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.debug.ui.consoleFont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.jface.textfont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.jface.textfont=1|Consolas|14.0|0|GTK|1|;
org.eclipse.ui.commands=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<org.eclipse.ui.commands>\r\n<keyBinding contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="CTRL+F11"/>\r\n<keyBinding commandId\="org.eclipse.ui.project.buildProject" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+B"/>\r\n<keyBinding commandId\="org.eclipse.debug.ui.commands.RunLast" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+R"/>\r\n</org.eclipse.ui.commands> org.eclipse.ui.commands=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<org.eclipse.ui.commands>\r\n<keyBinding contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="CTRL+F11"/>\r\n<keyBinding commandId\="org.eclipse.ui.project.buildProject" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+B"/>\r\n<keyBinding commandId\="org.eclipse.debug.ui.commands.RunLast" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+R"/>\r\n</org.eclipse.ui.commands>
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=41,41,41 org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=41,41,41
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=43,44,45 org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=43,44,45
@@ -29,4 +29,4 @@ org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=59,64,66
org.eclipse.ui.workbench.INACTIVE_TAB_TEXT_COLOR=187,187,187 org.eclipse.ui.workbench.INACTIVE_TAB_TEXT_COLOR=187,187,187
org.eclipse.ui.workbench.texteditor.blockSelectionModeFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; org.eclipse.ui.workbench.texteditor.blockSelectionModeFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
resourcetypes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors version\="3.1">\r\n<info extension\="shtml" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="dtsi" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="dts" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="htm" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="html" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="ioc" name\="*">\r\n<editor id\="com.st.stm32cube.common.mx.startCubeMx"/>\r\n</info>\r\n<info extension\="ld" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor"/>\r\n</info>\r\n</editors> resourcetypes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors version\="3.1">\r\n<info extension\="shtml" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="dtsi" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="dts" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="htm" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="html" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="ioc" name\="*">\r\n<editor id\="com.st.stm32cube.common.mx.startCubeMx"/>\r\n</info>\r\n<info extension\="ld" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor"/>\r\n</info>\r\n</editors>
terminal.views.view.font.definition=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas; terminal.views.view.font.definition=1|Consolas|14.0|0|GTK|1|;
@@ -2,14 +2,10 @@
<launchHistory> <launchHistory>
<launchGroup id="org.eclipse.debug.ui.launchGroup.debug"> <launchGroup id="org.eclipse.debug.ui.launchGroup.debug">
<mruHistory> <mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task2/task2.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task1/task1.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3 Debug.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3 Debug.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
</mruHistory> </mruHistory>
<favorites> <favorites>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task1/task1.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task2/task2.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3.launch&quot;/&gt;&#13;&#10;"/>
</favorites> </favorites>
@@ -24,14 +20,10 @@
</launchGroup> </launchGroup>
<launchGroup id="org.eclipse.debug.ui.launchGroup.run"> <launchGroup id="org.eclipse.debug.ui.launchGroup.run">
<mruHistory> <mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task2/task2.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task1/task1.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3 Debug.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3 Debug.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
</mruHistory> </mruHistory>
<favorites> <favorites>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task1/task1.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task2/task2.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task4/task4.launch&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3.launch&quot;/&gt;&#13;&#10;"/> <launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;false&quot; path=&quot;/task3/task3.launch&quot;/&gt;&#13;&#10;"/>
</favorites> </favorites>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<session version="1.0">
<refactoring comment="Delete resource &apos;task2/task2_tobi.s&apos;" deleteContents="false" description="Delete resource &apos;task2/task2_tobi.s&apos;" element1="/task2/task2_tobi.s" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1774360637158"/>
</session>
@@ -0,0 +1 @@
1774360637158 Delete resource 'task2/task2_tobi.s'
@@ -17,7 +17,7 @@
<section name="CleanDialogSettings"> <section name="CleanDialogSettings">
<item key="BUILD_NOW" value="false"/> <item key="BUILD_NOW" value="false"/>
<item key="BUILD_ALL" value="true"/> <item key="BUILD_ALL" value="true"/>
<item key="TOGGLE_SELECTED" value="false"/> <item key="TOGGLE_SELECTED" value="true"/>
<item key="DIALOG_WIDTH" value="731"/> <item key="DIALOG_WIDTH" value="731"/>
<item key="DIALOG_HEIGHT" value="569"/> <item key="DIALOG_HEIGHT" value="569"/>
<item key="DIALOG_FONT_NAME" value="1|Noto Sans|10.0|0|GTK|1|"/> <item key="DIALOG_FONT_NAME" value="1|Noto Sans|10.0|0|GTK|1|"/>
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench"> <section name="Workbench">
<section name="org.eclipse.ui.texteditor.FindReplaceDialog"> <section name="org.eclipse.ui.texteditor.FindReplaceDialog">
<item key="selection" value="r1"/> <item key="selection" value="RCC_AHB2ENR"/>
<item key="wrap" value="true"/> <item key="wrap" value="true"/>
<item key="casesensitive" value="false"/> <item key="casesensitive" value="false"/>
<item key="wholeword" value="false"/> <item key="wholeword" value="false"/>
<item key="incremental" value="false"/> <item key="incremental" value="false"/>
<item key="isRegEx" value="false"/> <item key="isRegEx" value="false"/>
<list key="findhistory"> <list key="findhistory">
<item value="RCC_AHB2ENR"/>
<item value="RCC"/>
<item value="r1"/> <item value="r1"/>
<item value="4f f0 90 43"/> <item value="4f f0 90 43"/>
<item value="4f f0 "/> <item value="4f f0 "/>
@@ -28,8 +30,8 @@
<section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds"> <section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds">
<item key="DIALOG_X_ORIGIN" value="1353"/> <item key="DIALOG_X_ORIGIN" value="1353"/>
<item key="DIALOG_Y_ORIGIN" value="470"/> <item key="DIALOG_Y_ORIGIN" value="470"/>
<item key="DIALOG_WIDTH" value="322"/> <item key="DIALOG_WIDTH" value="453"/>
<item key="DIALOG_HEIGHT" value="391"/> <item key="DIALOG_HEIGHT" value="494"/>
<item key="DIALOG_FONT_NAME" value="1|Segoe UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|0|0|Segoe UI"/> <item key="DIALOG_FONT_NAME" value="1|Noto Sans|10.0|0|GTK|1|"/>
</section> </section>
</section> </section>
+1 -1
View File
@@ -1,3 +1,3 @@
#Tue Mar 24 14:11:27 CET 2026 #Tue Apr 14 14:00:08 CEST 2026
org.eclipse.core.runtime=2 org.eclipse.core.runtime=2
org.eclipse.platform=4.30.0.v20231201-0110 org.eclipse.platform=4.30.0.v20231201-0110
View File
+1
View File
@@ -0,0 +1 @@
Src/sketch.o: ../Src/sketch.c
Binary file not shown.
View File
+4 -1
View File
@@ -5,14 +5,17 @@
# Add inputs and outputs from these tool invocations to the build variables # Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \ C_SRCS += \
../Src/sketch.c \
../Src/task1.c \ ../Src/task1.c \
../Src/task1_it.c ../Src/task1_it.c
OBJS += \ OBJS += \
./Src/sketch.o \
./Src/task1.o \ ./Src/task1.o \
./Src/task1_it.o ./Src/task1_it.o
C_DEPS += \ C_DEPS += \
./Src/sketch.d \
./Src/task1.d \ ./Src/task1.d \
./Src/task1_it.d ./Src/task1_it.d
@@ -24,7 +27,7 @@ Src/%.o Src/%.su Src/%.cyclo: ../Src/%.c Src/subdir.mk
clean: clean-Src clean: clean-Src
clean-Src: clean-Src:
-$(RM) ./Src/task1.cyclo ./Src/task1.d ./Src/task1.o ./Src/task1.su ./Src/task1_it.cyclo ./Src/task1_it.d ./Src/task1_it.o ./Src/task1_it.su -$(RM) ./Src/sketch.cyclo ./Src/sketch.d ./Src/sketch.o ./Src/sketch.su ./Src/task1.cyclo ./Src/task1.d ./Src/task1.o ./Src/task1.su ./Src/task1_it.cyclo ./Src/task1_it.d ./Src/task1_it.o ./Src/task1_it.su
.PHONY: clean-Src .PHONY: clean-Src
View File
+11
View File
@@ -0,0 +1,11 @@
Src/task1.o: ../Src/task1.c ../Inc/stm32g431xx.h ../Inc/core_cm4.h \
../Inc/cmsis_version.h ../Inc/cmsis_compiler.h ../Inc/cmsis_gcc.h \
../Inc/mpu_armv7.h ../Inc/system_stm32g4xx.h ../Inc/STefi-Light.h
../Inc/stm32g431xx.h:
../Inc/core_cm4.h:
../Inc/cmsis_version.h:
../Inc/cmsis_compiler.h:
../Inc/cmsis_gcc.h:
../Inc/mpu_armv7.h:
../Inc/system_stm32g4xx.h:
../Inc/STefi-Light.h:
View File
+2
View File
@@ -0,0 +1,2 @@
../Src/task1_it.c:56:6:ISR_error 1
../Src/task1_it.c:76:6:ISR_default 1
+11
View File
@@ -0,0 +1,11 @@
Src/task1_it.o: ../Src/task1_it.c ../Inc/stm32g431xx.h ../Inc/core_cm4.h \
../Inc/cmsis_version.h ../Inc/cmsis_compiler.h ../Inc/cmsis_gcc.h \
../Inc/mpu_armv7.h ../Inc/system_stm32g4xx.h ../Inc/STefi-Light.h
../Inc/stm32g431xx.h:
../Inc/core_cm4.h:
../Inc/cmsis_version.h:
../Inc/cmsis_compiler.h:
../Inc/cmsis_gcc.h:
../Inc/mpu_armv7.h:
../Inc/system_stm32g4xx.h:
../Inc/STefi-Light.h:
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
../Src/task1_it.c:56:6:ISR_error 4 static
../Src/task1_it.c:76:6:ISR_default 4 static
@@ -0,0 +1 @@
Startup/startup_stm32g431kbtx.o: ../Startup/startup_stm32g431kbtx.s
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
../Startup/syscalls.c:44:6:initialise_monitor_handles 1
../Startup/syscalls.c:48:5:_getpid 1
../Startup/syscalls.c:53:5:_kill 1
../Startup/syscalls.c:61:6:_exit 1
../Startup/syscalls.c:67:27:_read 2
../Startup/syscalls.c:80:27:_write 2
../Startup/syscalls.c:92:5:_close 1
../Startup/syscalls.c:99:5:_fstat 1
../Startup/syscalls.c:106:5:_isatty 1
../Startup/syscalls.c:112:5:_lseek 1
../Startup/syscalls.c:120:5:_open 1
../Startup/syscalls.c:128:5:_wait 1
../Startup/syscalls.c:135:5:_unlink 1
../Startup/syscalls.c:142:5:_times 1
../Startup/syscalls.c:148:5:_stat 1
../Startup/syscalls.c:155:5:_link 1
../Startup/syscalls.c:163:5:_fork 1
../Startup/syscalls.c:169:5:_execve 1
+1
View File
@@ -0,0 +1 @@
Startup/syscalls.o: ../Startup/syscalls.c
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
../Startup/syscalls.c:44:6:initialise_monitor_handles 4 static
../Startup/syscalls.c:48:5:_getpid 4 static
../Startup/syscalls.c:53:5:_kill 16 static
../Startup/syscalls.c:61:6:_exit 16 static
../Startup/syscalls.c:67:27:_read 32 static
../Startup/syscalls.c:80:27:_write 32 static
../Startup/syscalls.c:92:5:_close 16 static
../Startup/syscalls.c:99:5:_fstat 16 static
../Startup/syscalls.c:106:5:_isatty 16 static
../Startup/syscalls.c:112:5:_lseek 24 static
../Startup/syscalls.c:120:5:_open 12 static
../Startup/syscalls.c:128:5:_wait 16 static
../Startup/syscalls.c:135:5:_unlink 16 static
../Startup/syscalls.c:142:5:_times 16 static
../Startup/syscalls.c:148:5:_stat 16 static
../Startup/syscalls.c:155:5:_link 16 static
../Startup/syscalls.c:163:5:_fork 8 static
../Startup/syscalls.c:169:5:_execve 24 static
+1
View File
@@ -0,0 +1 @@
../Startup/sysmem.c:53:7:_sbrk 3
+1
View File
@@ -0,0 +1 @@
Startup/sysmem.o: ../Startup/sysmem.c
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../Startup/sysmem.c:53:7:_sbrk 32 static
+1
View File
@@ -1,3 +1,4 @@
"./Src/sketch.o"
"./Src/task1.o" "./Src/task1.o"
"./Src/task1_it.o" "./Src/task1_it.o"
"./Startup/startup_stm32g431kbtx.o" "./Startup/startup_stm32g431kbtx.o"
+1 -1
View File
@@ -166,7 +166,7 @@ GPIOA->MODER &= ~(3 << 0);
GPIOA->MODER |= (1 << 0); // set LED pin to output GPIOA->MODER |= (1 << 0); // set LED pin to output
/* LED1 als Output */ /* LED1 als Output */
GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so GPIOA->MODER &= ~(3 << 2); // Versuch: LED 1 Mode löschen :klappt so
GPIOA->MODER |= (1 << 2); // Versuch: LED 1 PA1 = output :klappt so GPIOA->MODER |= (1 << 2); // Versuch: LED 1 PA1 = output :klappt so
/* LED2 als Output */ /* LED2 als Output */
-1
View File
@@ -172,7 +172,6 @@
#--- Genral Purpose Timer - TIM3 / address space: 0x4000_0400 .. 0x4000_07FF #--- Genral Purpose Timer - TIM3 / address space: 0x4000_0400 .. 0x4000_07FF
.equ TIM3_BASE, APB1_BASE + 0x400 .equ TIM3_BASE, APB1_BASE + 0x400
.equ TIM3_CR1, TIM3_BASE + TIM_CR1_OFFSET .equ TIM3_CR1, TIM3_BASE + TIM_CR1_OFFSET
.equ TIM3_CR2, TIM3_BASE + TIM_CR2_OFFSET .equ TIM3_CR2, TIM3_BASE + TIM_CR2_OFFSET
.equ TIM3_SMCR, TIM3_BASE + TIM_SMCR_OFFSET .equ TIM3_SMCR, TIM3_BASE + TIM_SMCR_OFFSET
+1375 -1342
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+157 -65
View File
@@ -3,11 +3,11 @@ task2.elf: file format elf32-littlearm
Sections: Sections:
Idx Name Size VMA LMA File off Algn Idx Name Size VMA LMA File off Algn
0 .vectortable 00000014 08000000 08000000 00001000 2**2 0 .vectortable 0000006c 08000000 08000000 00001000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .text 00000074 08000400 08000400 00001400 2**2 1 .text 00000100 08000400 08000400 00001400 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .exhand 00000068 08001000 08001000 00002000 2**2 2 .exhand 000000a8 08001000 08001000 00002000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE CONTENTS, ALLOC, LOAD, READONLY, CODE
SYMBOL TABLE: SYMBOL TABLE:
08000000 l d .vectortable 00000000 .vectortable 08000000 l d .vectortable 00000000 .vectortable
@@ -15,14 +15,16 @@ SYMBOL TABLE:
08001000 l d .exhand 00000000 .exhand 08001000 l d .exhand 00000000 .exhand
08001000 l F .exhand 00000000 _ISR_NMI 08001000 l F .exhand 00000000 _ISR_NMI
08001028 l F .exhand 00000000 _ISR_HARDF 08001028 l F .exhand 00000000 _ISR_HARDF
08001050 l F .exhand 00000000 _ISR_S0 08001050 l F .exhand 00000000 _ISR_EXTI0
08000466 l .text 00000000 .lp1 08001074 l F .exhand 00000000 _ISR_EXTI4
08001058 l F .exhand 00000000 _ISR_S1 080004ce l .text 00000000 .lp1
0800105e l .exhand 00000000 .lp2 0800106a l .exhand 00000000 _clear_exti0
0800108e l .exhand 00000000 _clear_exti4
08001096 l .exhand 00000000 .lp2
08000400 g F .text 00000000 init 08000400 g F .text 00000000 init
08000444 g F .text 00000000 main 080004b8 g F .text 00000000 main
08000454 g F .text 00000000 delay 080004c0 g F .text 00000000 delay
08000460 g .text 00000000 stop 080004c8 g .text 00000000 stop
@@ -33,7 +35,10 @@ Disassembly of section .vectortable:
8000004: 08000401 .word 0x08000401 8000004: 08000401 .word 0x08000401
8000008: 08001001 .word 0x08001001 8000008: 08001001 .word 0x08001001
800000c: 08001029 .word 0x08001029 800000c: 08001029 .word 0x08001029
8000010: 08001051 .word 0x08001051 ...
8000058: 08001051 .word 0x08001051
...
8000068: 08001075 .word 0x08001075
Disassembly of section .text: Disassembly of section .text:
@@ -52,55 +57,110 @@ Disassembly of section .text:
8000416: 4682 mov sl, r0 8000416: 4682 mov sl, r0
8000418: 4683 mov fp, r0 8000418: 4683 mov fp, r0
800041a: 4684 mov ip, r0 800041a: 4684 mov ip, r0
800041c: 4912 ldr r1, [pc, #72] @ (8000468 <.lp1+0x2>) 800041c: 492c ldr r1, [pc, #176] @ (80004d0 <.lp1+0x2>)
800041e: f04f 0201 mov.w r2, #1 800041e: 2203 movs r2, #3
8000422: 6808 ldr r0, [r1, #0] 8000420: 6808 ldr r0, [r1, #0]
8000424: 4310 orrs r0, r2 8000422: 4310 orrs r0, r2
8000426: 6008 str r0, [r1, #0] 8000424: 6008 str r0, [r1, #0]
8000428: f04f 4190 mov.w r1, #1207959552 @ 0x48000000 8000426: f04f 4190 mov.w r1, #1207959552 @ 0x48000000
800042c: 2203 movs r2, #3 800042a: f04f 02ff mov.w r2, #255 @ 0xff
800042e: 6808 ldr r0, [r1, #0] 800042e: 6808 ldr r0, [r1, #0]
8000430: 4390 bics r0, r2 8000430: 4390 bics r0, r2
8000432: 2201 movs r2, #1 8000432: f04f 0255 mov.w r2, #85 @ 0x55
8000434: 4310 orrs r0, r2 8000436: 4310 orrs r0, r2
8000436: 6008 str r0, [r1, #0] 8000438: 6008 str r0, [r1, #0]
8000438: 490c ldr r1, [pc, #48] @ (800046c <.lp1+0x6>) 800043a: 4926 ldr r1, [pc, #152] @ (80004d4 <.lp1+0x6>)
800043a: 2201 movs r2, #1 800043c: 220f movs r2, #15
800043c: 6808 ldr r0, [r1, #0] 800043e: 6808 ldr r0, [r1, #0]
800043e: 4310 orrs r0, r2 8000440: 4310 orrs r0, r2
8000440: 6008 str r0, [r1, #0] 8000442: 6008 str r0, [r1, #0]
8000442: b662 cpsie i 8000444: 4924 ldr r1, [pc, #144] @ (80004d8 <.lp1+0xa>)
8000446: f240 3203 movw r2, #771 @ 0x303
800044a: 6808 ldr r0, [r1, #0]
800044c: 4390 bics r0, r2
800044e: 6008 str r0, [r1, #0]
8000450: 4922 ldr r1, [pc, #136] @ (80004dc <.lp1+0xe>)
8000452: f240 3203 movw r2, #771 @ 0x303
8000456: 6808 ldr r0, [r1, #0]
8000458: 4390 bics r0, r2
800045a: f240 1201 movw r2, #257 @ 0x101
800045e: 4310 orrs r0, r2
8000460: 6008 str r0, [r1, #0]
8000462: 491f ldr r1, [pc, #124] @ (80004e0 <.lp1+0x12>)
8000464: 2201 movs r2, #1
8000466: 6808 ldr r0, [r1, #0]
8000468: 4310 orrs r0, r2
800046a: 6008 str r0, [r1, #0]
800046c: 491d ldr r1, [pc, #116] @ (80004e4 <.lp1+0x16>)
800046e: f04f 020f mov.w r2, #15
8000472: 6808 ldr r0, [r1, #0]
8000474: 4390 bics r0, r2
8000476: 2201 movs r2, #1
8000478: 4310 orrs r0, r2
800047a: 6008 str r0, [r1, #0]
800047c: 491a ldr r1, [pc, #104] @ (80004e8 <.lp1+0x1a>)
800047e: f04f 020f mov.w r2, #15
8000482: 6808 ldr r0, [r1, #0]
8000484: 4390 bics r0, r2
8000486: 2201 movs r2, #1
8000488: 4310 orrs r0, r2
800048a: 6008 str r0, [r1, #0]
800048c: 4917 ldr r1, [pc, #92] @ (80004ec <.lp1+0x1e>)
800048e: 2211 movs r2, #17
8000490: 6808 ldr r0, [r1, #0]
8000492: 4310 orrs r0, r2
8000494: 6008 str r0, [r1, #0]
8000496: 4916 ldr r1, [pc, #88] @ (80004f0 <.lp1+0x22>)
8000498: 2211 movs r2, #17
800049a: 6808 ldr r0, [r1, #0]
800049c: 4310 orrs r0, r2
800049e: 6008 str r0, [r1, #0]
80004a0: 4914 ldr r1, [pc, #80] @ (80004f4 <.lp1+0x26>)
80004a2: f44f 6288 mov.w r2, #1088 @ 0x440
80004a6: 6808 ldr r0, [r1, #0]
80004a8: 4310 orrs r0, r2
80004aa: 6008 str r0, [r1, #0]
80004ac: 4912 ldr r1, [pc, #72] @ (80004f8 <.lp1+0x2a>)
80004ae: 6808 ldr r0, [r1, #0]
80004b0: 2207 movs r2, #7
80004b2: 4310 orrs r0, r2
80004b4: 6008 str r0, [r1, #0]
80004b6: b662 cpsie i
08000444 <main>: 080004b8 <main>:
8000444: 4909 ldr r1, [pc, #36] @ (800046c <.lp1+0x6>) 80004b8: bf30 wfi
8000446: 4050 eors r0, r2 80004ba: f7ff bffd b.w 80004b8 <main>
8000448: 6008 str r0, [r1, #0] 80004be: bf00 nop
800044a: f000 f803 bl 8000454 <delay>
800044e: f7ff bff9 b.w 8000444 <main>
8000452: bf00 nop
08000454 <delay>: 080004c0 <delay>:
8000454: 2600 movs r6, #0 80004c0: 480e ldr r0, [pc, #56] @ (80004fc <.lp1+0x2e>)
8000456: 4f06 ldr r7, [pc, #24] @ (8000470 <.lp1+0xa>) 80004c2: 3801 subs r0, #1
8000458: 3601 adds r6, #1 80004c4: d1fd bne.n 80004c2 <delay+0x2>
800045a: 42be cmp r6, r7 80004c6: 4770 bx lr
800045c: d1fc bne.n 8000458 <delay+0x4>
800045e: 4770 bx lr
08000460 <stop>: 080004c8 <stop>:
8000460: bf00 nop 80004c8: bf00 nop
8000462: f7ff bffd b.w 8000460 <stop> 80004ca: f7ff bffd b.w 80004c8 <stop>
08000466 <.lp1>: 080004ce <.lp1>:
8000466: 0000 .short 0x0000 80004ce: 0000 .short 0x0000
8000468: 4002104c .word 0x4002104c 80004d0: 4002104c .word 0x4002104c
800046c: 48000014 .word 0x48000014 80004d4: 48000014 .word 0x48000014
8000470: 001e8480 .word 0x001e8480 80004d8: 48000400 .word 0x48000400
80004dc: 4800040c .word 0x4800040c
80004e0: 40021060 .word 0x40021060
80004e4: 40010008 .word 0x40010008
80004e8: 4001000c .word 0x4001000c
80004ec: 4001040c .word 0x4001040c
80004f0: 40010400 .word 0x40010400
80004f4: e000e100 .word 0xe000e100
80004f8: e0042004 .word 0xe0042004
80004fc: 00019e10 .word 0x00019e10
Disassembly of section .exhand: Disassembly of section .exhand:
08001000 <_ISR_NMI>: 08001000 <_ISR_NMI>:
8001000: 4917 ldr r1, [pc, #92] @ (8001060 <.lp2+0x2>) 8001000: 4925 ldr r1, [pc, #148] @ (8001098 <.lp2+0x2>)
8001002: f04f 0201 mov.w r2, #1 8001002: f04f 0201 mov.w r2, #1
8001006: 6808 ldr r0, [r1, #0] 8001006: 6808 ldr r0, [r1, #0]
8001008: 4310 orrs r0, r2 8001008: 4310 orrs r0, r2
@@ -112,7 +172,7 @@ Disassembly of section .exhand:
8001016: 2244 movs r2, #68 @ 0x44 8001016: 2244 movs r2, #68 @ 0x44
8001018: 4310 orrs r0, r2 8001018: 4310 orrs r0, r2
800101a: 6008 str r0, [r1, #0] 800101a: 6008 str r0, [r1, #0]
800101c: 4911 ldr r1, [pc, #68] @ (8001064 <.lp2+0x6>) 800101c: 491f ldr r1, [pc, #124] @ (800109c <.lp2+0x6>)
800101e: 220a movs r2, #10 800101e: 220a movs r2, #10
8001020: 6808 ldr r0, [r1, #0] 8001020: 6808 ldr r0, [r1, #0]
8001022: 4390 bics r0, r2 8001022: 4390 bics r0, r2
@@ -120,7 +180,7 @@ Disassembly of section .exhand:
8001026: e7eb b.n 8001000 <_ISR_NMI> 8001026: e7eb b.n 8001000 <_ISR_NMI>
08001028 <_ISR_HARDF>: 08001028 <_ISR_HARDF>:
8001028: 490d ldr r1, [pc, #52] @ (8001060 <.lp2+0x2>) 8001028: 491b ldr r1, [pc, #108] @ (8001098 <.lp2+0x2>)
800102a: f04f 0201 mov.w r2, #1 800102a: f04f 0201 mov.w r2, #1
800102e: 6808 ldr r0, [r1, #0] 800102e: 6808 ldr r0, [r1, #0]
8001030: 4310 orrs r0, r2 8001030: 4310 orrs r0, r2
@@ -132,25 +192,57 @@ Disassembly of section .exhand:
800103e: 2211 movs r2, #17 800103e: 2211 movs r2, #17
8001040: 4310 orrs r0, r2 8001040: 4310 orrs r0, r2
8001042: 6008 str r0, [r1, #0] 8001042: 6008 str r0, [r1, #0]
8001044: 4907 ldr r1, [pc, #28] @ (8001064 <.lp2+0x6>) 8001044: 4915 ldr r1, [pc, #84] @ (800109c <.lp2+0x6>)
8001046: 2205 movs r2, #5 8001046: 2205 movs r2, #5
8001048: 6808 ldr r0, [r1, #0] 8001048: 6808 ldr r0, [r1, #0]
800104a: 4390 bics r0, r2 800104a: 4390 bics r0, r2
800104c: 6008 str r0, [r1, #0] 800104c: 6008 str r0, [r1, #0]
800104e: e7eb b.n 8001028 <_ISR_HARDF> 800104e: e7eb b.n 8001028 <_ISR_HARDF>
08001050 <_ISR_S0>: 08001050 <_ISR_EXTI0>:
8001050: b500 push {lr} 8001050: b500 push {lr}
8001052: bc02 pop {r1} 8001052: f7ff fa35 bl 80004c0 <delay>
8001054: 4708 bx r1 8001056: 4812 ldr r0, [pc, #72] @ (80010a0 <.lp2+0xa>)
8001056: bf00 nop 8001058: 6801 ldr r1, [r0, #0]
800105a: 2201 movs r2, #1
800105c: 4211 tst r1, r2
800105e: d104 bne.n 800106a <_clear_exti0>
8001060: 480e ldr r0, [pc, #56] @ (800109c <.lp2+0x6>)
8001062: 6801 ldr r1, [r0, #0]
8001064: 2209 movs r2, #9
8001066: 4051 eors r1, r2
8001068: 6001 str r1, [r0, #0]
08001058 <_ISR_S1>: 0800106a <_clear_exti0>:
8001058: b500 push {lr} 800106a: 480e ldr r0, [pc, #56] @ (80010a4 <.lp2+0xe>)
800105a: bc02 pop {r1} 800106c: 2101 movs r1, #1
800105c: 4708 bx r1 800106e: 6001 str r1, [r0, #0]
8001070: bd00 pop {pc}
8001072: bf00 nop
0800105e <.lp2>: 08001074 <_ISR_EXTI4>:
800105e: 0000 .short 0x0000 8001074: b500 push {lr}
8001060: 4002104c .word 0x4002104c 8001076: f7ff fa23 bl 80004c0 <delay>
8001064: 48000014 .word 0x48000014 800107a: 4809 ldr r0, [pc, #36] @ (80010a0 <.lp2+0xa>)
800107c: 6801 ldr r1, [r0, #0]
800107e: 2210 movs r2, #16
8001080: 4211 tst r1, r2
8001082: d104 bne.n 800108e <_clear_exti4>
8001084: 4805 ldr r0, [pc, #20] @ (800109c <.lp2+0x6>)
8001086: 6801 ldr r1, [r0, #0]
8001088: 2206 movs r2, #6
800108a: 4051 eors r1, r2
800108c: 6001 str r1, [r0, #0]
0800108e <_clear_exti4>:
800108e: 4805 ldr r0, [pc, #20] @ (80010a4 <.lp2+0xe>)
8001090: 2110 movs r1, #16
8001092: 6001 str r1, [r0, #0]
8001094: bd00 pop {pc}
08001096 <.lp2>:
8001096: 0000 .short 0x0000
8001098: 4002104c .word 0x4002104c
800109c: 48000014 .word 0x48000014
80010a0: 48000410 .word 0x48000410
80010a4: 40010414 .word 0x40010414
+30 -30
View File
@@ -11,61 +11,61 @@ RAM 0x20000000 0x00001800 rw
Linker script and memory map Linker script and memory map
.vectortable 0x08000000 0x14 .vectortable 0x08000000 0x6c
0x08000000 . = ALIGN (0x4) 0x08000000 . = ALIGN (0x4)
*(.vectortable) *(.vectortable)
.vectortable 0x08000000 0x14 task2.o .vectortable 0x08000000 0x6c task2.o
0x08000014 . = ALIGN (0x4) 0x0800006c . = ALIGN (0x4)
.text 0x08000400 0x74 .text 0x08000400 0x100
*(.text) *(.text)
.text 0x08000400 0x74 task2.o .text 0x08000400 0x100 task2.o
0x08000400 init 0x08000400 init
0x08000444 main 0x080004b8 main
0x08000454 delay 0x080004c0 delay
0x08000460 stop 0x080004c8 stop
.glue_7 0x08000474 0x0 .glue_7 0x08000500 0x0
.glue_7 0x08000474 0x0 linker stubs .glue_7 0x08000500 0x0 linker stubs
.glue_7t 0x08000474 0x0 .glue_7t 0x08000500 0x0
.glue_7t 0x08000474 0x0 linker stubs .glue_7t 0x08000500 0x0 linker stubs
.vfp11_veneer 0x08000474 0x0 .vfp11_veneer 0x08000500 0x0
.vfp11_veneer 0x08000474 0x0 linker stubs .vfp11_veneer 0x08000500 0x0 linker stubs
.v4_bx 0x08000474 0x0 .v4_bx 0x08000500 0x0
.v4_bx 0x08000474 0x0 linker stubs .v4_bx 0x08000500 0x0 linker stubs
.iplt 0x08000474 0x0 .iplt 0x08000500 0x0
.iplt 0x08000474 0x0 task2.o .iplt 0x08000500 0x0 task2.o
.exhand 0x08001000 0x68 .exhand 0x08001000 0xa8
*(.exhand) *(.exhand)
.exhand 0x08001000 0x68 task2.o .exhand 0x08001000 0xa8 task2.o
LOAD task2.o LOAD task2.o
OUTPUT(task2.elf elf32-littlearm) OUTPUT(task2.elf elf32-littlearm)
LOAD linker stubs LOAD linker stubs
.rel.dyn 0x08001068 0x0 .rel.dyn 0x080010a8 0x0
.rel.iplt 0x08001068 0x0 task2.o .rel.iplt 0x080010a8 0x0 task2.o
.data 0x08001068 0x0 .data 0x080010a8 0x0
.data 0x08001068 0x0 task2.o .data 0x080010a8 0x0 task2.o
.igot.plt 0x08001068 0x0 .igot.plt 0x080010a8 0x0
.igot.plt 0x08001068 0x0 task2.o .igot.plt 0x080010a8 0x0 task2.o
.bss 0x08001068 0x0 .bss 0x080010a8 0x0
.bss 0x08001068 0x0 task2.o .bss 0x080010a8 0x0 task2.o
.ARM.attributes .ARM.attributes
0x00000000 0x21 0x00000000 0x21
.ARM.attributes .ARM.attributes
0x00000000 0x21 task2.o 0x00000000 0x21 task2.o
.debug_line 0x00000000 0xc1 .debug_line 0x00000000 0x112
.debug_line 0x00000000 0xc1 task2.o .debug_line 0x00000000 0x112 task2.o
.debug_info 0x00000000 0x22 .debug_info 0x00000000 0x22
.debug_info 0x00000000 0x22 task2.o .debug_info 0x00000000 0x22 task2.o
BIN
View File
Binary file not shown.
+113 -94
View File
@@ -7,43 +7,49 @@
.include "G431_addr.s" .include "G431_addr.s"
// Zusätzliche und benötigte Adressen // Falls in G431_addr.s vorhanden, diesen Block löschen um Fehler zu vermeiden:
.equ RCC_AHB2ENR, 0x4002104C /*.equ RCC_AHB2ENR, 0x4002104C
.equ RCC_APB2ENR, 0x40021060 .equ RCC_APB2ENR, 0x40021060
.equ GPIOA_MODER, 0x48000000 .equ GPIOA_MODER, 0x48000000
.equ GPIOA_ODR, 0x48000014 .equ GPIOA_ODR, 0x48000014
.equ GPIOC_MODER, 0x48000800 .equ GPIOB_MODER, 0x48000400
.equ GPIOC_PUPDR, 0x4800080C .equ GPIOB_PUPDR, 0x4800040C
.equ GPIOC_IDR, 0x48000810 .equ GPIOB_IDR, 0x48000410
.equ SYSCFG_BASE, 0x40010000 .equ SYSCFG_BASE, 0x40010000
.equ SYSCFG_EXTICR4, (SYSCFG_BASE + 0x14) .equ SYSCFG_EXTICR1, (SYSCFG_BASE + 0x08)
.equ SYSCFG_EXTICR2, (SYSCFG_BASE + 0x0C)
.equ EXTI_BASE, 0x40010400 .equ EXTI_BASE, 0x40010400
.equ EXTI_IMR1, (EXTI_BASE + 0x00) .equ EXTI_IMR1, (EXTI_BASE + 0x00)
.equ EXTI_FTSR1, (EXTI_BASE + 0x0C) .equ EXTI_FTSR1, (EXTI_BASE + 0x0C)
.equ EXTI_PR1, (EXTI_BASE + 0x14) .equ EXTI_PR1, (EXTI_BASE + 0x14)
.equ NVIC_ISER1, 0xE000E104 .equ NVIC_ISER0, 0xE000E100
.equ DBGMCU_CR, 0xE0042004 // Adresse des Debug Configuration Registers
*/
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.section .vectortable,"a" // vector table at begin of ROM .section .vectortable,"a"
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.align 2 .align 2
.word 0x20004000 // initial Stack Pointer .word 0x20004000 // initial Stack Pointer
.word 0x08000401 // initial Program Counter .word init // initial Program Counter
.word _ISR_NMI // non-masking interrupt .word _ISR_NMI // non-masking interrupt
.word _ISR_HARDF // hard fault interrupt .word _ISR_HARDF // hard fault interrupt
.space 0xD0 // padding 208 Bytes bis Offset 0xE0 (EXTI15_10 IRQ 40) .space 0x48 // Padding 72 Bytes (Offset 0x10 -> 0x58)
.word _ISR_S0_S1 // gemeinsamer Interrupt für PC13 (S0) und PC14 (S1) .word _ISR_EXTI0 // EXTI0_IRQHandler (PB0 / S0) - IRQ 6
.space 0x0C // Padding 12 Bytes (Offset 0x5C -> 0x68)
.word _ISR_EXTI4 // EXTI4_IRQHandler (PB4 / S1) - IRQ 10
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.text // section .text (default section for program code) .text
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.align 2 .align 2
@@ -53,9 +59,9 @@
.global init .global init
.type init, %function .type init, %function
init: init:
CPSID i // disable interrupts globally CPSID i
MOVS r0, #0 // safely initialize the GPRs MOVS r0, #0
MOVS r1, #0 MOVS r1, #0
MOVS r2, #0 MOVS r2, #0
MOVS r3, #0 MOVS r3, #0
@@ -69,43 +75,43 @@ init:
MOV r11, r0 MOV r11, r0
MOV r12, r0 MOV r12, r0
#--- enable port clocking #--- enable port clocking (GPIOA, GPIOB)
LDR r1, =RCC_AHB2ENR LDR r1, =RCC_AHB2ENR
MOVS r2, #0x05 // Bit 0 (GPIOA) und Bit 2 (GPIOC) MOVS r2, #0x03 // Bit 0 (GPIOA) und Bit 1 (GPIOB)
LDR r0, [r1, #0] LDR r0, [r1, #0]
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#--- port init #--- port init
#- LEDs (PA0-PA3) #- LEDs (PA0 - PA3) als Output
LDR r1, =GPIOA_MODER LDR r1, =GPIOA_MODER
LDR r2, =0x000000FF // Maske PA0-PA3 LDR r2, =0x000000FF
LDR r0, [r1, #0] LDR r0, [r1, #0]
BICS r0, r2 BICS r0, r2
LDR r2, =0x00000055 // Maske Output 0101 0101 LDR r2, =0x00000055
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- switch LED off #- switch LED off
LDR r1, =GPIOA_ODR LDR r1, =GPIOA_ODR
MOVS r2, #0x0F // Maske LED0-3 MOVS r2, #0x0F
LDR r0, [r1, #0] LDR r0, [r1, #0]
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- buttons (PC13, PC14 als Input) #- buttons (PB0, PB4) als Input
LDR r1, =GPIOC_MODER LDR r1, =GPIOB_MODER
LDR r2, =0x3C000000 // Maske Bits 26-29 LDR r2, =0x00000303 // Maske Bits 0:1 (PB0) und 8:9 (PB4)
LDR r0, [r1, #0] LDR r0, [r1, #0]
BICS r0, r2 BICS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- Pull-Up für PC13, PC14 #- Pull-Up für PB0, PB4
LDR r1, =GPIOC_PUPDR LDR r1, =GPIOB_PUPDR
LDR r2, =0x3C000000 LDR r2, =0x00000303
LDR r0, [r1, #0] LDR r0, [r1, #0]
BICS r0, r2 BICS r0, r2
LDR r2, =0x14000000 // 01 = Pull-Up für PC13 (Bits 27:26) und PC14 (Bits 29:28) LDR r2, =0x00000101 // 01 = Pull-Up für PB0 und PB4
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
@@ -118,36 +124,51 @@ init:
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- connect GPIO pins of the buttons to EXTended Interrupt controller lines (EXTI) #- connect GPIO pins to EXTI lines
LDR r1, =SYSCFG_EXTICR4 LDR r1, =SYSCFG_EXTICR1 // EXTI0 (PB0)
LDR r2, =0x00000FF0 // Maske für EXTI13 (Bits 7:4) und EXTI14 (Bits 11:8) LDR r2, =0x000F // Maske EXTI0 (Bits 3:0)
LDR r0, [r1, #0] LDR r0, [r1, #0]
BICS r0, r2 BICS r0, r2
LDR r2, =0x00000220 // Port C (0010) für EXTI13 und EXTI14 MOVS r2, #0x0001 // Port B (0001)
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- configure lines in EXTI module (EXTI_* registers) LDR r1, =SYSCFG_EXTICR2 // EXTI4 (PB4)
LDR r1, =EXTI_FTSR1 // Fallende Flanke LDR r2, =0x000F // Maske EXTI4 (Bits 3:0)
LDR r2, =0x00006000 // Bits 13 und 14 LDR r0, [r1, #0]
BICS r0, r2
MOVS r2, #0x0001 // Port B (0001)
ORRS r0, r2
STR r0, [r1, #0]
#- configure EXTI lines (falling edge, unmask)
LDR r1, =EXTI_FTSR1
MOVS r2, #0x11 // Bit 0 (EXTI0) und Bit 4 (EXTI4)
LDR r0, [r1, #0] LDR r0, [r1, #0]
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
LDR r1, =EXTI_IMR1 // Maskierung aufheben LDR r1, =EXTI_IMR1
LDR r2, =0x00006000 MOVS r2, #0x11 // Bit 0 und Bit 4
LDR r0, [r1, #0] LDR r0, [r1, #0]
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
#- NVIC: set interrupt priority, clear pending bits #- NVIC: enable interrupts EXTI0 (IRQ 6) & EXTI4 (IRQ 10)
LDR r1, =NVIC_ISER1 LDR r1, =NVIC_ISER0
LDR r2, =0x00000100 // Bit 8 für IRQ 40 (EXTI15_10) LDR r2, =0x00000440 // Bit 6 (EXTI0) und Bit 10 (EXTI4)
LDR r0, [r1, #0] LDR r0, [r1, #0]
ORRS r0, r2 ORRS r0, r2
STR r0, [r1, #0] STR r0, [r1, #0]
CPSIE i // enable interrupts globally #--- wachhalten während WFI
LDR r1, =DBGMCU_CR
LDR r0, [r1, #0]
MOVS r2, #0x07 // Setzt DBG_SLEEP, DBG_STOP und DBG_STANDBY Bits
ORRS r0, r2
STR r0, [r1, #0]
CPSIE i
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
@@ -170,7 +191,7 @@ main:
.global delay .global delay
.type delay, %function .type delay, %function
delay: delay:
LDR r0, =106000 // Entprell-Zeit ~20ms LDR r0, =106000
.L1: .L1:
SUBS r0, r0, #1 SUBS r0, r0, #1
BNE .L1 BNE .L1
@@ -190,7 +211,7 @@ stop:
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.section .exhand,"ax" // section for exception handlers .section .exhand,"ax"
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.align 2 .align 2
@@ -254,69 +275,68 @@ _ISR_HARDF:
.align 2 .align 2
.syntax unified .syntax unified
.thumb .thumb
.type _ISR_S0_S1, %function .type _ISR_EXTI0, %function
_ISR_S0_S1: _ISR_EXTI0:
PUSH {r4, r5, lr} // Wichtig: Register sichern gemäß AAPCS PUSH {lr}
_check_S0: #--- Entprellen
LDR r4, =EXTI_PR1
LDR r5, [r4, #0]
LDR r2, =0x2000 // Maske für S0 (PC13 / Bit 13)
TST r5, r2
BEQ _check_S1 // Wenn Bit 13 nicht gesetzt, überspringen
#--- do the work S0
BL delay // Entprellen
LDR r0, =GPIOC_IDR
LDR r1, [r0, #0]
LDR r2, =0x2000
TST r1, r2
BNE _clear_S0 // Abbruch, wenn High (Taster prellt / schon losgelassen)
LDR r0, =GPIOA_ODR
LDR r1, [r0, #0]
MOVS r2, #0x09 // LED0 & LED3 toggeln (1001)
EORS r1, r2
STR r1, [r0, #0]
_clear_S0:
#--- clear interrupt flag S0
LDR r4, =EXTI_PR1
LDR r5, =0x2000
STR r5, [r4, #0]
_check_S1:
LDR r4, =EXTI_PR1
LDR r5, [r4, #0]
LDR r2, =0x4000 // Maske für S1 (PC14 / Bit 14)
TST r5, r2
BEQ _leave_ISR // Wenn Bit 14 nicht gesetzt, Ende
#--- do the work S1
BL delay BL delay
LDR r0, =GPIOC_IDR #--- Überprüfen, ob Taster noch gedrückt ist (PB0)
LDR r0, =GPIOB_IDR
LDR r1, [r0, #0] LDR r1, [r0, #0]
LDR r2, =0x4000 MOVS r2, #0x01
TST r1, r2 TST r1, r2
BNE _clear_S1 // Abbruch, wenn High BNE _clear_exti0
#--- LED0 & LED3 toggeln (1001 = 0x09)
LDR r0, =GPIOA_ODR LDR r0, =GPIOA_ODR
LDR r1, [r0, #0] LDR r1, [r0, #0]
MOVS r2, #0x06 // LED1 & LED2 toggeln (0110) MOVS r2, #0x09
EORS r1, r2 EORS r1, r2
STR r1, [r0, #0] STR r1, [r0, #0]
_clear_S1: _clear_exti0:
#--- clear interrupt flag S1 #--- Interrupt Flag löschen
LDR r4, =EXTI_PR1 LDR r0, =EXTI_PR1
LDR r5, =0x4000 MOVS r1, #0x01
STR r5, [r4, #0] STR r1, [r0, #0]
_leave_ISR: POP {pc}
#--- leave ISR
POP {r4, r5, pc} // Register wiederherstellen und zurückkehren #----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_EXTI4, %function
_ISR_EXTI4:
PUSH {lr}
#--- Entprellen
BL delay
#--- Überprüfen, ob Taster noch gedrückt ist (PB4)
LDR r0, =GPIOB_IDR
LDR r1, [r0, #0]
MOVS r2, #0x10
TST r1, r2
BNE _clear_exti4
#--- LED1 & LED2 toggeln (0110 = 0x06)
LDR r0, =GPIOA_ODR
LDR r1, [r0, #0]
MOVS r2, #0x06
EORS r1, r2
STR r1, [r0, #0]
_clear_exti4:
#--- Interrupt Flag löschen
LDR r0, =EXTI_PR1
MOVS r1, #0x10
STR r1, [r0, #0]
POP {pc}
#----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------#
.lp2: .lp2:
@@ -325,4 +345,3 @@ _leave_ISR:
.end .end
#************************************** E O F *******************************************#
-325
View File
@@ -1,325 +0,0 @@
#****************************************************************************************#
# Project: task2 - ASM: Interrupts
# File: task2.s
#
# Language: ASM
#
# Hardware: STefi Light v1.1
# Processor: STM32G431KBT6U
#
# Author: Manuel Lederhofer
# Datum: 31.10.2014
#
# Version: 6.0
# History:
# 31.10.2014 ML create file
# 27.09.2018 ML edit comments, extend vector table
# 18.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
# 27.02.2019 ML move section of exception handlers to bottom of file
# 25.09.2019 ML minor changes for a better code and comment understanding
# 04.09.2020 HL port from STM32L476RG to STM32F411xE
# 21.09.2020 ML tidy up, comments and formatting
# 29.09.2021 ML port from STM32F411xE to STM32F042K6T6
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
# 10.02.2025 TK remove ASM:Polling,move ASM:Interrupts to task2
# 24.06.2025 TK remove /* ... place your code here ... */
#
# Status: working
#
# Description:
# See the description and requirements of the requested application
# in the lab exercise guide.
#
# Notes:
# - MCU speed at startup is 16 MHz
#
# ToDo:
# - Change the example code to match the description and requirements
# of the requested application in the lab exercise guide.
#****************************************************************************************#
.include "G431_addr.s"
#----------------------------------------------------------------------------------------#
.section .vectortable,"a" // vector table at begin of ROM
#----------------------------------------------------------------------------------------#
.align 2
.word 0x20004000 // initial Stack Pointer: 0x20000000 (RAM base) + 0x4000 (16K SRAM1 length)
.word 0x08000401 // initial Program Counter
.word _ISR_NMI // non-masking interrupt
.word _ISR_HARDF // hard fault interrupt
/* N.B.
Look at the .space or the .org assembler directive to insert the address of the
ISRs at the right place in the vector table. Verify your settings by the help of
the list file. */
.word _ISR_S0
#----------------------------------------------------------------------------------------#
.text // section .text (default section for program code)
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global init
.type init, %function
init:
CPSID i // disable interrupts globally
MOVS r0, #0 // safely initialize the GPRs
MOVS r1, #0
MOVS r2, #0
MOVS r3, #0
MOVS r4, #0
MOVS r5, #0
MOVS r6, #0
MOVS r7, #0
MOV r8, r0
MOV r9, r0
MOV r10, r0
MOV r11, r0
MOV r12, r0
#--- enable port clocking
LDR r1, =RCC_AHB2ENR // load address of RCC_AHB2ENR
MOV r2, #0x01 // load mask for adjusting port clock gating (A: LEDs)
LDR r0, [r1, #0] // get current value of RCC_AHB2ENR
ORRS r0, r0, r2 // configure clock gating for ports
STR r0, [r1, #0] // apply settings
#--- port init
#- LEDs
LDR r1, =GPIOA_MODER // load port A mode register address
MOVS r2, #0x03 // prepare mask
LDR r0, [r1, #0] // get current value of port A mode register
BICS r0, r2 // delete bits
MOVS r2, #0x01 // load configuration mask
ORRS r0, r0, r2 // apply mask
STR r0, [r1, #0] // apply result to port A mode register
# LDR r1, =GPIOB_MODER
# MOVS r3, #0x03
# LDR r0, [r1, #1]
# BICS r0, r3
# MOVS r3, #0x01
# ORRS r0, r0, r3
# STR r0, [r1, #1]
#- switch LED off
LDR r1, =GPIOA_ODR // load port A output data register
MOVS r2, #0x01 // load mask for LED
LDR r0, [r1, #0] // get current value of GPIOA
ORRS r0, r0, r2 // configure pin state
STR r0, [r1, #0] // apply settings
#- buttons
/* ... place your code here ... */
#--- button interrupt config
#- enable clock for SYSCFG module
#- connect GPIO pins of the buttons to EXTended Interrupt controller lines (EXTI)
# in SYSCFG module (SYSCFG_* registers)
#- configure lines in EXTI module (EXTI_* registers)
#- NVIC: set interrupt priority, clear pending bits
# and enable interrupts for buttons (see: PM, ch. 4.3, NVIC)
CPSIE i // enable interrupts globally
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global main
.type main, %function
main:
LDR r1, =GPIOA_ODR
EORS r0, r0, r2
STR r0, [r1, #0]
BL delay
B main
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.thumb_func
.global delay
.type delay, %function
delay:
MOVS r6, #0 // ...
LDR r7, =2000000 // ...
.L1:
ADDS r6, r6, #1 // ...
CMP r6, r7 // ...
BNE .L1 // ...
BX lr // ...
#----------------------------------------------------------------------------------------#
.align 2
.global stop
stop:
NOP // do nothing (NOP is here to avoid a debugger crash, only)
B stop // if this line is reached, something went wrong
#----------------------------------------------------------------------------------------#
.lp1: // this label is only to nicify the line up in the .lst file
.ltorg
#----------------------------------------------------------------------------------------#
#----------------------------------------------------------------------------------------#
.section .exhand,"ax" // section for exception handlers
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_NMI, %function
_ISR_NMI:
#--- enable clock
LDR r1, =RCC_AHB2ENR // load address of RCC_AHB2ENR
MOV r2, #0x01 // load mask
LDR r0, [r1, #0] // get current value of RCC_AHB2ENR
ORRS r0, r0, r2 // configure clock gating for port
STR r0, [r1, #0] // apply settings
#--- init pins
LDR r1, =GPIOA_MODER // load port A mode register address
MOVS r2, #0xFF // prepare mask
LDR r0, [r1, #0] // get current value of port A mode register
BICS r0, r0, r2 // delete bits
MOVS r2, #0x44 // load configuration mask
ORRS r0, r0, r2 // configure pins
STR r0, [r1, #0] // apply settings to port A mode register
#--- switch some LEDs on
LDR r1, =GPIOA_ODR // load port A data output register address
MOVS r2, #0x0A // load mask for blue and yellow LED
LDR r0, [r1, #0]
BICS r0, r0, r2
STR r0, [r1, #0] // switch LEDs on
B _ISR_NMI
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_HARDF, %function
_ISR_HARDF:
#--- enable clock
LDR r1, =RCC_AHB2ENR // load address of RCC_AHB2ENR
MOV r2, #0x01 // load mask
LDR r0, [r1, #0] // get current value of RCC_AHB2ENR
ORRS r0, r0, r2 // configure clock gating for port
STR r0, [r1, #0] // apply settings
#--- init pins
LDR r1, =GPIOA_MODER // load port A mode register address
MOVS r2, #0xFF // prepare mask
LDR r0, [r1, #0] // get current value of port A mode register
BICS r0, r0, r2 // delete bits
MOVS r2, #0x11 // load configuration mask
ORRS r0, r0, r2 // configure pins
STR r0, [r1, #0] // apply settings to port A mode register
#--- switch some LEDs on
LDR r1, =GPIOA_ODR // load port A data output register address
MOVS r2, #0x05 // load mask for red and green LED
LDR r0, [r1, #0]
BICS r0, r0, r2
STR r0, [r1, #0] // switch LEDs on
B _ISR_HARDF
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_S0, %function
_ISR_S0:
PUSH {lr} // save special content
#--- do the work
#--- clear interrupt flag
#--- leave ISR
POP {r1} // get special content back
BX r1 // go back to where we came from
#----------------------------------------------------------------------------------------#
.align 2
.syntax unified
.thumb
.type _ISR_S1, %function
_ISR_S1:
PUSH {lr} // save special content
#--- do the work
#--- clear interrupt flag
#--- leave ISR
POP {r1} // get special content back
BX r1 // go back to where we came from
#----------------------------------------------------------------------------------------#
.lp2: // this label is only to nicify the line up in the .lst file
.ltorg
#----------------------------------------------------------------------------------------#
.end
#************************************** E O F *******************************************#
+7
View File
@@ -0,0 +1,7 @@
../Inc/core_cm4.h:1679:22:__NVIC_EnableIRQ 2
../Src/task3.c:78:5:main 1
../Src/task3.c:109:6:EXTI_IRQHandler 4
../Src/task3.c:126:6:TIM6_DAC_IRQHandler 15
../Src/task3.c:177:13:GPIO_init 1
../Src/task3.c:193:6:Timer_init 1
../Src/task3.c:205:6:EXTI_init 1
+11
View File
@@ -0,0 +1,11 @@
Src/task3.o: ../Src/task3.c ../Inc/stm32g431xx.h ../Inc/core_cm4.h \
../Inc/cmsis_version.h ../Inc/cmsis_compiler.h ../Inc/cmsis_gcc.h \
../Inc/mpu_armv7.h ../Inc/system_stm32g4xx.h ../Inc/STefi-Light.h
../Inc/stm32g431xx.h:
../Inc/core_cm4.h:
../Inc/cmsis_version.h:
../Inc/cmsis_compiler.h:
../Inc/cmsis_gcc.h:
../Inc/mpu_armv7.h:
../Inc/system_stm32g4xx.h:
../Inc/STefi-Light.h:
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
../Inc/core_cm4.h:1679:22:__NVIC_EnableIRQ 16 static,ignoring_inline_asm
../Src/task3.c:78:5:main 8 static,ignoring_inline_asm
../Src/task3.c:109:6:EXTI_IRQHandler 4 static
../Src/task3.c:126:6:TIM6_DAC_IRQHandler 4 static
../Src/task3.c:177:13:GPIO_init 4 static
../Src/task3.c:193:6:Timer_init 8 static
../Src/task3.c:205:6:EXTI_init 8 static
+2
View File
@@ -0,0 +1,2 @@
../Src/task3_it.c:69:6:ISR_error 1
../Src/task3_it.c:89:6:ISR_default 1
+11
View File
@@ -0,0 +1,11 @@
Src/task3_it.o: ../Src/task3_it.c ../Inc/stm32g431xx.h ../Inc/core_cm4.h \
../Inc/cmsis_version.h ../Inc/cmsis_compiler.h ../Inc/cmsis_gcc.h \
../Inc/mpu_armv7.h ../Inc/system_stm32g4xx.h ../Inc/STefi-Light.h
../Inc/stm32g431xx.h:
../Inc/core_cm4.h:
../Inc/cmsis_version.h:
../Inc/cmsis_compiler.h:
../Inc/cmsis_gcc.h:
../Inc/mpu_armv7.h:
../Inc/system_stm32g4xx.h:
../Inc/STefi-Light.h:
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
../Src/task3_it.c:69:6:ISR_error 4 static
../Src/task3_it.c:89:6:ISR_default 4 static
@@ -0,0 +1 @@
Startup/startup_stm32g431kbtx.o: ../Startup/startup_stm32g431kbtx.s
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
../Startup/syscalls.c:44:6:initialise_monitor_handles 1
../Startup/syscalls.c:48:5:_getpid 1
../Startup/syscalls.c:53:5:_kill 1
../Startup/syscalls.c:61:6:_exit 1
../Startup/syscalls.c:67:27:_read 2
../Startup/syscalls.c:80:27:_write 2
../Startup/syscalls.c:92:5:_close 1
../Startup/syscalls.c:99:5:_fstat 1
../Startup/syscalls.c:106:5:_isatty 1
../Startup/syscalls.c:112:5:_lseek 1
../Startup/syscalls.c:120:5:_open 1
../Startup/syscalls.c:128:5:_wait 1
../Startup/syscalls.c:135:5:_unlink 1
../Startup/syscalls.c:142:5:_times 1
../Startup/syscalls.c:148:5:_stat 1
../Startup/syscalls.c:155:5:_link 1
../Startup/syscalls.c:163:5:_fork 1
../Startup/syscalls.c:169:5:_execve 1
+1
View File
@@ -0,0 +1 @@
Startup/syscalls.o: ../Startup/syscalls.c
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
../Startup/syscalls.c:44:6:initialise_monitor_handles 4 static
../Startup/syscalls.c:48:5:_getpid 4 static
../Startup/syscalls.c:53:5:_kill 16 static
../Startup/syscalls.c:61:6:_exit 16 static
../Startup/syscalls.c:67:27:_read 32 static
../Startup/syscalls.c:80:27:_write 32 static
../Startup/syscalls.c:92:5:_close 16 static
../Startup/syscalls.c:99:5:_fstat 16 static
../Startup/syscalls.c:106:5:_isatty 16 static
../Startup/syscalls.c:112:5:_lseek 24 static
../Startup/syscalls.c:120:5:_open 12 static
../Startup/syscalls.c:128:5:_wait 16 static
../Startup/syscalls.c:135:5:_unlink 16 static
../Startup/syscalls.c:142:5:_times 16 static
../Startup/syscalls.c:148:5:_stat 16 static
../Startup/syscalls.c:155:5:_link 16 static
../Startup/syscalls.c:163:5:_fork 8 static
../Startup/syscalls.c:169:5:_execve 24 static
+1
View File
@@ -0,0 +1 @@
../Startup/sysmem.c:53:7:_sbrk 3
+1
View File
@@ -0,0 +1 @@
Startup/sysmem.o: ../Startup/sysmem.c
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../Startup/sysmem.c:53:7:_sbrk 32 static
+2 -2
View File
@@ -59,8 +59,8 @@ all: main-build
main-build: task3.elf secondary-outputs main-build: task3.elf secondary-outputs
# Tool invocations # Tool invocations
task3.elf task3.map: $(OBJS) $(USER_OBJS) U:\MCT\WiSe25_26\BEI\mct_bei_workspace_25w\task3\STM32G431KBTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS) task3.elf task3.map: $(OBJS) $(USER_OBJS) /home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "task3.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"U:\MCT\WiSe25_26\BEI\mct_bei_workspace_25w\task3\STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group arm-none-eabi-gcc -o "task3.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@' @echo 'Finished building target: $@'
@echo ' ' @echo ' '
BIN
View File
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More