C to assembly that runs directly on a COG
I am at the cusp of starting in on another project at work and would like to use the Propeller I chip as the microcontroller in the device. In my mind, it makes perfect sense to use it since it is extremely flexible and is much more capable than the ATMEGA/ATXMEGAs that we have been using previously. It is also really fast to program for since I don't have to go poking through datasheets to see if peripherals have overlapping pins or to figure out how to configure a peripheral.
My past experience is that the Propeller was hard to sell to an engineering team because it doesn't operate the same as the MCUs that people are used to. (It doesn't have peripherals/interrupts) Several months ago I evaluated a couple of compilers for the Propeller to see how they have changed since the last time I evaluated them. I was pleased to see that they have come a long way since I last did that about a decade ago. One problem that I saw though is that I am still stuck writing my peripherals in PASM. That is fine for me since I have experience with assembly language but the average programmer would rather eat tacks I think. The tests that I did seemed to indicate that the compilers were generating code that had a small kernel in the COG which loaded an instruction from the HUB and then executed it. If I could compile things from C/C++ to run directly in a COG then I think that things would be a lot less scary for the other programmers at work and would be efficient enough that peripherals could be written in those languages.
The two compilers that I evaluated were Flex GUI and Simple IDE. Is it possible in either of those to compile to run directly in a COG? I couldn't figure out how to do it.