Inline assembler error in keil compiler in portmacro.h in TIVA c series

cvkolhe wrote on Monday, August 28, 2017:

I am trying to build a demo project(enet_s2e) provided by TI on a Tiva TM4C129ENCPDT board. I am using keil compiler. However, I am getting the error-“Inline assembler not permitted when generating thumb code” while building the application. The Freertos version I am using is 8.2.3. The source code of freertos was provided in Tivaware itself.

rtel wrote on Monday, August 28, 2017:

It sounds like you are building the wrong file - one that is for use
with a different compiler. It might be that the Keil project is set up
for the wrong compiler - I think you can use either the legacy ARM or
new compiler in Keil.