Skip to main content
Visitor II
July 25, 2019
Solved

STEVAL_SMARTAG1 Error to follow the quick start guide

  • July 25, 2019
  • 1 reply
  • 685 views

0690X000009Z5RYQA0.bmpI am having this problem with this product, as I could not compile the provided firmware successfully once I enable the UART printf. I am using the keil project. once I uncomment the UART printf . I got the following error:

error Due to flash size constraints on STEVAL-SMARTAG1, SMARTAG_ENABLE_DEBUG and SMARTAG_ENABLE_PRINTF features are not available

According to the documentation this problem occurs only with open STM32 IDE . Is there something I am missing. I would really appreciate your help.

best regards

    This topic has been closed for replies.
    Best answer by Salvatore Curti

    ​Hello,

    it is a known issue, as you can read in the release note:

    ISSUE

    • Due to flash size constraints on STEVAL-SMARTAG1:
      • UART is not available
      • Binary generated by System Workbench for STM32 is not available (the IDE project is removed)
      • Debug mode is not available.

    if it is necessary to use the UART, he can try to comment this line code

    #if defined(SMARTAG_ENABLE_DEBUG) || defined(SMARTAG_ENABLE_PRINTF)

    #error Due to flash size constraints on STEVAL-SMARTAG1, SMARTAG_ENABLE_DEBUG and SMARTAG_ENABLE_PRINTF features are not available

    #endif

    in the file SmarTagConf.h (lines 68,69,70) trying to enable the only necessary "SMARTAG_PRINTF" (one at a time and leave the others commented).

    Regards,

    Salvatore Curti.

    1 reply

    ST Employee
    July 26, 2019

    ​Hello,

    it is a known issue, as you can read in the release note:

    ISSUE

    • Due to flash size constraints on STEVAL-SMARTAG1:
      • UART is not available
      • Binary generated by System Workbench for STM32 is not available (the IDE project is removed)
      • Debug mode is not available.

    if it is necessary to use the UART, he can try to comment this line code

    #if defined(SMARTAG_ENABLE_DEBUG) || defined(SMARTAG_ENABLE_PRINTF)

    #error Due to flash size constraints on STEVAL-SMARTAG1, SMARTAG_ENABLE_DEBUG and SMARTAG_ENABLE_PRINTF features are not available

    #endif

    in the file SmarTagConf.h (lines 68,69,70) trying to enable the only necessary "SMARTAG_PRINTF" (one at a time and leave the others commented).

    Regards,

    Salvatore Curti.