Giter VIP home page Giter VIP logo

Comments (5)

danyhm avatar danyhm commented on August 15, 2024 1

it was
static uint8_t memory[0x10000]; /* Create memory for dynamic allocations with specific size */
in gsm_ll_init function.
i forgot that library uses it's own memory management system. just like stemwin

from lwcell.

MaJerle avatar MaJerle commented on August 15, 2024

Hello @danyhm

I assume your implementation does not suffer due to flash (except if your application has already 240kB usage) but from RAM. Please check compiler (linker) output where it fails and which memory is missing.

I did not yet check for code size.

from lwcell.

danyhm avatar danyhm commented on August 15, 2024

@MaJerle
No my flash is almost empty (around 30kb for RTOS and a few simple functions.)
I don't think it's RAM , i have 32kb and RTOS is using just 10kb.
the linker says Main\Main.axf: Error: L6407E: Sections of aggregate size 0x134f0 bytes could not fit into .ANY selector(s).
and that's 79,088 bytes not being fitted. I think It's flash

from lwcell.

danyhm avatar danyhm commented on August 15, 2024

I Take that back, you were right it's ram. i'm going to investigate what is exactly using that much ram

from lwcell.

MaJerle avatar MaJerle commented on August 15, 2024

Maybe you are victim of direct copy/paste LL driver for STM32F0.
Look size of memory I used in case of WIN32. This memory is used for internal dynamic allocation for every command and received data packet. It is used by gsm_mem layer.

https://github.com/MaJerle/GSM_AT_Lib/blob/master/src/system/gsm_ll_win32.c#L189

from lwcell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.