small cleanup

This commit is contained in:
Trevor Barnes
2019-09-30 20:37:56 -05:00
parent 6af6bb4217
commit 5b3d71b5d7
7 changed files with 1886 additions and 1850 deletions

View File

@@ -859,3 +859,23 @@ arm-none-eabi-size "lab2barnestr.elf"
20:27:00 **** Incremental Build of configuration Debug for project lab2barnestr **** 20:27: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'.
20:37:23 **** 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
1104 1080 1092 3276 ccc lab2barnestr.elf

View File

@@ -1,6 +1,23 @@
20:27:00 **** Incremental Build of configuration Debug for project lab2barnestr **** 20:37:23 **** 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
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
1104 1080 1092 3276 ccc lab2barnestr.elf
20:27:00 Build Finished (took 255ms) 20:37:24 Build Finished (took 1s.165ms)

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -447,9 +447,9 @@ LOAD c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15
0x0000020c 0x22 c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o 0x0000020c 0x22 c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
OUTPUT(lab2barnestr.elf elf32-littlearm) OUTPUT(lab2barnestr.elf elf32-littlearm)
.debug_line 0x00000000 0xe7 .debug_line 0x00000000 0xe5
.debug_line 0x00000000 0x6e src/main.o .debug_line 0x00000000 0x6c src/main.o
.debug_line 0x0000006e 0x79 startup/startup_stm32.o .debug_line 0x0000006c 0x79 startup/startup_stm32.o
.debug_info 0x00000000 0xf5 .debug_info 0x00000000 0xf5
.debug_info 0x00000000 0x76 src/main.o .debug_info 0x00000000 0x76 src/main.o

Binary file not shown.

View File

@@ -18,9 +18,8 @@
.equ RCC_AHB1ENR, 0x30 .equ RCC_AHB1ENR, 0x30
# GPIOB Enable # GPIOB Enable
.equ RCC_GPIOBEN, 1<<1 .equ RCC_GPIOBEN, 1<<1
# Bit Set Reset Register
.equ GPIOB_BSRR, 0x18
# Base GPIOB Location
.equ GPIOB_BASE, 0x40020400 .equ GPIOB_BASE, 0x40020400
# GPIO Mode Register # GPIO Mode Register
.equ GPIO_MODER, 0x00 .equ GPIO_MODER, 0x00