]> granicus.if.org Git - esp-idf/commit
freertos: make sure xPortGetCoreID is placed into IRAM
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 29 Aug 2017 00:25:41 +0000 (08:25 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 29 Aug 2017 00:31:36 +0000 (08:31 +0800)
commiteb1b4f971bfca7a4a0f72190b730dc0571481725
treeb04cd7c010d529d3d42c4f74e208f7588578b182
parent3161854efbd3ff966c3adbf06c8ed8558eadbb5f
freertos: make sure xPortGetCoreID is placed into IRAM

In some cases, xPortGetCoreID was not inlined, and ended up in flash.
Since this function is used in many situations when cache is disabled,
that caused exceptions. Adding IRAM attribute to fix that.
components/freertos/include/freertos/portable.h
components/freertos/include/freertos/portmacro.h