mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Add warnings about mixing untested memory models in the RL78 port.
This commit is contained in:
parent
d500594b8a
commit
03e2338deb
1 changed files with 8 additions and 0 deletions
|
@ -74,6 +74,14 @@ extern "C" {
|
|||
*-----------------------------------------------------------
|
||||
*/
|
||||
|
||||
#if __DATA_MODEL__ == __DATA_MODEL_FAR__ && __CODE_MODEL__ == __CODE_MODEL_NEAR__
|
||||
#warning This port has not been tested with your selected memory model combination. If a far data model is required it is recommended to also use a far code model.
|
||||
#endif
|
||||
|
||||
#if __DATA_MODEL__ == __DATA_MODEL_NEAR__ && __CODE_MODEL__ == __CODE_MODEL_FAR__
|
||||
#warning This port has not been tested with your selected memory model combination. If a far code model is required it is recommended to also use a far data model.
|
||||
#endif
|
||||
|
||||
/* Type definitions. */
|
||||
|
||||
#define portCHAR char
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue