Several examples run on only mbed-os5.13.0 (not 5.14.0)

Dependencies:   BD_SD_DISCO_F769NI BSP_DISCO_F769NI LCD_DISCO_F769NI TS_DISCO_F769NI USBHost_F769NI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers select_program.h Source File

select_program.h

00001 /*
00002  * DISCO-F769NI
00003  *
00004  * Copyright (c) 2019 Kenji Arai / JH1PJL
00005  *  http://www.page.sannet.ne.jp/kenjia/index.html
00006  *  https://os.mbed.com/users/kenjiArai/
00007  *      Created:    July      17th, 2019
00008  *      Revised:    October   14th, 2019
00009  */
00010 
00011 /*
00012     You can select several programs.
00013  */
00014 #define EXAMPLE_NUMBER     7     // select 0 to 7
00015 
00016 //----------------- You don't need any modification ----------------------------
00017 #if EXAMPLE_NUMBER == 0
00018     #define EXAMPLE_0_BLINKY_LED
00019     #ifdef EXAMPLE_0_BLINKY_LED
00020         #warning "Compile 0_led_blinky.cpp"
00021     #endif
00022 #elif EXAMPLE_NUMBER == 1
00023     #define EXAMPLE_1_CHECK_RTC
00024     #ifdef EXAMPLE_1_CHECK_RTC
00025         #warning "Compile 1_rtc.cpp"
00026     #endif
00027 #elif EXAMPLE_NUMBER == 2
00028     #define EXAMPLE_2_LCD
00029     #ifdef EXAMPLE_2_LCD
00030         #warning "Compile 2_lcd.cpp"
00031     #endif
00032 #elif EXAMPLE_NUMBER == 3
00033     #define EXAMPLE_3_LCD_TOUCH
00034     #ifdef EXAMPLE_3_LCD_TOUCH
00035         #warning "Compile 3_lcd_touch.cpp"
00036     #endif
00037 #elif EXAMPLE_NUMBER == 4
00038     #define EXAMPLE_4_MICROSD
00039     #ifdef EXAMPLE_4_MICROSD
00040         #warning "Compile 4_microSD.cpp"
00041     #endif
00042 #elif EXAMPLE_NUMBER == 5
00043     #define EXAMPLE_5_TCP_SERVER
00044     #ifdef EXAMPLE_5_TCP_SERVER
00045         #warning "Compile 5_tcp_server.cpp"
00046     #endif
00047 #elif EXAMPLE_NUMBER == 6
00048     #define EXAMPLE_6_USBHOST_SERIAL
00049     #ifdef EXAMPLE_6_USBHOST_SERIAL
00050         #warning "Compile 6_USBHost_serial.cpp"
00051     #endif
00052 #elif EXAMPLE_NUMBER == 7
00053     #define EXAMPLE_7_MANDEL
00054     #ifdef EXAMPLE_7_MANDEL
00055         #warning "Compile 8_Mandelbrot.cpp"
00056     #endif
00057 #else
00058     #error " Please set 0 to 5 number for EXAMPLE_NUMBER!!"
00059 #endif