Other Parts Discussed in Thread: SYSCONFIG, CC2674R10
Hello,
We’ve migrated to a newer version of the TI-Matter repo and see that our previously extended lock-app not longer fits in memory. Using the older TI-Matter repo we were able to get things to fit by slightly reducing TOTAL_ICALL_HEAP_SIZE inside main.cpp, but that no longer appears to be an option for the newer TI-Matter tree as it is even more space constrained than the version we had previously been using. We have two questions:
1. Is TI still feeling confident that the CC2652R7 is a reasonable platform for delivering Matter accessories to market?
2. Is there an expectation that in the future the examples will start get smaller instead of continuing to get larger?
Machine: MacBook Pro
Chip: Quad-Core Intel Core i7
MacOS: Monterey 12.6.6
Repo setup.
$ mkdir ~/TI-Matter
$ git clone --recurse-submodules github.com/.../matter.git
$ cd ~/TI-Matter/matter
$ git submodule update --init
$ git status
On branch v1.0-ti-branch
Your branch is up-to-date with 'origin/v1.0-ti-branch'.
nothing to commit, working tree clean
$ git log -n 1
commit 8a3ca52165e54701bac483c37d83f6da79c63e16
Merge: ae743eb aad19cd
Author: adabreuti <76965454+adabreuti@users.noreply.github.com>
Date: Thu Apr 13 16:31:21 2023 -0500
Merge pull request #15 from adabreuti/v1.0.0.2-downstream
Update Lighting app PID
$ source scripts/activate.sh
$ source scripts/bootstrap.sh
$ cd ~/TI-Matter/matter/examples/lock-app/cc13x2x7_26x2x7
$ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.15.0\""
$ ninja -v -C out/debug
Link Failure (lock-app with extended with additional Vendor Logic).
FAILED: chip-LP_CC2652R7-lock-example.out chip-LP_CC2652R7-lock-example.out.map
arm-none-eabi-g++ -L../../third_party/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx/source gen/sysconfig/ti_utils_build_linker.cmd.genlibs -T../../third_party/connectedhomeip/src/platform/cc13xx_26xx/cc13x2_26x2/cc13x2x7_cc26x2x7_freertos_ota.lds -march=armv7e-m -mcpu=cortex-m4 -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -Os --specs=nosys.specs --specs=nano.specs -Werror -Wl,--fatal-warnings -fdiagnostics-color -Wl,--gc-sections -nostartfiles -fno-exceptions -fno-unwind-tables -Wl,-Map,./chip-LP_CC2652R7-lock-example.out.map @./chip-LP_CC2652R7-lock-example.out.rsp -o ./chip-LP_CC2652R7-lock-example.out
/Users/Kranz/puzl/TI-Matter/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: section .nvs VMA [00000000000aa000,00000000000adfff] overlaps section .rodata VMA [000000000008fbb0,00000000000aac1e]
/Users/Kranz/puzl/TI-Matter/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: section .ARM.exidx VMA [00000000000ab8fc,00000000000ab903] overlaps section .nvs VMA [00000000000aa000,00000000000adfff]
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Thanks,
Steve K.