I have come across an issue that causes failure when attempting a fs api call that was initiated from within the
sl_HttpServerCallback (SimpleLinkHttpServerCallback) function.
I have come across this issue in the following environments: CC3200, CC3100/Tiva C, TI-RTOS and NO-OS....so basically under all varieties.
TI-RTOS provides some additional debug information, that makes it look like there may be a deadlock occurring. Though I tried to get around this by initiating the call on another thread by trying to use a Clock, Swi or Task. I even tried initiating a Swi with a Clock (to ensure the fs process occurred once the http callback had completed). These methods created a crash.
This issue effectively means you cannot use this method with the internal HTTP Server to POST and then save device configuration data onto the serial flash, Which will be a common requirement for many devices.
I am providing this post, so I can show how to workaround this problem, please see response below.
Glenn.