RFC: PowerPC bsp_specs Clean Up Question

2017-12-11 Thread Joel Sherrill
Hi Many of the PowerPC BSPs uses a shared linker script. That's good. Unfortunately, there is variation in the start symbol and the use of a "-u" (e.g. undefined) symbol in the bsp_specs. I had initially thought I would add the start symbol and any use of -u to the linkcmds (EXTERN). But now I am

Malloc from ISR?

2017-12-11 Thread Mr. Andrei Chichak
I’m working with ST’s HAL USB stack, and to initialize the various structures, they use a USB interrupt as a trigger. In this interrupt, they malloc some space for a descriptor (504 bytes). The RTEMS malloc always returns 0. Is there a guard against calling malloc in an interrupt context? I m