Kenji Arai / Mbed OS DISCO-F469NI_BD_SD_Card_Control

Dependencies:   BSP_DISCO_F469NI_modified BD_SD_DISCO_F469NI

Fork of DISCO-F769NI_BD_SD_Card_Control by Kenji Arai

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers select_program.h Source File

select_program.h

00001 /*
00002  * DISCO-F469NI
00003  *
00004  * Copyright (c) 2019,'20,'21 Kenji Arai / JH1PJL
00005  *  http://www7b.biglobe.ne.jp/~kenjia/
00006  *  https://os.mbed.com/users/kenjiArai/
00007  *      Created:    December   6th, 2019
00008  *      Revised:    January   12th, 2021
00009  */
00010 
00011 /*
00012     You can select several programs.
00013  */
00014 #define EXAMPLE_NUMBER     1    // select 1 to 2
00015 
00016 //----------------- You don't need any modification ----------------------------
00017 #if EXAMPLE_NUMBER == 1
00018     #define MAIN_1
00019     #ifdef MAIN_1
00020         #warning "1_main.cpp"
00021     #endif
00022 #elif EXAMPLE_NUMBER == 2
00023     #define MAIN_2
00024     #ifdef MAIN_2
00025         #warning "2_main.cpp"
00026     #endif
00027 #else
00028     #error " Please set 1 to 3 number for EXAMPLE_NUMBER!!"
00029 #endif