)]}' { "commit": "b08c19f74560dc8885eaf04c47483817d28e13e2", "tree": "63ace450d974c79ca7777bd929b96d2a526d53a6", "parents": [ "534eba66ce4a5bda45d5edeeb81ac5a3cf6d0df8" ], "author": { "name": "Gaurav-Aggarwal-AWS", "email": "33462878+aggarg@users.noreply.github.com", "time": "Fri Apr 02 07:35:52 2021 -0700" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "time": "Fri Apr 02 07:35:52 2021 -0700" }, "message": "Define default values of macros before first use (#298)\n\nconfigSTACK_ALLOCATION_FROM_SEPARATE_HEAP was added recently in\r\nhttps://github.com/FreeRTOS/FreeRTOS-Kernel/pull/267. This macro was\r\nused in portable.h before its default value was defined, resulting in a\r\nwarning when built with -Wundef. This changes moves the default value\r\ndefinition for configSTACK_ALLOCATION_FROM_SEPARATE_HEAP to portable.h\r\nto ensure that it is defined before first use.\r\n\r\nportUSING_MPU_WRAPPERS check in mpu_wrappers.h was updated in\r\nhttps://github.com/FreeRTOS/FreeRTOS-Kernel/pull/285. The new check\r\nresults in a warning when built with -Wundef because\r\nportUSING_MPU_WRAPPERS is not defined yet. This changes adds the default\r\nvalue definition for portUSING_MPU_WRAPPERS to portable.h to ensure that\r\nit is defined before first use.\r\n\r\nSigned-off-by: Gaurav Aggarwal \u003caggarg@amazon.com\u003e", "tree_diff": [ { "type": "modify", "old_id": "6c3e82646c1d4f7a46f448dc3de0117bcdc772c7", "old_mode": 33188, "old_path": "include/FreeRTOS.h", "new_id": "87c67d7368b75b5515968948cdafdc661057fd74", "new_mode": 33188, "new_path": "include/FreeRTOS.h" }, { "type": "modify", "old_id": "6550c1e6a77fd8afc5c48d654eea697045b79e0d", "old_mode": 33188, "old_path": "include/mpu_wrappers.h", "new_id": "841b51a54d5216f5a3368ebe6555526b04d79bf5", "new_mode": 33188, "new_path": "include/mpu_wrappers.h" }, { "type": "modify", "old_id": "f836747f8dc2b25c8cb80ca11759c40a1415e7e2", "old_mode": 33188, "old_path": "include/portable.h", "new_id": "3768e2cd88879b3d16859bae57b92edc7362aa1d", "new_mode": 33188, "new_path": "include/portable.h" } ] }