File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 17
17
#define MBED_QSPI_FLASH_MX25R6435F_H
18
18
19
19
20
- #define QSPI_FLASH_CHIP_STRING "MX25R6435F"
20
+ #define QSPI_FLASH_CHIP_STRING "macronix MX25R6435F"
21
21
22
22
// Command for reading status register
23
23
#define QSPI_CMD_RDSR 0x05
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
-
17
- #if !DEVICE_QSPI
18
- #error [NOT_SUPPORTED] test not supported
19
- #endif
20
-
21
16
#include " utest/utest.h"
22
17
#include " unity/unity.h"
23
18
#include " greentea-client/test_env.h"
28
23
#include " qspi_api.h"
29
24
30
25
26
+ #if !DEVICE_QSPI || !defined(QSPI_FLASH_CHIP_STRING)
27
+ #error [NOT_SUPPORTED] QSPI not supported for this target
28
+ #endif
29
+
31
30
using namespace utest ::v1;
32
31
33
32
// uncomment to enable verbose mode
You can’t perform that action at this time.
0 commit comments