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:
2019-08-07
Revision:
3:35ac9ee7d2d6
Child:
4:0f4affc00183

File content as of revision 3:35ac9ee7d2d6:

/*
 * 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:    July      29th, 2019
 */

/*
    You can select several programs.
 */
#define EXAMPLE_NUMBER     99      // select 0 to 10, 99 is special function

//----------------- 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_USB_MSD
    #ifdef EXAMPLE_7_USB_MSD
        #warning "Compile 7_USBMemory.cpp"
        #error "Under development!! 7_USBMemory.cpp"
    #endif
#elif EXAMPLE_NUMBER == 8
    #define EXAMPLE_8_AUDIO
    #ifdef EXAMPLE_8_AUDIO
        #warning "Compile 8_audio.cpp"
    #endif
#elif EXAMPLE_NUMBER == 9
    #define EXAMPLE_9_MANDEL
    #ifdef EXAMPLE_9_MANDEL
        #warning "Compile 9_Mandelbrot.cpp"
    #endif
#elif EXAMPLE_NUMBER == 10
    #define EXAMPLE_10_BITMAP
    #ifdef EXAMPLE_10_BITMAP
        #warning "Compile 10_DrawBitmap.cpp"
    #endif
#elif EXAMPLE_NUMBER == 99
    #define NIOI_SENSOR
#else
    #error " Please set 0 to 5 number for EXAMPLE_NUMBER!!"
#endif