MD-2017: enabled external flash

MD-2017
Silvano Seva 2023-12-04 08:17:07 +01:00
rodzic 6c671cb206
commit dc48dc735f
2 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -377,8 +377,9 @@ md2017_src = src + stm32f405_src + ['platform/targets/MD-2017/platform.c',
'platform/drivers/backlight/backlight_MDx.c',
'platform/drivers/audio/audio_MDx.c',
'platform/drivers/tones/toneGenerator_MDx.cpp',
'platform/drivers/NVM/W25Qx.c',
'platform/drivers/NVM/nvmem_settings_MDx.c',
'platform/drivers/stubs/radio_stub.c',
'platform/drivers/stubs/nvmem_stub.c',
'platform/drivers/stubs/cps_io_stub.c']
md2017_src = md2017_src + openrtx_ui_default

Wyświetl plik

@ -98,10 +98,10 @@ extern "C" {
#define BEEP_OUT GPIOC,8 /* CTCSS tone */
/* External flash */
// #define FLASH_CS GPIOD,7
// #define FLASH_CLK GPIOB,3
// #define FLASH_SDO GPIOB,4
// #define FLASH_SDI GPIOB,5
#define FLASH_CS GPIOD,7
#define FLASH_CLK GPIOB,3
#define FLASH_SDO GPIOB,4
#define FLASH_SDI GPIOB,5
/* Audio control */
#define AUDIO_AMP_EN GPIOB,9