Recently I’ve heard from my friend that some sort of ‘hooks’ can be set to modify the behavior of the RobotC VM or get some extra data by directly operating certain address of memory, I know it seems possible because the Flash and some other STM32 peripherals are operated in similar methods, but I don’t know if it is possible to do that in robotc. I know my targets are much more easier to achieve with PROS ,ConVEX and even EasyC, but RobotC VM is much more stable. Is there anyone who have done similar attempts before?
There are no “hooks” available in RobotC that provide any undocumented features. It is possible to access the STM32 peripherals by the use of pointers, a standard C feature, as the cortex uses memory mapped IO.