microSD Card control function for DISCO-F469NI based on BD_SD_DISCO_F746NG library by Roy Krikke
Dependencies: BSP_DISCO_F469NI_modified BD_SD_DISCO_F469NI
Fork of DISCO-F769NI_BD_SD_Card_Control by
Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/
Diff: select_program.h
- Revision:
- 8:3c5373ba612a
- Child:
- 9:b819be925e97
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/select_program.h Sat Dec 07 03:26:31 2019 +0000 @@ -0,0 +1,34 @@ +/* + * DISCO-F469NI + * + * Copyright (c) 2019 Kenji Arai / JH1PJL + * http://www.page.sannet.ne.jp/kenjia/index.html + * https://os.mbed.com/users/kenjiArai/ + * Created: December 6th, 2019 + * Revised: December 7th, 2019 + */ + +/* + You can select several programs. + */ +#define EXAMPLE_NUMBER 1 // select 1 to 3 + +//----------------- You don't need any modification ---------------------------- +#if EXAMPLE_NUMBER == 1 + #define MAIN_1 + #ifdef MAIN_1 + #warning "1_main.cpp" + #endif +#elif EXAMPLE_NUMBER == 2 + #define MAIN_2 + #ifdef MAIN_2 + #warning "2_main.cpp" + #endif +#elif EXAMPLE_NUMBER == 3 + #define MAIN_3 + #ifdef MAIN_3 + #warning "3_main.cpp" + #endif +#else + #error " Please set 1 to 3 number for EXAMPLE_NUMBER!!" +#endif