This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Errors with demo software

Apologies if this is obvious but I am a newbie to ARM and am struggling.

If I load STM32F429-Discovery EmWin example it compiles Ok.

Change the device from STM32F429ZIT to STM32F429IGT (on my board) I get errors:

compiling RTX_Conf_CM.c...
compiling SPI_STM32F4xx.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.2.0\CMSIS\Driver\SPI_STM32F4xx.c(600): warning: #177-D: function "SPIX_GetVersion" was declared but never referenced static ARM_DRIVER_VERSION SPIX_GetVersion (void) {
C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.2.0\CMSIS\Driver\SPI_STM32F4xx.c(610): warning: #177-D: function "SPIX_GetCapabilities" was declared but never referenced static ARM_SPI_CAPABILITIES SPIX_GetCapabilities (void) {
C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.2.0\CMSIS\Driver\SPI_STM32F4xx.c(622): warning: #177-D: function "SPI_Initialize" was declared but never referenced

etc.

If I now change back to original device I still get these errors. Why?

Parents
  • Thank you both for your quick response

    Sorry, you are quite right! There were 11 warnings and 1 error.
    However I don't understand why changing the device (which is just a different pin out)
    and then changing it back to the original again gives these errors/warnings.

    I have done a 'compile all target files' in all 3 cases.

    Having laid out a PCB with a lot of the components similar to the discovery board (slight changes in pin AFs)
    I thought I could just change the device/ pins to try a demo program out.

    (one version I have tried, compiles some of the time but often crashes the MDK program before downloading.

    I guess, from what you are saying, this is not the case and I really need to start afresh.

Reply
  • Thank you both for your quick response

    Sorry, you are quite right! There were 11 warnings and 1 error.
    However I don't understand why changing the device (which is just a different pin out)
    and then changing it back to the original again gives these errors/warnings.

    I have done a 'compile all target files' in all 3 cases.

    Having laid out a PCB with a lot of the components similar to the discovery board (slight changes in pin AFs)
    I thought I could just change the device/ pins to try a demo program out.

    (one version I have tried, compiles some of the time but often crashes the MDK program before downloading.

    I guess, from what you are saying, this is not the case and I really need to start afresh.

Children
No data