结果编译时出现错误:Error[Lc036]: no block or place matches the pattern "ro code section FLASH_CODE in stm8l15x_flash.o"
根据错误在place in NearData 中添加了 ro section FLASH_CODE,
编译时有警告:
Warning[Lp005]: placement includes a mix of sections with content (example "ro code section FLASH_CODE in stm8l15x_flash.o") and sections without content (example "rw data section .near.data in Flash.o")
Warning[Lp006]: placement includes a mix of writable sections (example "rw data section .near.data in Flash.o") and non-writable sections (example "ro code section FLASH_CODE in stm8l15x_flash.o")