Ignore:
Timestamp:
Jun 8, 2016, 7:55:53 AM (3 years ago)
Author:
Alexander Krutwig <alexander.krutwig@…>
Branches:
master
Children:
0c1413c
Parents:
006af6ac
git-author:
Alexander Krutwig <alexander.krutwig@…> (06/08/16 07:55:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/22/16 14:09:01)
Message:

bsp/atsam: Fix QSPI driver API

We support read/write of arbitrary buffers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/atsam/libraries/libchip/source/qspi.c

    r006af6ac r0fddefe  
    745745        QspidStatus_t Status = QSPI_UNKNOWN_ERROR;
    746746        QspiInstFrame_t *const pFrame = pQspid->pQspiFrame;
    747         uint32_t *pQspiMem = (uint32_t *)(QSPIMEM_ADDR | pFrame->Addr);
     747        void *pQspiMem = (void *)(QSPIMEM_ADDR | pFrame->Addr);
    748748        QspiBuffer_t    pBuffer     =  pQspid->qspiBuffer;
    749749
Note: See TracChangeset for help on using the changeset viewer.