Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature wisun #12774

Merged
merged 6 commits into from
Apr 15, 2020
Merged

Feature wisun #12774

merged 6 commits into from
Apr 15, 2020

Commits on Apr 8, 2020

  1. targets:MIMXRT1050: Add QSPI Flash boot support

    NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
    small hardware reworks. Modify the XIP file to support boot
    from the two kinds of Flash device. The Hyper Flash should be
    the default device and defined in tartgets.json with the macro
    "HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
    macro with the below line in any overriding json file.
    	"target.macros_remove" : ["HYPERFLASH_BOOT"]
    
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    9f0206c View commit details
    Browse the repository at this point in the history
  2. targets:TARGET_IMX: Fix the flash init risk

    The flash access may fail when implementing flash
    initialization. So there is risk for interrupt handler
    which linked in flash space.
    
    Add the critical section to avoid the risk.
    
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    5a01e3e View commit details
    Browse the repository at this point in the history
  3. targets:TARGET_IMX: Fix the memset issue for FLASHIAP

    The memset function from c library will be linked in flash
    space, it's risk for FLASHIAP. So I wrote flexspi_memset
    to replace the memset for IMX FLASHIAP, and put the function
    into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
    platforms can declare it as extern and use in their Soc
    flexspi driver files.
    
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    e84699b View commit details
    Browse the repository at this point in the history
  4. targets:MIMXRT1050: Add QSPI Flash FLASHIAP support

    Update the flash driver to support both Hyper Flash
    and QSPI Flash.
    
    In addition, the static function cannot be linked to
    SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
    So remove all "static" modifier for the FLASHIAP
    functions.
    
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    5d3b11b View commit details
    Browse the repository at this point in the history
  5. targets:MIMXRT1050: Update link file for application

    For the application(firmware) booted by bootloader(OTA),
    the image doesn't need the "flash_config" and "ivt" header.
    So update the link file to support both kinds of application
    (firmware) booted by bootROM and bootloader.
    
    In default, the compilation will get the image with
    "flash_config" and "ivt" header, for example the bootloader
    compiling.
    
    When compiling the OTA application image, please add the
    line as below in the mbed_app.json file.
    
    	"target.macros_add" : ["MBED_APP_COMPILE"]
    
    This will remove the "flash_config" and "ivt" header in the
    final image.
    
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    40090c9 View commit details
    Browse the repository at this point in the history
  6. targets:MIMXRT1050: Add LPSPI4 support

    Add LPSPI4 PIN configurations.
    
    Signed-off-by: fred.li <fred.li@arm.com>
    Signed-off-by: Gavin Liu <gang.liu@nxp.com>
    liugang-gavin committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    cfc63e3 View commit details
    Browse the repository at this point in the history