Using more of RAM over ROM is better or not
Hi, I have been using PWM with DMA in one project with register-level programming, there i could find the RAM usage was around 28% and the ROM usage was hardly 0.5%. The similar application project when i tried with using HAL API's, I found the RAM usage was 6% and ROM usage was 3%. So i don't understand how there is so much difference when i use HAL over register level programming. At the same time using more of RAM is better or utilization of ROM is better?