Hi there,
I want to send variables from the M4 core to the M7 core via the RPC.
My problem is, that the M4 core stops after one loop,
so 41000 is received in the M7, and the blue led stays blue..
Also the compiler gives one warning:
/Users//Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld:/private/var/folders/f6/pwrqhmvx22s9qt6c96xsmg940000gn/T/arduino-sketch-D641DE4086A9B4D852C2E0B2296E2BEA/linker_script.ld:102: warning: memory region `DTCMRAM' not declared
#include "RPC.h"
void setup(){
RPC.begin();
pinMode(LEDB, OUTPUT);
}
int32_t send= 40000;
bool toggle;
void loop(){
send <160000 ? send=send+1000 : send=1000;
RPC.call("setRPCvar", send);
delay(1000);
toggle = !toggle;
toggle ? digitalWrite(LEDB, HIGH) : digitalWrite(LEDB, LOW);
}
anyone an idea? what could be wrong here?
Thanks