added gitignore
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
\lab2barnestr\lab2barnestr Debug.cfg
|
||||||
|
\lab2barnestr\LinkerScript.ld
|
||||||
|
\lab2barnestr\NUCLEO-F446RE.xml
|
||||||
|
\lab2barnestr\.settings\**
|
||||||
|
\.metadata
|
||||||
@@ -1760,3 +1760,35 @@ Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING
|
|||||||
|
|
||||||
!ENTRY org.eclipse.core.resources 4 372 2019-09-25 14:58:55.853
|
!ENTRY org.eclipse.core.resources 4 372 2019-09-25 14:58:55.853
|
||||||
!MESSAGE Resource '/lab1' is not open.
|
!MESSAGE Resource '/lab1' is not open.
|
||||||
|
|
||||||
|
!ENTRY fr.ac6.mcu.debug 4 5012 2019-09-28 19:15:18.266
|
||||||
|
!MESSAGE Error in final launch sequence
|
||||||
|
!STACK 1
|
||||||
|
org.eclipse.core.runtime.CoreException: Failed to execute MI command:
|
||||||
|
-target-select remote localhost:3333
|
||||||
|
|
||||||
|
Error message from debugger back end:
|
||||||
|
localhost:3333: The system tried to join a drive to a directory on a joined drive.
|
||||||
|
at org.eclipse.cdt.dsf.concurrent.Query.get(Query.java:111)
|
||||||
|
at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launchDebugSession(MCUGDBJtagDSFLaunchConfigurationDelegate.java:248)
|
||||||
|
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
|
||||||
|
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
|
||||||
|
at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:306)
|
||||||
|
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
|
||||||
|
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
|
||||||
|
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
|
||||||
|
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
|
||||||
|
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
||||||
|
Caused by: java.lang.Exception: localhost:3333: The system tried to join a drive to a directory on a joined drive.
|
||||||
|
at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
|
||||||
|
at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
|
||||||
|
!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-09-28 19:15:18.267
|
||||||
|
!MESSAGE Failed to execute MI command:
|
||||||
|
-target-select remote localhost:3333
|
||||||
|
|
||||||
|
Error message from debugger back end:
|
||||||
|
localhost:3333: The system tried to join a drive to a directory on a joined drive.
|
||||||
|
!STACK 0
|
||||||
|
java.lang.Exception: localhost:3333: The system tried to join a drive to a directory on a joined drive.
|
||||||
|
at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:941)
|
||||||
|
at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:770)
|
||||||
|
|||||||
@@ -226,3 +226,52 @@ make: Nothing to be done for 'all'.
|
|||||||
14:59:00 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
14:59:00 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
make all
|
make all
|
||||||
make: Nothing to be done for 'all'.
|
make: Nothing to be done for 'all'.
|
||||||
|
19:15:01 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
|
make all
|
||||||
|
Building file: ../src/main.s
|
||||||
|
Invoking: MCU GCC Assembler
|
||||||
|
C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\Debug
|
||||||
|
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
|
||||||
|
Finished building: ../src/main.s
|
||||||
|
|
||||||
|
Building target: lab2barnestr.elf
|
||||||
|
Invoking: MCU GCC Linker
|
||||||
|
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab2barnestr.elf" @"objects.list" -lm
|
||||||
|
Finished building target: lab2barnestr.elf
|
||||||
|
|
||||||
|
make --no-print-directory post-build
|
||||||
|
Generating binary and Printing size information:
|
||||||
|
arm-none-eabi-objcopy -O binary "lab2barnestr.elf" "lab2barnestr.bin"
|
||||||
|
arm-none-eabi-size "lab2barnestr.elf"
|
||||||
|
text data bss dec hex filename
|
||||||
|
1064 1080 1092 3236 ca4 lab2barnestr.elf
|
||||||
|
|
||||||
|
19:15:34 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
|
make all
|
||||||
|
make: Nothing to be done for 'all'.
|
||||||
|
19:17:12 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
|
make all
|
||||||
|
make: Nothing to be done for 'all'.
|
||||||
|
19:21:27 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
|
make all
|
||||||
|
make: Nothing to be done for 'all'.
|
||||||
|
19:37:27 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
|
make all
|
||||||
|
Building file: ../src/main.s
|
||||||
|
Invoking: MCU GCC Assembler
|
||||||
|
C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\Debug
|
||||||
|
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
|
||||||
|
Finished building: ../src/main.s
|
||||||
|
|
||||||
|
Building target: lab2barnestr.elf
|
||||||
|
Invoking: MCU GCC Linker
|
||||||
|
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab2barnestr.elf" @"objects.list" -lm
|
||||||
|
Finished building target: lab2barnestr.elf
|
||||||
|
|
||||||
|
make --no-print-directory post-build
|
||||||
|
Generating binary and Printing size information:
|
||||||
|
arm-none-eabi-objcopy -O binary "lab2barnestr.elf" "lab2barnestr.bin"
|
||||||
|
arm-none-eabi-size "lab2barnestr.elf"
|
||||||
|
text data bss dec hex filename
|
||||||
|
1064 1080 1092 3236 ca4 lab2barnestr.elf
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,23 @@
|
|||||||
14:59:00 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
19:37:27 **** Incremental Build of configuration Debug for project lab2barnestr ****
|
||||||
make all
|
make all
|
||||||
make: Nothing to be done for 'all'.
|
Building file: ../src/main.s
|
||||||
|
Invoking: MCU GCC Assembler
|
||||||
|
C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\Debug
|
||||||
|
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "src/main.o" "../src/main.s"
|
||||||
|
Finished building: ../src/main.s
|
||||||
|
|
||||||
14:59:01 Build Finished (took 632ms)
|
Building target: lab2barnestr.elf
|
||||||
|
Invoking: MCU GCC Linker
|
||||||
|
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -T"C:\Users\barnestr\Documents\CE2801\workspace\lab2barnestr\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "lab2barnestr.elf" @"objects.list" -lm
|
||||||
|
Finished building target: lab2barnestr.elf
|
||||||
|
|
||||||
|
make --no-print-directory post-build
|
||||||
|
Generating binary and Printing size information:
|
||||||
|
arm-none-eabi-objcopy -O binary "lab2barnestr.elf" "lab2barnestr.bin"
|
||||||
|
arm-none-eabi-size "lab2barnestr.elf"
|
||||||
|
text data bss dec hex filename
|
||||||
|
1064 1080 1092 3236 ca4 lab2barnestr.elf
|
||||||
|
|
||||||
|
|
||||||
|
19:37:28 Build Finished (took 966ms)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.debug.ui.MemoryView.orientation=0
|
org.eclipse.debug.ui.MemoryView.orientation=0
|
||||||
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
|
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
|
||||||
org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<viewBindings>\r\n<view id\="org.eclipse.debug.ui.VariableView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n<view id\="org.eclipse.debug.ui.DebugView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n<view id\="org.eclipse.debug.ui.BreakpointView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n<view id\="org.eclipse.ui.console.ConsoleView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n</viewBindings>\r\n
|
org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<viewBindings>\r\n<view id\="org.eclipse.debug.ui.VariableView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n<view id\="org.eclipse.debug.ui.DebugView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n<view id\="org.eclipse.debug.ui.BreakpointView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="opened"/>\r\n</view>\r\n<view id\="org.eclipse.ui.console.ConsoleView">\r\n<perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="closed"/>\r\n</view>\r\n</viewBindings>\r\n
|
||||||
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"?>\r\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/>
|
||||||
preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
|
preferredDetailPanes=DefaultDetailPane\:DefaultDetailPane|
|
||||||
preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget|
|
preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -14,8 +14,12 @@
|
|||||||
|
|
||||||
# Base RCC
|
# Base RCC
|
||||||
.equ RCC_BASE, 0x40023800
|
.equ RCC_BASE, 0x40023800
|
||||||
|
# GPIOB Enable Register
|
||||||
.equ RCC_AHB1ENR, 0x30
|
.equ RCC_AHB1ENR, 0x30
|
||||||
|
# GPIOB Enable
|
||||||
.equ RCC_GPIOBEN, 1<<1
|
.equ RCC_GPIOBEN, 1<<1
|
||||||
|
# Bit Set Reset Register
|
||||||
|
.equ GPIOx_BSRR, 0x18
|
||||||
|
|
||||||
.equ GPIOB_BASE, 0x40020400
|
.equ GPIOB_BASE, 0x40020400
|
||||||
# GPIO Mode Register
|
# GPIO Mode Register
|
||||||
@@ -61,7 +65,7 @@ turn_on:
|
|||||||
# Wait
|
# Wait
|
||||||
bl delay
|
bl delay
|
||||||
|
|
||||||
# Turn of all lights
|
# Turn off all lights
|
||||||
ldr r2, [r1, #GPIO_ODR]
|
ldr r2, [r1, #GPIO_ODR]
|
||||||
movw r3, #0xF7E0
|
movw r3, #0xF7E0
|
||||||
orr r2, r2, r3
|
orr r2, r2, r3
|
||||||
|
|||||||
Reference in New Issue
Block a user