Sample Code for LycHEE

I am Not accessible  for the Following Example Code

 

Sample program

Below is a sample program of BLE. 

Note : In the IDE for GR V 1.03, the parser does not operate properly due to the linker option "--specs = nano.specs", and "fail to get service" occurs. Although it is troublesome , replace "platform.txt" in IDE for GR folder "ide4gr - 1.03 \ hardware \ arduino \ rza1lu \" here .

  • "Not access" means you have an error from IDE for GR ? Can you try Web Compiler or e2studio ?

    I attached platform.txt for your IDE for GR for windows as following.

    platform.txt
    # RZ/A1LU and platform.
    # ------------------------------
    
    # For more info:
    
    name=Renesas RZ/A1LU
    #version=1.2.2
    
    # AVR compile variables
    # --------------------- 
    
    # Default "compiler.path" is correct, change only if you want to overidde the initial value
    #compiler.path={runtime.ide.path}/hardware/tools/gcc-arm/
    compiler.path=hardware/tools/gcc-arm/
    compiler.ar.path=hardware/arduino/rza1lu/cores/arduino/
    compiler.c.cmd=bin/arm-none-eabi-gcc
    cpu=-mcpu=cortex-a9 -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=vfpv3 -mno-unaligned-access -O2 -fmessage-length=0 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -fabi-version=0 -fno-exceptions -Wno-unused-parameter -Wno-missing-field-initializers -fno-builtin -fno-delete-null-pointer-checks -fomit-frame-pointer
    compiler.c.flags={cpu} -c -g -MMD -MP -DDEVICE_ERROR_PATTERN=1 -DARM_MATH_CA9 -D__FPU_PRESENT -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -DTARGET_LIKE_MBED -DDEVICE_PORTINOUT=1 -DDEVICE_PORTIN=1 -DTOOLCHAIN_object -DDEVICE_SERIAL_ASYNCH=1 -D__CMSIS_RTOS -D__EVAL -DTOOLCHAIN_GCC -DTARGET_CORTEX_A -DDEVICE_CAN=1 -DMBED_BUILD_TIMESTAMP=1487815611.57 -DDEVICE_I2C_ASYNCH=1 -DTARGET_UVISOR_UNSUPPORTED -D__MBED_CMSIS_RTOS_CA9 -DTARGET_LIKE_CORTEX_A9 -DDEVICE_SERIAL=1 -DTARGET_MBRZA1LU -DDEVICE_INTERRUPTIN=1 -DDEVICE_I2C=1 -DDEVICE_PORTOUT=1 -DDEVICE_STDIO_MESSAGES=1 -DDEVICE_SPI_ASYNCH=1 -DDEVICE_RTC=1 -DTARGET_RENESAS -DTARGET_RELEASE -DDEVICE_SERIAL_FC=1 -DTARGET_GR_LYCHEE -DTARGET_A9 -D__CORTEX_A9 -DTARGET_RZA1XX -DTARGET_RZA1LU -DTARGET_FF_ARDUINO -DTOOLCHAIN_GCC_ARM -DDEVICE_SPI=1 -DDEVICE_SPISLAVE=1 -DDEVICE_ANALOGIN=1 -DDEVICE_PWMOUT=1 -DGRLYCHEE -DARDUINO=100 -W -DNDEBUG -Os -DTARGET_RZ_A1LU -DDEVICE_TRNG=1 -Ihardware/arduino/rza1lu/cores -Ihardware/arduino/rza1lu/cores/arduino -Ihardware/arduino/rza1lu/cores/arduino/cores -Ihardware/arduino/rza1lu/cores/arduino/cores/avr -Ihardware/arduino/rza1lu/libraries -Ihardware/arduino/rza1lu/libraries/Camera -Ihardware/arduino/rza1lu/libraries/Firmata -Ihardware/arduino/rza1lu/libraries/LCD -Ihardware/arduino/rza1lu/libraries/LiquidCrystal -Ihardware/arduino/rza1lu/libraries/MsTimer2 -Ihardware/arduino/rza1lu/libraries/RTC -Ihardware/arduino/rza1lu/libraries/RTC/utility -Ihardware/arduino/rza1lu/libraries/SD -Ihardware/arduino/rza1lu/libraries/SD/utility -Ihardware/arduino/rza1lu/libraries/Servo -Ihardware/arduino/rza1lu/libraries/SPI -Ihardware/arduino/rza1lu/libraries/Stepper -Ihardware/arduino/rza1lu/libraries/Wire -Ihardware/arduino/rza1lu/cores/mbed-gr-libs -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/esp32-driver -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/esp32-driver/ESP32 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/esp32-driver/ESP32/ATParser_os -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/esp32-driver/ESP32/ATParser_os/BufferedSerial -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/esp32-driver/ESP32/ATParser_os/BufferedSerial/Buffer -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/LCD_config_lychee -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/MAX9867_RBSP -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/OV7725_config -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/components/TLV320_RBSP -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/dcache-control -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/DisplayApp -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/EasyAttach_CameraAndLCD -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/EasyPlayback -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/EasyPlayback/decoder -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZA1UL -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZA1UL/drivers -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZA1UL/drivers/vdc5 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZA1UL/drivers/vdc5/include -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GR-PEACH_video/targets/TARGET_RZA1UL/drivers/vdc5/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/config -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/jcu -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/jcu/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/jcu/jcu_driver -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/jcu/porting -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/jcu/userdef -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/ospl -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/ospl/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/ospl/porting -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/ospl/porting/TOOLCHAIN_GCC -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/GraphicsFramework/ospl/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/HttpServer -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/HttpServer/Handler -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/HttpServer/mbed-rpc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/RomRamBlockDevice -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/api -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/common -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_src/dma -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_src/ioif -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_src/scux -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/RenesasBSP/drv_src/ssif -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/R_BSP/tools -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs/config -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs/features -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs/features/filesystem -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs/features/filesystem/sd -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/SDBlockDevice_GRBoard/sd-driver-hs/features/filesystem/spif -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBAudio -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/common -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/function -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/userdef -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/common -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/function -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBDevice/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/userdef -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBHID -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBMIDI -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBMSD -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBDevice/USBSerial -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/common -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/host -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb0/src/userdef -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1 -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1/inc -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1/src -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/common -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/host -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost/TARGET_RENESAS/TARGET_RZA1XX/usb1/src/userdef -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHost3GModule -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHostHID -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHostHub -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHostMIDI -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHostMSD -Ihardware/arduino/rza1lu/cores/mbed-gr-libs/USBHost_custom/USBHostSerial -Ihardware/arduino/rza1lu/cores/mbed-http -Ihardware/arduino/rza1lu/cores/mbed-http/http_parser -Ihardware/arduino/rza1lu/cores/mbed-os -Ihardware/arduino/rza1lu/cores/mbed-os/cmsis -Ihardware/arduino/rza1lu/cores/mbed-os/cmsis/TOOLCHAIN_GCC -Ihardware/arduino/rza1lu/cores/mbed-os/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A -Ihardware/arduino/rza1lu/cores/mbed-os/drivers -Ihardware/arduino/rza1lu/cores/mbed-os/events -Ihardware/arduino/rza1lu/cores/mbed-os/events/equeue -Ihardware/arduino/rza1lu/cores/mbed-os/features -Ihardware/arduino/rza1lu/cores/mbed-os/features/filesystem -Ihardware/arduino/rza1lu/cores/mbed-os/features/filesystem/bd -Ihardware/arduino/rza1lu/cores/mbed-os/features/filesystem/fat -Ihardware/arduino/rza1lu/cores/mbed-os/features/filesystem/fat/ChaN -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/inc -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/inc/mbedtls -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/platform -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/platform/inc -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/platform/src -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/src -Ihardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/targets -Ihardware/arduino/rza1lu/cores/mbed-os/features/netsocket -Ihardware/arduino/rza1lu/cores/mbed-os/hal -Ihardware/arduino/rza1lu/cores/mbed-os/hal/storage_abstraction -Ihardware/arduino/rza1lu/cores/mbed-os/platform -Ihardware/arduino/rza1lu/cores/mbed-os/rtos -Ihardware/arduino/rza1lu/cores/mbed-os/rtos/rtx -Ihardware/arduino/rza1lu/cores/mbed-os/rtos/rtx/TARGET_CORTEX_A -Ihardware/arduino/rza1lu/cores/mbed-os/rtos/rtx/TARGET_CORTEX_A/TOOLCHAIN_GCC -Ihardware/arduino/rza1lu/cores/mbed-os/targets -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/common -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/device -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/device/inc -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/device/inc/iobitmasks -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/device/inc/iodefines -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_GCC_ARM -Ihardware/arduino/rza1lu/cores/mbed-os/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_GR_LYCHEE/TARGET_MBED_MBRZA1LU -Ihardware/arduino/rza1lu/cores/opencv-lib -Ihardware/arduino/rza1lu/cores/opencv-lib/include -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2 -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/calib3d -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/core -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/core/hal -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/features2d -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/flann -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgcodecs -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc/detail -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc/hal -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/ml -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/objdetect -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include/opencv2 -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include/opencv2/face -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/src -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/photo -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/shape -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/stitching -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/stitching/detail -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/superres -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/video -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/videostab -Ihardware/arduino/rza1lu/cores/opencv-lib/lib -Ihardware/arduino/rza1lu/cores/opencv-lib -Ihardware/arduino/rza1lu/cores/opencv-lib/include -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2 -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/calib3d -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/core -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/core/hal -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/features2d -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/flann -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgcodecs -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc/detail -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/imgproc/hal -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/ml -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/objdetect -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include/opencv2 -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/include/opencv2/face -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/opencv_contrib/modules/face/src -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/photo -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/shape -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/stitching -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/stitching/detail -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/superres -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/video -Ihardware/arduino/rza1lu/cores/opencv-lib/include/opencv2/videostab -Ihardware/arduino/rza1lu/cores/opencv-lib/lib -includehardware/arduino/rza1lu/cores/mbed-os/features/mbedtls/inc/mbedtls/config.h -includembed_config.h -includembedtls_entropy_config.h
    
    
    compiler.cpp.cmd=bin/arm-none-eabi-g++
    compiler.cpp.flags={compiler.c.flags}
    compiler.S.cmd=bin/arm-none-eabi-as
    compiler.S.flags=
    compiler.elf2hex.flags=-O binary
    #compiler.elf2hex.flags=-O srec
    compiler.elf2hex.cmd=bin/arm-none-eabi-objcopy
    #compiler.c.elf.cmd=bin/arm-none-eabi-ld
    compiler.c.elf.cmd={compiler.c.cmd}
    compiler.c.elf.flags={cpu}
    compiler.ar.cmd=bin/arm-none-eabi-ar
    compiler.ar.flags=rcs
    compiler.ld.flags=
    compiler.size.cmd=bin/arm-none-eabi-size
    # this can be overriden in boards.txt
    build.extra_flags=
    
    # AVR compile patterns
    # --------------------
    
    ## Compile c files
    recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {includes} {compiler.c.flags} -std=gnu11 "{source_file}" -o "{object_file}"
    
    ## Compile c++ files
    recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {includes} {compiler.cpp.flags} -std=gnu++11 -fno-rtti "{source_file}" -o "{object_file}"
    ###recipe.cpp.o.pattern=
    
    ## Compile S files
    recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {includes} {compiler.S.flags} -c -x assembler-with-cpp "{source_file}" -o "{object_file}"
    ###recipe.S.o.pattern=
    
    ## Create archives
    recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}"
    
    ## Combine gc-sections, archives, and objects
    recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -Wl,--gc-sections -u _printf_float -u _scanf_float -Wl,--wrap,main -Wl,-Map={build.path}/{build.project_name}.map,--cref "-Thardware/arduino/rza1lu/variants/gr_lychee/{build.ldscript}" -o "{build.path}/{build.project_name}.elf" {object_files} "{build.variant.path}/gr_common.a" {build.extra_flags} -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
    
    ## Create eeprom
    recipe.objcopy.eep.pattern=
    
    ## Create hex
    recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
    
    ## Compute size
    recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
    recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*
    recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
    recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
    
    
    # SAM3 Uploader tools
    # -------------------
    
    tools.savesketch.cmd=SaveSketch
    tools.savesketch.cmd.windows=SaveSketch.bat
    tools.savesketch.path=hardware/tools/rx
    
    tools.savesketch.upload.params.verbose=
    tools.savesketch.upload.params.quiet=
    tools.savesketch.upload.pattern="{path}/{cmd}" MBED "{build.path}\{build.project_name}.bin"