gcc-arm-none-eabi-4.7-2013q1 -> Problems with malloc
Asked by
Robert Chudalla
Test ! (used CPU stm32f407)
void *p;
p = malloc(50);
if (!p)
{
error = ERRCODE_
}
else
{
error = ERRCODE_SUCCESS;
}
// Pointer p always = 0 with gcc-arm-
// Pointer p = 0x200037b8 (HEAP RAM Area) with gcc-arm-
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Chudalla
- Solved:
- Last query:
- Last reply:
To post a message you must log in.