I've compared the original KV4x freemaster_cfg.h file which is copied during the code Generation and made the following changings in reference to your post from shared M5 freemaster_cfg.h file. https://community.nxp.com/thread/469150#comment-982190
/******************************************************************************
* Select interrupt or poll-driven serial communication
******************************************************************************/
#define FMSTR_LONG_INTR 0 /* complete message processing in interrupt */
//old KV setting #define FMSTR_SHORT_INTR 0 /* SCI FIFO-queuing done in interrupt */
#define FMSTR_SHORT_INTR 1 /* SCI FIFO-queuing done in interrupt */
//old KV setting #define FMSTR_POLL_DRIVEN 1 /* no interrupt needed, polling only */
#define FMSTR_POLL_DRIVEN 0 /* no interrupt needed, polling only */
/* built-in recorder buffer (use when FMSTR_REC_OWNBUFF is 0) */
//old KV setting #define FMSTR_REC_BUFF_SIZE 1024 /* built-in buffer size */
#define FMSTR_REC_BUFF_SIZE 12278 /* built-in buffer size */
/* recorder time base, specifies how often the recorder is called in the user app. */
//old KV setting #define FMSTR_REC_TIMEBASE FMSTR_REC_BASE_MILLISEC(0) /* 0 = "unknown" */
#define FMSTR_REC_TIMEBASE FMSTR_REC_BASE_MICROSEC(100) /* 0 = "unknown" */
-------------------------------------------------------------------------------------------------
I also found this differences between the both files. Are there any further changings required or do I have to Change only the ones you explained in your post (see above) ?
/******************************************************************************
* Receive FIFO queue size (use with FMSTR_SHORT_INTR only)
******************************************************************************/
//KV4:
#define FMSTR_COMM_RQUEUE_SIZE 32 /* set to 0 for "default" */
//S32K:
#define FMSTR_COMM_RQUEUE_SIZE 0 /* set to 0 for "default" */
/*****************************************************************************
* Support for Application Commands
******************************************************************************/
//KV4:
#define FMSTR_USE_APPCMD 1 /* enable/disable App.Commands support */
#define FMSTR_APPCMD_BUFF_SIZE 32 /* App.Command data buffer size */
#define FMSTR_MAX_APPCMD_CALLS 4 /* how many app.cmd callbacks? (0=disable) */
//S32K:
#define FMSTR_USE_APPCMD 0 /* enable/disable App.Commands support */
#define FMSTR_APPCMD_BUFF_SIZE 0 /* App.Command data buffer size */
#define FMSTR_MAX_APPCMD_CALLS 0 /* how many app.cmd callbacks? (0=disable) */
/*****************************************************************************
* Target-side address translation (TSA)
******************************************************************************/
//KV4:
#define FMSTR_USE_TSA 0 /* enable TSA functionality */
#define FMSTR_USE_TSA_SAFETY 1 /* enable access to TSA variables only */
#define FMSTR_USE_TSA_INROM 1 /* TSA tables declared as const (put to ROM) */
//S32K:
#define FMSTR_USE_TSA 0 /* enable TSA functionality */
#define FMSTR_USE_TSA_SAFETY 0 /* enable access to TSA variables only */
#define FMSTR_USE_TSA_INROM 0 /* TSA tables declared as const (put to ROM) */