In order to have a Studio or MPLABX project that uses optiboot for sw updates, while still permitted debugging using standard tools, it would be nice if there was a documented method for copying necessary Optiboot files into a project, and updating the project Properties.
Since Optiboot builds currently have a lot of magic happening in the Makefile(s), this might require a bit of restructuring. (See also #337 )
This could be done either by compiling Optiboot separately and somehow merging the binary with the application, or by being more careful with sections, global/local function definitions, and function names , so that the optiboot functionality could be linked with most applications.
(eg don't use "main()" as the start address._)
In order to have a Studio or MPLABX project that uses optiboot for sw updates, while still permitted debugging using standard tools, it would be nice if there was a documented method for copying necessary Optiboot files into a project, and updating the project Properties.
Since Optiboot builds currently have a lot of magic happening in the Makefile(s), this might require a bit of restructuring. (See also #337 )
This could be done either by compiling Optiboot separately and somehow merging the binary with the application, or by being more careful with sections, global/local function definitions, and function names , so that the optiboot functionality could be linked with most applications.
(eg don't use "main()" as the start address._)