Skip to content

Commit

Permalink
Fix application offset and bootloader size
Browse files Browse the repository at this point in the history
  • Loading branch information
silverv committed Jun 27, 2022
1 parent dba3a32 commit 02f06be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 188 deletions.
2 changes: 1 addition & 1 deletion bootloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CSRC = $(shell find src -name '*.c' | sort) bxcan/bxcan.c
UINCDIR = src src/os kocherga/kocherga bxcan

UDEFS = -DHW_VERSION_MAJOR=$(HW_VERSION_MAJOR) \
-DAPPLICATION_OFFSET=61440 \
-DAPPLICATION_OFFSET=34816 \
-DBXCAN_MAX_IFACE_INDEX=0

# ChibiOS
Expand Down
186 changes: 0 additions & 186 deletions bootloader/ld.ld

This file was deleted.

2 changes: 1 addition & 1 deletion firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ BUILD_CHIBIOS_SHELL = 1

SERIAL_CLI_PORT_NUMBER = 1

BOOTLOADER_SIZE = 61440 # Including 256 bytes for DeviceSignatureStorage
BOOTLOADER_SIZE = 34816 # Including 256 bytes for DeviceSignatureStorage


# This firmware is compatible with all versions of hardware where the major number is 1 (i.e. 1.x),
Expand Down

0 comments on commit 02f06be

Please sign in to comment.