kopia lustrzana https://github.com/OpenRTX/OpenRTX
MD-2017: enabled external flash
rodzic
6c671cb206
commit
dc48dc735f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue