<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I am getting a hard fault before main with os_sem or os_mut functions</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/39103/i-am-getting-a-hard-fault-before-main-with-os_sem-or-os_mut-functions</link><description> 
Hello all, 
I am trying to protect my display device with a mutex or semaphore.
When I add functions (os_sem or os_mut) to my object the project
compiles fine, but I get into the HardFault_Handler before I even hit
main. It seems like the presence of</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator></channel></rss>