Hi team,
I have successfully implemented a custom AT command (ATC+PA10) to control the PA10 GPIO on my RAK3172 module. My development process involved the following steps:
- First, I erased the entire memory of the module and flashed the official RUI3 v4.2.1 firmware (hex/bin) using STM32CubeProgrammer.
- Next, without erasing the firmware, I flashed my custom code which includes the additional AT command handler for PA10.
- After this, I am able to use both the standard AT commands and my custom AT command successfully.
However, this method requires flashing twice, which is not optimal.
My question:
Is there a way to merge my custom AT command handler and the official RUI3 (v4.2.1) AT command set into a single program or firmware image?
- Can I add a specific header file or source file to my custom code to achieve this?
- Or is there an official way to build a combined firmware that includes both the standard AT commands and any user-defined commands?
Looking for suggestions on the correct way to merge or include both the RUI3 official AT commands and my custom AT command in a single firmware image, or any best practices/documentation for this process.
Thanks in advance!