MaJerle / lwcell

Lightweight cellular modem host AT library
MIT License
395 stars 147 forks source link

What are the hardware requirements #52

Closed adam-esp closed 3 years ago

adam-esp commented 3 years ago

RAM ROM I/O ?

MaJerle commented 3 years ago

Based on arch and your system implementation.

adam-esp commented 3 years ago

I understand but how much ROM do I need for the LWgsm library? Will the Cortex M0 do it?

MaJerle commented 3 years ago

This is not enough info. What is the arch you are using and what configuration would it be?

Using full configuration with GCC v9 for ARM, it took 21.34kB of ROM memory. With full optimization (for size), it took 13kB. This includes only LwGSM part and not low-level functions that are system important.

adam-esp commented 3 years ago

STM32Fxxx will only handle lwgsm support and communicate with ESP32 over SPI. I have too little I / O on ESP32, that's why this STM32. Do you think that 64kB ROM and 32kB RAM should be enough?

MaJerle commented 3 years ago

Seems OK for me.