Embedding lua script in firmware

Is there any way to embed lua script in firmware without using SD card ?

I want to embed “/libraries/AP_Scripting/examples/button_test.lua” in firmware for some functionality.

Step 6 in here:
https://ardupilot.org/dev/docs/common-oem-customizations.html#

2 Likes