how to create one project and create bootloader and application respectively using compile option
There are a bootloader project and an application project to operate the device.
I am using it by compiling the bootloader project and creating a bootloader file.
I am using it by compiling the application project and creating an application file.
Currently, these two projects are using the same .ioc file.
The main.c file is used differently in the bootloader project and the application project.
I would like to know how to create one project and create bootloader and application respectively according to compilation options.
Below is the address area used by the bootloader and application software.
1. Bootloader software
1) FLASH Start address: 0x0800 0000, End address: 0x081f ffff
2) RAM Start address: 0x2000 0000, End address: 0x2002 ffff
2.Application software
1) FLASH Start address: 0x0802 0000, End address: 0x081f ffff
2) RAM Start address: 0x2000 0000, End address: 0x2002 ffff
