0369db718c
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for gcc to avoid passing gcc flags to g++.
1. M4 run on flash bank A. M0 run on flash bank B and the binary code of M0 is embedded into the code of M4. 3. Compile the project in M0/ first and then compile the project in M4/. Then flash it into the chip with JLink.