feather-rp2040,macropad-rp2040: fix qspi-flash settings
Этот коммит содержится в:
родитель
401bd89664
коммит
7eaad62568
3 изменённых файлов: 20 добавлений и 3 удалений
|
@ -6,7 +6,7 @@
|
|||
// rp2040-boot-stage2.S
|
||||
//
|
||||
|
||||
#define BOARD_PICO_FLASH_SPI_CLKDIV 2
|
||||
#define BOARD_PICO_FLASH_SPI_CLKDIV 4
|
||||
#define BOARD_CMD_READ 0xe7
|
||||
#define BOARD_QUAD_OK 1
|
||||
#define BOARD_QUAD_ENABLE_STATUS_BYTE 2
|
||||
|
@ -14,4 +14,4 @@
|
|||
#define BOARD_SPLIT_STATUS_WRITE 1
|
||||
#define BOARD_WAIT_CYCLES 2
|
||||
|
||||
#include "rp2040-boot-stage2.S"
|
||||
#include "rp2040-boot-stage2.S"
|
||||
|
|
17
targets/macropad-rp2040-boot-stage2.S
Обычный файл
17
targets/macropad-rp2040-boot-stage2.S
Обычный файл
|
@ -0,0 +1,17 @@
|
|||
// Adafruit MacroPad RP2040 Stage 2 Bootloader
|
||||
|
||||
//
|
||||
// This file defines the parameters specific to the flash-chip found
|
||||
// on the Adafruit MacroPad RP2040. The generic implementation is in
|
||||
// rp2040-boot-stage2.S
|
||||
//
|
||||
|
||||
#define BOARD_PICO_FLASH_SPI_CLKDIV 4
|
||||
#define BOARD_CMD_READ 0xeb
|
||||
#define BOARD_QUAD_OK 1
|
||||
#define BOARD_QUAD_ENABLE_STATUS_BYTE 2
|
||||
#define BOARD_QUAD_ENABLE_BIT_MASK 2
|
||||
#define BOARD_SPLIT_STATUS_WRITE 0
|
||||
#define BOARD_WAIT_CYCLES 4
|
||||
|
||||
#include "rp2040-boot-stage2.S"
|
|
@ -7,6 +7,6 @@
|
|||
"serial-port": ["acm:239a:8107"],
|
||||
"linkerscript": "targets/pico.ld",
|
||||
"extra-files": [
|
||||
"targets/pico-boot-stage2.S"
|
||||
"targets/macropad-rp2040-boot-stage2.S"
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче