Skip to content

Commit a8f5f0b

Browse files
committed
Start from 0x08000000
1 parent 79c0731 commit a8f5f0b

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/compile_on_commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Compile on Commit
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ Master_hex ]
66
# Allows you to run this workflow manually from the Actions tab
77
workflow_dispatch:
88

@@ -53,6 +53,6 @@ jobs:
5353
- name: 'Upload Artifact'
5454
uses: actions/upload-artifact@v4
5555
with:
56-
path: ${{ github.workspace }}/output
56+
path: ${{ github.workspace }}/build/EBiCS_Firmware.hex
5757
name: EBiCS_build_${{ github.run_number }}
58-
retention-days: 10
58+
retention-days: 10

Src/subdir.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Src/main.c \
1414
Src/print.c \
1515
Src/stm32f1xx_hal_msp.c \
1616
Src/stm32f1xx_it.c \
17-
Src/system_stm32f1xx_Bootloader.c
17+
Src/system_stm32f1xx.c
1818

1919
OBJS += \
2020
build/FOC.o \
@@ -27,7 +27,7 @@ build/main.o \
2727
build/print.o \
2828
build/stm32f1xx_hal_msp.o \
2929
build/stm32f1xx_it.o \
30-
build/system_stm32f1xx_Bootloader.o
30+
build/system_stm32f1xx.o
3131

3232
C_DEPS += \
3333
build/FOC.d \
@@ -40,7 +40,7 @@ build/main.d \
4040
build/print.d \
4141
build/stm32f1xx_hal_msp.d \
4242
build/stm32f1xx_it.d \
43-
build/system_stm32f1xx_Bootloader.d
43+
build/system_stm32f1xx.d
4444

4545
INC_PATH = Inc
4646
DRIVERS_PATH = Drivers/STM32F1xx_HAL_Driver/Inc

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ SRC_PATH = Drivers/CMSIS
3333
all: LishuiFOC_01.elf
3434

3535
# Tool invocations
36-
LishuiFOC_01.elf: $(OBJS) $(USER_OBJS) STM32F103C6Tx_FLASH_Bootloader.ld
36+
LishuiFOC_01.elf: $(OBJS) $(USER_OBJS) STM32F103C6Tx_FLASH.ld
3737
@echo 'Building target: $@'
3838
@echo 'Invoking: MCU GCC Linker'
39-
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -L $(SRC_PATH) -specs=nosys.specs -specs=nano.specs -T"STM32F103C6Tx_FLASH_Bootloader.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "build/EBiCS_Firmware.elf" @"objects.list" $(USER_OBJS) $(LIBS) -lm
39+
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -L $(SRC_PATH) -specs=nosys.specs -specs=nano.specs -T"STM32F103C6Tx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "build/EBiCS_Firmware.elf" @"objects.list" $(USER_OBJS) $(LIBS) -lm
4040
@echo 'Finished building target: $@'
4141
@echo ' '
4242
$(MAKE) --no-print-directory post-build

0 commit comments

Comments
 (0)