C18001: Incompatible memory model (banked memory model) for the chosen derivative

[ERROR]

Description

The derivative you generate code for does not support code banking.

Tips

Chose a derivative that supports code banking or change the memory model to small or tiny.