6 years ago.

MTB_ADV_WISE_1530 compilation error: Target "GENERIC_PLACEHOLDER" is not recognized

I can not compile for the WISE-1530 module. I always get the error: Target "GENERIC_PLACEHOLDER" is not recognized.

I don't suppose that the error depends on my code. Any ideas how to fix this? I use the latest version of mbed and the online compiler.

My simple code to get started

#include "mbed.h"

int main()
{
    DigitalIn test(PA5);
    return 0;   
}

1 Answer

6 years ago.

Hi Dominik,

We're sorry but we think we are experiencing intermittent back-end issues with Online Compiler. We ran a series of tests for the Wise-1530 and about half the time we could build successfully. When it failed we saw a different message than yours.

Could you please try this again and let us know if you still an error? That particular message indicates that the platform is not yet supported... but it is. If you continue to have issues and you need immediate access to a build system, please move to our command line interface (CLI). If you aren't familiar with CLI, the official markdown documentation is here on the project page:

We also have a tutorial here:

We have raised this with our tools team and apologize for the inconvenience.

Regards,

Ralph, Team Mbed

Accepted Answer

Hi Ralph,

Thanks for your answer. I tried to compile again and I get the same error message again, but what I should have mentioned is that there are two "platforms" of the WISE-1530.

On the following page you can add the module to the compiler by clicking "Add to Mbed Compiler" which adds "Advantech WISE-1530" as target to the compiler. But on the same website is mentioned two lines below the button that one should use "MTB_ADV_WISE_1530" as target name. This targetname is also used when I click on the MBED.HTM in the DAPLINK folder of my development board. It looks like one of this two is obsolete.

https://os.mbed.com/modules/advantech-wise-1530/

For the two different targets I get a different behavior in the compiler:

Target: Advantech WISE-1530 Last week or two weeks ago I was able to compile the program but now I get the this error: Error: Undefined symbol asm_23_NanostackRfPhyAtmel_cpp_b3c216a9_Z10delay_loopj (referred from ../../build/mbed-os/components/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAtmel.MTB_ADV_WISE_1530.o). There migth also be some bug with the pin mapping as the pin names lik PA5 or GPIO0 (mentioned on the same page as before) are not defined. When I use the standard STM pin names like PA_5 it works.

Target: MTB_ADV_WISE_1530 Only with this target I get the placeholder error: Error: Target "GENERIC_PLACEHOLDER" is not recognized Because of the error I don't know whether this target has the same issue with pin names.

But I tested your solution with the CLI version and luckily I have no compiler problems. It works fine now, with the CLI I have no problems at all. The pin names like PA_6 instead of PA6 are still not consistent but thats just a minor flaw. Another information, the compiler detects my development board as MTB_ADV_WISE_1530 and I use the GCC ARM compiler.

Thank you very much and best regards,

Dominik

posted by Dominik W 16 Nov 2018