You are reading a single comment by @LaplaceG and its replies. Click here to read the full conversation.
  • Woah!

    It's working. Basically the whole setup was correct including the linker file for the EFM32, but I hadn't guarded the generation of the linker file $(LINKER_FILE): scripts/build_linker.py, so it would overwrite it. Took me a bit to figure that out. We should maybe add a more generic guard around that for other targets that wants to use their own linker file.

    Then, ran into the problem of ALWAYS_INLINE, but setting DEBUG=1 solved it (by skipping the attribute).

    Right now it's compiling and running, but currently when including the jsvInit(); in main.c, causes the compiler to exit with undefined reference to `_sbrk' and undefined reference to `_etext'. Probably no biggie, so will see how it goes.

About

Avatar for LaplaceG @LaplaceG started