µTasker Forum > STTM STM32 and STR91XF

Compile for STM32F746 fail

<< < (3/4) > >>

LuisHS:

ok, thanks.
I have replace _KINETIS by _STM32 and enable the define for the STM32F746, but there is none app_hw_stm32.h file to add the rest of parameters that you said in before post.



mark:
Hi

If using CooCox you need to open up the configuration and change the pre-processor define accordingly. For STM32 change _KINETIS to _STM32. Also change the linker script file to use the correct STM32 linker script file.

There are otherwise two separate IAR uTaskerSerialLoader projects - one for STM32 and one for KINETIS.

There are also two serarate GNU folders (with make files and liker scripts) for the two different processor families

Regards

Mark

LuisHS:
Yes, I saw, thanks.

I have replace _KINETIS by _STM32 and enable the define for the STM32F746G_DISCO, but there is none app_hw_stm32.h file to add the rest of parameters that you said in before post.

LuisHS:
 
I have add manually the app_hw_stm32.h file to the project, but though I have enable the define STM32F746G_DISCO, when I go to the app_hw_stm32.h, all the instructions for STM32F746G_DISCO are disabled.

I have closed and reopened the project, but they are always disabled.

LuisHS:

--- Quote from: mark on June 09, 2019, 10:51:14 PM ---
5. For SD card operation share the setup with other boards alreadiy using the SD card controller:
    #if defined STM3240G_EVAL || defined ST_MB997A_DISCOVERY || defined STM32F746G_DISCO
        #define SD_CONTROLLER_AVAILABLE                                  // use SDIO rather than SPI (necessary on STM3240G-EVAL board)


--- End quote ---

For this option, seem I need define also SDCARD_SUPPORT in config.h.
I must to do it here ??


--- Code: ---#if !defined TWR_K20D50M && !defined FRDM_K20D50M && !defined FRDM_KL46Z && !defined FRDM_KL43Z && !defined TWR_KL46Z48M && !defined FRDM_KL26Z && !defined FRDM_KL27Z && !defined TWR_KL25Z48M && !defined FRDM_KL02Z && !defined FRDM_KL03Z && !defined FRDM_KL05Z && !defined FRDM_KE02Z && !defined FRDM_KE02Z40M && !defined FRDM_KE04Z && !defined TWR_K20D72M && !defined TWR_K21D50M && !defined TWR_K22F120M && !defined TWR_K24F120M && !defined K24FN1M0_120 && !defined FRDM_K22F && !defined TWR_KV10Z32 && !defined TWR_KV31F120M && !defined K66FX1M0 // boards have no SD card socket
  //#define SDCARD_SUPPORT                                               // SD-card interface (only choose one of these options at a time)
  //#define SPI_FLASH_FAT                                                // SPI flash
        #define SIMPLE_FLASH                                             // don't perform block management and wear-levelling
        #define FLASH_FAT_MANAGEMENT_ADDRESS     (SIZE_OF_FLASH)
  //#define DELETE_SDCARD_FILE_AFTER_UPDATE
--- End code ---


I must enable only one of the four options ?
Now there are enable two options


--- Code: ---  //#define SDCARD_SUPPORT                                               // SD-card interface (only choose one of these options at a time)
  //#define SPI_FLASH_FAT                                                // SPI flash
    #define SIMPLE_FLASH                                             // don't perform block management and wear-levelling
    #define FLASH_FAT_MANAGEMENT_ADDRESS     (SIZE_OF_FLASH)

--- End code ---




Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version