Displaying 2 results from an estimated 2 matches for "nrf52".
2017 Oct 18
4
Global stack on Cortex-M4
Hi all !
I just learned about the Opus codec and would like to try it out on my
NRF52 (Cortex-M4) target. I've been struggling a bit with the
"trival_example.c" setup but repeatedly run into "hard fault" crashes
when stepping through the code.
Firstly; for a "bare bone" configuration, does the following compiler
directives make sense ?
UDEFS...
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...it initialized like so:
...
// For construction of filebuffers for cout, cin, cerr, clog et. al.
static ios_base::Init __ioinit;
...
This makes the program size increase enormously. The thing is that I often
compile programs for small platforms, like arm-cortex-m3 or arm-cortex-m4
(stm32, nrf52, ...). Including this header leads to the program size exceed
the FLASH memory size.
This is not a problem when you have full control over what you include. But
if you use external libraries and you don't want to mess with their
sources, or you are not able to, then it gets complicated.
To re...