Hello,
When compiling our application with OpenMP enabled, the EDMA3-LLD fails to initialize - even when we are not using any parallel sections / code.
The initialization is done in strictly serial code, I am quite puzzeld why it fails - however it works perfectly fine when compiling with openmp disabled.
The hang occurs in edma3init():
EDMA3_MAX_RM_INSTANCES is some bogus uninitialized value.
As soon as uncommenting the openmp-specific parts of the cfg-file and linking against rts6600_elf_mt.lib instead of rts6600_elf.lib, the following code prints instead of 8 some undefined negative value:
extern const uint32_t EDMA3_MAX_RM_INSTANCES;
void initDMA() {
printf("RM Instances %d \n", EDMA3_MAX_RM_INSTANCES);
}
I would be really grateful for ideas about what could be the issue here.
We are using cgt 7.4b2 with openmp sys/bios runtime 1.1.2.03_beta, and EDMA-LLD 2.11.5.
Thank you in advance, Clemens