Closed bulldog5046 closed 2 years ago
Further. If you manually correct the changes to znp.syscfg
scripting.excludeFromBuild("ti_radio_config.c");
scripting.excludeFromBuild("ti_radio_config.h");
scripting.excludeFromBuild("ti_drivers_config.h");
This causes a build failure due to missing modules.
Removing these lines results in build failure due to size issues.
error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".TI.bound:flashBuf0" size 0x6000
error #10010: errors encountered during linking; "znp_CC1352P_2_LAUNCHXL_tirtos_ccs.out" not built
>> Compilation failure
makefile:265: recipe for target 'znp_CC1352P_2_LAUNCHXL_tirtos_ccs.out' failed
gmake[1]: *** [znp_CC1352P_2_LAUNCHXL_tirtos_ccs.out] Error 1
makefile:261: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Can you try the instructions of the new SDK? https://github.com/Koenkk/Z-Stack-firmware/blob/develop/coordinator/Z-Stack_3.x.0/COMPILE.md
Regarding the znp.syscfg
make sure you resave those files as explained in step 5.
After digging through for awhile I eventually discovered the --reject switch for git apply. I think it's windows file permissions not playing well with git.
There seem to be some errors when following the compile instructions.
Firstly, applying the git patch file:
And secondly, Step 8 which reads
preinclude.h does not exist.
I'm not sure the latter should really be a problem in my case but the built firmware does not function correctly. It flashes, and seems to respond to some commands but the NVRam doesn't look right when backed up and it fails to form a network. In contract the precompiled firmware works fine.
I could use some help as i need to change the default TC link key and this is the only was to do it.