Modify Arduino frontend to new HAL.
Modify TI HAL to avoid dynamic allocation and use new Interfaces.
Add GPIO support.
Fix HAL filenames in stm32f100.cmake.
During heap alloc, check heap doesn't overflow stack.