[Core] Use CRC calculation subsystem for split_common #13418
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Now that the compilation bugs have been cleared out in #13253 switch the new transaction system implemented in #13353 to use the CRC functions added in #12641.
@XScorpion2 had issues with stripped
crc8
functions in their build. So I compiled both an AVR build of CRKBD and an ARM build of zvecr's split blackpill with and without LTO enabled. The functions are present under all configurations. This is the disassembly of the ELF files for thecrc8
functions:AVR GCC 5.4.0
make crkbd/rev1:default
avr-gdb -batch -ex "disassemble/rs 'crc8.constprop.13'" crkbd_rev1_default.elf
ASM DUMP
ARM GCC 10.2.1
make zvecr/split_blackpill:default
gdb-multiarch -batch -ex "disassemble/rs crc8" zvecr_split_blackpill_default.elf
ASM DUMP
Types of Changes
Issues Fixed or Closed by This PR
Checklist