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

select_program.h

Committer:
kenjiArai
Date:
9 months ago
Revision:
4:0f4affc00183
Parent:
3:35ac9ee7d2d6

File content as of revision 4:0f4affc00183:

/*
 * DISCO-F769NI
 *
 * Copyright (c) 2019 Kenji Arai / JH1PJL
 *  http://www.page.sannet.ne.jp/kenjia/index.html
 *  https://os.mbed.com/users/kenjiArai/
 *      Created:    July      17th, 2019
 *      Revised:    October   14th, 2019
 */

/*
    You can select several programs.
 */
#define EXAMPLE_NUMBER     7     // select 0 to 7

//----------------- You don't need any modification ----------------------------
#if EXAMPLE_NUMBER == 0
    #define EXAMPLE_0_BLINKY_LED
    #ifdef EXAMPLE_0_BLINKY_LED
        #warning "Compile 0_led_blinky.cpp"
    #endif
#elif EXAMPLE_NUMBER == 1
    #define EXAMPLE_1_CHECK_RTC
    #ifdef EXAMPLE_1_CHECK_RTC
        #warning "Compile 1_rtc.cpp"
    #endif
#elif EXAMPLE_NUMBER == 2
    #define EXAMPLE_2_LCD
    #ifdef EXAMPLE_2_LCD
        #warning "Compile 2_lcd.cpp"
    #endif
#elif EXAMPLE_NUMBER == 3
    #define EXAMPLE_3_LCD_TOUCH
    #ifdef EXAMPLE_3_LCD_TOUCH
        #warning "Compile 3_lcd_touch.cpp"
    #endif
#elif EXAMPLE_NUMBER == 4
    #define EXAMPLE_4_MICROSD
    #ifdef EXAMPLE_4_MICROSD
        #warning "Compile 4_microSD.cpp"
    #endif
#elif EXAMPLE_NUMBER == 5
    #define EXAMPLE_5_TCP_SERVER
    #ifdef EXAMPLE_5_TCP_SERVER
        #warning "Compile 5_tcp_server.cpp"
    #endif
#elif EXAMPLE_NUMBER == 6
    #define EXAMPLE_6_USBHOST_SERIAL
    #ifdef EXAMPLE_6_USBHOST_SERIAL
        #warning "Compile 6_USBHost_serial.cpp"
    #endif
#elif EXAMPLE_NUMBER == 7
    #define EXAMPLE_7_MANDEL
    #ifdef EXAMPLE_7_MANDEL
        #warning "Compile 8_Mandelbrot.cpp"
    #endif
#else
    #error " Please set 0 to 5 number for EXAMPLE_NUMBER!!"
#endif