1 /* 2 * Copyright 2020-2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 /** 7 * @file Compiler_Cfg.h 8 * @implements Compiler_Cfg.h_Artifact 9 * @version 3.0.0 10 * 11 * @brief AUTOSAR BaseNXP - Module specific memory and pointer classes 12 * @details The file Compiler_Cfg.h contains the module specific parameters (ptrclass and 13 * memclass) that are passed to the macros defined in Compiler.h 14 * This file contains sample code only. It is not part of the production code deliverables 15 * 16 * @addtogroup BASENXP_COMPONENT 17 * @{ 18 */ 19 #ifndef COMPILER_CFG_H 20 #define COMPILER_CFG_H 21 22 #ifdef __cplusplus 23 extern "C"{ 24 #endif 25 26 27 /*================================================================================================== 28 * INCLUDE FILES 29 * 1) system and project includes 30 * 2) needed interfaces from external units 31 * 3) internal and external interfaces from this unit 32 ==================================================================================================*/ 33 34 /*================================================================================================== 35 * SOURCE FILE VERSION INFORMATION 36 ==================================================================================================*/ 37 38 /*================================================================================================== 39 * CONSTANTS 40 ==================================================================================================*/ 41 42 /*================================================================================================== 43 * DEFINES AND MACROS 44 ==================================================================================================*/ 45 /** 46 @{ 47 * @brief ADC memory and pointer classes. 48 */ 49 #define ADC_CODE 50 #define ADC_CONST 51 #define ADC_APPL_DATA 52 #define ADC_APPL_CONST 53 #define ADC_APPL_CODE 54 #define ADC_CALLOUT_CODE 55 #define ADC_VAR_NOINIT 56 #define ADC_VAR_POWER_ON_INIT 57 #define ADC_VAR_FAST 58 #define ADC_VAR 59 /**@}*/ 60 61 /** 62 @{ 63 * @brief CAN memory and pointer classes. 64 */ 65 #define CAN_CODE 66 #define CAN_CONST 67 #define CAN_APPL_DATA 68 #define CAN_APPL_CONST 69 #define CAN_APPL_CODE 70 #define CAN_CALLOUT_CODE 71 #define CAN_VAR_NOINIT 72 #define CAN_VAR_POWER_ON_INIT 73 #define CAN_VAR_FAST 74 #define CAN_VAR 75 /**@}*/ 76 77 /** 78 @{ 79 * @brief CAN_43_LLCE memory and pointer classes. 80 */ 81 #define CAN_43_LLCE_CODE 82 #define CAN_43_LLCE_CONST 83 #define CAN_43_LLCE_APPL_DATA 84 #define CAN_43_LLCE_APPL_CONST 85 #define CAN_43_LLCE_APPL_CODE 86 #define CAN_43_LLCE_CALLOUT_CODE 87 #define CAN_43_LLCE_VAR_NOINIT 88 #define CAN_43_LLCE_VAR_POWER_ON_INIT 89 #define CAN_43_LLCE_VAR_FAST 90 #define CAN_43_LLCE_VAR 91 /**@}*/ 92 93 /** 94 @{ 95 * @brief CANIF memory and pointer classes. 96 */ 97 #define CANIF_CODE 98 #define CANIF_CONST 99 #define CANIF_APPL_DATA 100 #define CANIF_APPL_CONST 101 #define CANIF_APPL_CODE 102 #define CANIF_CALLOUT_CODE 103 #define CANIF_VAR_NOINIT 104 #define CANIF_VAR_POWER_ON_INIT 105 #define CANIF_VAR_FAST 106 #define CANIF_VAR 107 /**@}*/ 108 109 /** 110 @{ 111 * @brief CRCU memory and pointer classes. 112 */ 113 #define CRCU_CODE 114 #define CRCU_CONST 115 #define CRCU_APPL_DATA 116 #define CRCU_APPL_CONST 117 #define CRCU_APPL_CODE 118 #define CRCU_CALLOUT_CODE 119 #define CRCU_VAR_NOINIT 120 #define CRCU_VAR_POWER_ON_INIT 121 #define CRCU_VAR_FAST 122 #define CRCU_VAR 123 /**@}*/ 124 125 /** 126 @{ 127 * @brief CSEC memory and pointer classes. 128 */ 129 #define CSEC_CODE 130 #define CSEC_CONST 131 #define CSEC_APPL_DATA 132 #define CSEC_APPL_CONST 133 #define CSEC_APPL_CODE 134 #define CSEC_CALLOUT_CODE 135 #define CSEC_VAR_NOINIT 136 #define CSEC_VAR_POWER_ON_INIT 137 #define CSEC_VAR_FAST 138 #define CSEC_VAR 139 /**@}*/ 140 141 /** 142 @{ 143 * @brief DEM memory and pointer classes. 144 */ 145 #define DEM_CODE 146 #define DEM_CONST 147 #define DEM_APPL_DATA 148 #define DEM_APPL_CONST 149 #define DEM_APPL_CODE 150 #define DEM_CALLOUT_CODE 151 #define DEM_VAR_NOINIT 152 #define DEM_VAR_POWER_ON_INIT 153 #define DEM_VAR_FAST 154 #define DEM_VAR 155 /**@}*/ 156 157 /** 158 @{ 159 * @brief DET memory and pointer classes. 160 */ 161 #define DET_CODE 162 #define DET_CONST 163 #define DET_APPL_DATA 164 #define DET_APPL_CONST 165 #define DET_APPL_CODE 166 #define DET_CALLOUT_CODE 167 #define DET_VAR_NOINIT 168 #define DET_VAR_POWER_ON_INIT 169 #define DET_VAR_FAST 170 #define DET_VAR 171 /**@}*/ 172 173 /** 174 @{ 175 * @brief DIO memory and pointer classes. 176 */ 177 #define DIO_CODE 178 #define DIO_CONST 179 #define DIO_APPL_DATA 180 #define DIO_APPL_CONST 181 #define DIO_APPL_CODE 182 #define DIO_CALLOUT_CODE 183 #define DIO_VAR_NOINIT 184 #define DIO_VAR_POWER_ON_INIT 185 #define DIO_VAR_FAST 186 #define DIO_VAR 187 /**@}*/ 188 189 /** 190 @{ 191 * @brief EEP memory and pointer classes. 192 */ 193 194 #define EEP_CODE 195 #define EEP_CONST 196 #define EEP_APPL_DATA 197 #define EEP_APPL_CONST 198 #define EEP_APPL_CODE 199 #define EEP_CALLOUT_CODE 200 #define EEP_VAR_NOINIT 201 #define EEP_VAR_POWER_ON_INIT 202 #define EEP_VAR_FAST 203 #define EEP_VAR 204 /**@}*/ 205 206 /** 207 @{ 208 * @brief ETH memory and pointer classes. 209 */ 210 211 #define ETH_CODE 212 #define ETH_CONST 213 #define ETH_APPL_DATA 214 #define ETH_APPL_CONST 215 #define ETH_APPL_CODE 216 #define ETH_CALLOUT_CODE 217 #define ETH_VAR_NOINIT 218 #define ETH_VAR_POWER_ON_INIT 219 #define ETH_VAR_FAST 220 #define ETH_VAR 221 /**@}*/ 222 223 /** 224 @{ 225 * @brief ETH memory and pointer classes. 226 */ 227 228 #define ETHIF_CODE 229 #define ETHIF_CONST 230 #define ETHIF_APPL_DATA 231 #define ETHIF_APPL_CONST 232 #define ETHIF_APPL_CODE 233 #define ETHIF_CALLOUT_CODE 234 #define ETHIF_VAR_NOINIT 235 #define ETHIF_VAR_POWER_ON_INIT 236 #define ETHIF_VAR_FAST 237 #define ETHIF_VAR 238 /**@}*/ 239 240 /** 241 @{ 242 * @brief ETH memory and pointer classes. 243 */ 244 245 #define ETHTRCV_CODE 246 #define ETHTRCV_CONST 247 #define ETHTRCV_APPL_DATA 248 #define ETHTRCV_APPL_CONST 249 #define ETHTRCV_APPL_CODE 250 #define ETHTRCV_CALLOUT_CODE 251 #define ETHTRCV_VAR_NOINIT 252 #define ETHTRCV_VAR_POWER_ON_INIT 253 #define ETHTRCV_VAR_FAST 254 #define ETHTRCV_VAR 255 /**@}*/ 256 257 /** 258 @{ 259 * @brief FEE memory and pointer classes. 260 */ 261 #define FEE_CODE 262 #define FEE_CONST 263 #define FEE_APPL_DATA 264 #define FEE_APPL_CONST 265 #define FEE_APPL_CODE 266 #define FEE_CALLOUT_CODE 267 #define FEE_VAR_NOINIT 268 #define FEE_VAR_POWER_ON_INIT 269 #define FEE_VAR_FAST 270 #define FEE_VAR 271 /**@}*/ 272 273 /** 274 @{ 275 * @brief FLS memory and pointer classes. 276 */ 277 #define FLS_CODE 278 #define FLS_CONST 279 #define FLS_APPL_DATA 280 #define FLS_APPL_CONST 281 #define FLS_APPL_CODE 282 #define FLS_CALLOUT_CODE 283 #define FLS_VAR_NOINIT 284 #define FLS_VAR_POWER_ON_INIT 285 #define FLS_VAR_FAST 286 #define FLS_VAR 287 /**@}*/ 288 289 /** 290 @{ 291 * @brief FlexRay memory and pointer classes. 292 */ 293 #define FR_CODE 294 #define FR_CONST 295 #define FR_APPL_DATA 296 #define FR_APPL_CONST 297 #define FR_APPL_CODE 298 #define FR_CALLOUT_CODE 299 #define FR_VAR_NOINIT 300 #define FR_VAR_POWER_ON_INIT 301 #define FR_VAR_FAST 302 #define FR_VAR 303 /**@}*/ 304 305 /** 306 @{ 307 * @brief GPT memory and pointer classes. 308 */ 309 #define GPT_CODE 310 #define GPT_CONST 311 #define GPT_APPL_DATA 312 #define GPT_APPL_CONST 313 #define GPT_APPL_CODE 314 #define GPT_CALLOUT_CODE 315 #define GPT_VAR_NOINIT 316 #define GPT_VAR_POWER_ON_INIT 317 #define GPT_VAR_FAST 318 #define GPT_VAR 319 /**@}*/ 320 321 /** 322 @{ 323 * @brief ICU memory and pointer classes. 324 */ 325 #define ICU_CODE 326 #define ICU_CONST 327 #define ICU_APPL_DATA 328 #define ICU_APPL_CONST 329 #define ICU_APPL_CODE 330 #define ICU_CALLOUT_CODE 331 #define ICU_VAR_NOINIT 332 #define ICU_VAR_POWER_ON_INIT 333 #define ICU_VAR_FAST 334 #define ICU_VAR 335 /**@}*/ 336 337 /** 338 @{ 339 * @brief I2C memory and pointer classes. 340 */ 341 #define I2C_CODE 342 #define I2C_CONST 343 #define I2C_APPL_DATA 344 #define I2C_APPL_CONST 345 #define I2C_APPL_CODE 346 #define I2C_CALLOUT_CODE 347 #define I2C_VAR_NOINIT 348 #define I2C_VAR_POWER_ON_INIT 349 #define I2C_VAR_FAST 350 #define I2C_VAR 351 /**@}*/ 352 353 /** 354 @{ 355 * @brief LIN memory and pointer classes. 356 */ 357 #define LIN_CODE 358 #define LIN_CONST 359 #define LIN_APPL_DATA 360 #define LIN_APPL_CONST 361 #define LIN_APPL_CODE 362 #define LIN_CALLOUT_CODE 363 #define LIN_VAR_NOINIT 364 #define LIN_VAR_POWER_ON_INIT 365 #define LIN_VAR_FAST 366 #define LIN_VAR 367 /**@}*/ 368 369 /** 370 @{ 371 * @brief LIN_43_LLCE memory and pointer classes. 372 */ 373 #define LIN_43_LLCE_CODE 374 #define LIN_43_LLCE_CONST 375 #define LIN_43_LLCE_APPL_DATA 376 #define LIN_43_LLCE_APPL_CONST 377 #define LIN_43_LLCE_APPL_CODE 378 #define LIN_43_LLCE_CALLOUT_CODE 379 #define LIN_43_LLCE_VAR_NOINIT 380 #define LIN_43_LLCE_VAR_POWER_ON_INIT 381 #define LIN_43_LLCE_VAR_FAST 382 #define LIN_43_LLCE_VAR 383 /**@}*/ 384 385 /** 386 @{ 387 * @brief LIN memory and pointer classes. 388 */ 389 #define LINIF_CODE 390 #define LINIF_CONST 391 #define LINIF_APPL_DATA 392 #define LINIF_APPL_CONST 393 #define LINIF_APPL_CODE 394 #define LINIF_CALLOUT_CODE 395 #define LINIF_VAR_NOINIT 396 #define LINIF_VAR_POWER_ON_INIT 397 #define LINIF_VAR_FAST 398 #define LINIF_VAR 399 /**@}*/ 400 401 /** 402 @{ 403 * @brief MCEM memory and pointer classes. 404 */ 405 #define MCEM_CODE 406 #define MCEM_CONST 407 #define MCEM_APPL_DATA 408 #define MCEM_APPL_CONST 409 #define MCEM_APPL_CODE 410 #define MCEM_CALLOUT_CODE 411 #define MCEM_VAR_NOINIT 412 #define MCEM_VAR_POWER_ON_INIT 413 #define MCEM_VAR_FAST 414 #define MCEM_VAR 415 /**@}*/ 416 417 /** 418 @{ 419 * @brief MCL memory and pointer classes. 420 */ 421 #define MCL_CODE 422 #define MCL_CONST 423 #define MCL_APPL_DATA 424 #define MCL_APPL_CONST 425 #define MCL_APPL_CODE 426 #define MCL_CALLOUT_CODE 427 #define MCL_VAR_NOINIT 428 #define MCL_VAR_POWER_ON_INIT 429 #define MCL_VAR_FAST 430 #define MCL_VAR 431 /**@}*/ 432 433 /** 434 @{ 435 * @brief MCU memory and pointer classes. 436 */ 437 #define MCU_CODE 438 #define MCU_CONST 439 #define MCU_APPL_DATA 440 #define MCU_APPL_CONST 441 #define MCU_APPL_CODE 442 #define MCU_CALLOUT_CODE 443 #define MCU_VAR_NOINIT 444 #define MCU_VAR_POWER_ON_INIT 445 #define MCU_VAR_FAST 446 #define MCU_VAR 447 /**@}*/ 448 449 /** 450 @{ 451 * @brief PMIC memory and pointer classes. 452 */ 453 #define PMIC_CODE 454 #define PMIC_CONST 455 #define PMIC_APPL_DATA 456 #define PMIC_APPL_CONST 457 #define PMIC_APPL_CODE 458 #define PMIC_CALLOUT_CODE 459 #define PMIC_VAR_NOINIT 460 #define PMIC_VAR_POWER_ON_INIT 461 #define PMIC_VAR_FAST 462 #define PMIC_VAR 463 /**@}*/ 464 465 /** 466 @{ 467 * @brief PORT memory and pointer classes. 468 */ 469 #define PORT_CODE 470 #define PORT_CONST 471 #define PORT_APPL_DATA 472 #define PORT_APPL_CONST 473 #define PORT_APPL_CODE 474 #define PORT_CALLOUT_CODE 475 #define PORT_VAR_NOINIT 476 #define PORT_VAR_POWER_ON_INIT 477 #define PORT_VAR_FAST 478 #define PORT_VAR 479 /**@}*/ 480 481 /** 482 @{ 483 * @brief PWM memory and pointer classes. 484 */ 485 #define PWM_CODE 486 #define PWM_CONST 487 #define PWM_APPL_DATA 488 #define PWM_APPL_CONST 489 #define PWM_APPL_CODE 490 #define PWM_CALLOUT_CODE 491 #define PWM_VAR_NOINIT 492 #define PWM_VAR_POWER_ON_INIT 493 #define PWM_VAR_FAST 494 #define PWM_VAR 495 /**@}*/ 496 497 498 /** 499 @{ 500 * @brief RamTST memory and pointer classes. 501 */ 502 #define RAMTST_CODE 503 #define RAMTST_CONST 504 #define RAMTST_APPL_DATA 505 #define RAMTST_APPL_CONST 506 #define RAMTST_APPL_CODE 507 #define RAMTST_CALLOUT_CODE 508 #define RAMTST_VAR_NOINIT 509 #define RAMTST_VAR_POWER_ON_INIT 510 #define RAMTST_VAR_FAST 511 #define RAMTST_VAR 512 /**@}*/ 513 514 /** 515 @{ 516 * @brief SENT memory and pointer classes. 517 */ 518 #define SENT_CODE 519 #define SENT_CONST 520 #define SENT_APPL_DATA 521 #define SENT_APPL_CONST 522 #define SENT_APPL_CODE 523 #define SENT_CALLOUT_CODE 524 #define SENT_VAR_NOINIT 525 #define SENT_VAR_POWER_ON_INIT 526 #define SENT_VAR_FAST 527 #define SENT_VAR 528 /**@}*/ 529 530 /** 531 @{ 532 * @brief SchM memory and pointer classes. 533 */ 534 #define SCHM_CODE 535 #define SCHM_CONST 536 #define SCHM_APPL_DATA 537 #define SCHM_APPL_CONST 538 #define SCHM_APPL_CODE 539 #define SCHM_CALLOUT_CODE 540 #define SCHM_VAR_NOINIT 541 #define SCHM_VAR_POWER_ON_INIT 542 #define SCHM_VAR_FAST 543 #define SCHM_VAR 544 /**@}*/ 545 546 /** 547 @{ 548 * @brief SPI memory and pointer classes. 549 */ 550 #define SPI_CODE 551 #define SPI_CONST 552 #define SPI_APPL_DATA 553 #define SPI_APPL_CONST 554 #define SPI_APPL_CODE 555 #define SPI_CALLOUT_CODE 556 #define SPI_VAR_NOINIT 557 #define SPI_VAR_POWER_ON_INIT 558 #define SPI_VAR_FAST 559 #define SPI_VAR 560 /**@}*/ 561 562 /** 563 @{ 564 * @brief TM memory and pointer classes. 565 */ 566 #define TM_CODE 567 #define TM_CONST 568 #define TM_APPL_DATA 569 #define TM_APPL_CONST 570 #define TM_APPL_CODE 571 #define TM_CALLOUT_CODE 572 #define TM_VAR_NOINIT 573 #define TM_VAR_POWER_ON_INIT 574 #define TM_VAR_FAST 575 #define TM_VAR 576 /**@}*/ 577 578 /** 579 @{ 580 * @brief WDG memory and pointer classes. 581 */ 582 #define WDG_CODE 583 #define WDG_CONST 584 #define WDG_APPL_DATA 585 #define WDG_APPL_CONST 586 #define WDG_APPL_CODE 587 #define WDG_CALLOUT_CODE 588 #define WDG_VAR_NOINIT 589 #define WDG_VAR_POWER_ON_INIT 590 #define WDG_VAR_FAST 591 #define WDG_VAR 592 /**@}*/ 593 594 /** 595 @{ 596 * @brief WDGIF memory and pointer classes. 597 */ 598 #define WDGIF_CODE 599 #define WDGIF_CONST 600 #define WDGIF_APPL_DATA 601 #define WDGIF_APPL_CONST 602 #define WDGIF_APPL_CODE 603 #define WDGIF_CALLOUT_CODE 604 #define WDGIF_VAR_NOINIT 605 #define WDGIF_VAR_POWER_ON_INIT 606 #define WDGIF_VAR_FAST 607 #define WDGIF_VAR 608 /**@}*/ 609 610 /** 611 * @brief Define for ComStack Data. 612 */ 613 #define AUTOSAR_COMSTACKDATA 614 615 /*================================================================================================== 616 * ENUMS 617 ==================================================================================================*/ 618 619 /*================================================================================================== 620 * STRUCTURES AND OTHER TYPEDEFS 621 ==================================================================================================*/ 622 623 /*================================================================================================== 624 * STRUCTURES AND OTHER TYPEDEFS 625 ==================================================================================================*/ 626 627 /*================================================================================================== 628 * FUNCTION PROTOTYPES 629 ==================================================================================================*/ 630 631 #ifdef __cplusplus 632 } 633 #endif 634 635 #endif /* #ifndef COMPILER_CFG_H */ 636 637 /** @} */ 638