DA14531 - Writing & Reading Flash-Data

Hello, 

I am coding based on the ble_app_peripheral example from SDK6.0.16.1144 trying to write and read data from flash. For example I have a char with the value "00000" and would like to write into flash. I also would like to read the value of the respective ragister from flash and compare to my variable. The function I created to perform the write & read looks as follows: 

uint32_t PC_FLASH_ADR = 0x20000;
char default_passcode[] = "00000";

void check_nvs_available()
{
	// Disable HW RST on P0_0 so it can be used as SPI MOSI.
	GPIO_Disable_HW_Reset();
	
	// Read PC Flash --> IF PC Flash was not written in advance rewrite with default PC | ELSE do nothing 
	int8_t ret;
	uint32_t bytes_read;
	char buffer_pc;
	uint8_t data_read[5] = { 0 };
	ret = spi_flash_read_data(&data_read[0],PC_FLASH_ADR , sizeof(data_read), &bytes_read);
	while (bytes_read) {
		buffer_pc = (buffer_pc + bytes_read);
		bytes_read--;
	}
	if (buffer_pc == 0){
		uint32_t pc_bytes_written;
		uint8_t data[5] = { default_passcode[0], default_passcode[1], default_passcode[2], default_passcode[3], default_passcode[4]};
		ret = spi_flash_write_data(&data[0], PC_FLASH_ADR, sizeof(data), &pc_bytes_written);
	}
	
	// Reduce power consumption by putting flash into sleep mode 
    spi_flash_power_down();
	
	// Re-enable HW reset input (must be disabled if/when further operation on
  // external flash are performed) - must set as input first!
	GPIO_ConfigurePin(SPI_DO_PORT, SPI_DO_PIN, INPUT_PULLDOWN, PID_GPIO, false);
    GPIO_Enable_HW_Reset();
    
}

The functions should check the Flash if data was already written to PC_FLASH_ADR. IF this is the case nothting should be done. If no data was written to PC_FLASH_ADR the values of default_passcode should be written into flash starting at PC_FLASH_ADR. 
Are there any issues with my code? 

Parents
  • Hi patipat3110,

    Thank you for posting your question online.
    I can see that you have followed the SDK6 Peripheral Drivers Tutorial: 5. DA14531 SPI Flash — DA145XX Tutorial SDK peripherals (renesas.com)
    Have you tested this from your side and it is not working?
    From what you have shared, I believe the read operation has been implemented correctly. I would personally not use a while function since you already know the size of the data you have just read from the SPI Flash. You could just use a for statement and at the end compare the read data with the default_passcode you have set to see if you need to write your passcode into the SPI Flash.
    Your approach seems correct to me, but are you facing any issues?

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas, 

    Indeed I have followed the linked Tutorial. I have tested it and it does not seem to work. First of all when I add the GPIO_Disable_HW_Reset as well as the spi_flash_power_down & GPIO_ConfigurePin & GPIO_Enable_HW_Reset functions I am running into a strange phenomenon. After building and starting a debug session I need to click three times on run and get three different interruption points as shown in the screencaptures I added to this comment. When I click a fourth time on "run" the debug session runs as desired. 

    First click on "run"

    Second click on "run" 

    Third click on "run"

    This phenomenon disappears when removing the functions named above. 
    Anyway it seems that the data is not read or written correctly. I set my default_passcode to "11111" and checked that if the passcode is not corresponding to "11111" it should be written accordingly. I have added a few printf-statements so that I know if data is written. I was expecting the data to be written at the first try, because the data in the NVS was not exual to "11111", but at the second try I would not expect to again perform a write. But it seems that I read "00000" from flash even if I write "11111". Here is the code: 

    char default_passcode[] = "11111";
    void check_nvs_available()
    {
    	// Disable HW RST on P0_0 so it can be used as SPI MOSI.
    	GPIO_Disable_HW_Reset();
    	arch_printf("GPIO Disabled \n\r");
    	
    	// Read PC Flash --> IF PC Flash was not written in advance rewrite with default PC | ELSE do nothing 
    	int8_t ret;
    	uint32_t bytes_read;
    	char buffer_pc[5];
    	uint8_t data_read[5] = { 0 };
    	ret = spi_flash_read_data(&data_read[0],PC_FLASH_ADR , sizeof(data_read), &bytes_read);
    	arch_printf("Read PC from Flash! \n\r");
    	arch_printf("read Status: %d \n\r", ret);
    	arch_printf("bytes read:");
    	//arch_printf("\n\rRead Status: %d", ret);
    	//arch_printf("\n\rBytes Read:");
    	while (bytes_read) {
    		arch_printf("%d", data_read[sizeof(data_read) - bytes_read]);
    		buffer_pc[data_read[sizeof(data_read) - bytes_read]] = bytes_read + '0';
    		bytes_read--;
    	}
    	arch_printf(" \n\r buffer_pc = %c \n\r", buffer_pc);
    	bool data_read_empty;
    	if (strncmp(buffer_pc, default_passcode,5)){		
    		arch_printf("equal \n\r");
    	}
    	else{
    		uint32_t pc_bytes_written;
    		arch_printf("Not equal -> WRITE PC to Flash! \n\r");
    		uint8_t data[5] = { default_passcode[0], default_passcode[1], default_passcode[2], default_passcode[3], default_passcode[4]};
    		ret = spi_flash_write_data(&data[0], PC_FLASH_ADR, sizeof(data), &pc_bytes_written);
    	}
    	// Reduce power consumption by putting flash into sleep mode 
        spi_flash_power_down();
    	
    	// Re-enable HW reset input (must be disabled if/when further operation on
      // external flash are performed) - must set as input first!
    	GPIO_ConfigurePin(SPI_DO_PORT, SPI_DO_PIN, INPUT_PULLDOWN, PID_GPIO, false);
        GPIO_Enable_HW_Reset();
    }
     

    everytime I run the code in the debug session I get the following output in TeraTerm: 

    GPIO Disabled
    
    Read PC from Flash!
    
    read Status: 0
    
    bytes read:00000
    
     buffer_pc = À
    
    equal
    
    Read UID from Flash!

    Therefore my guess is that the bytes I read are "00000" as printed and there seems to be something wrong with the write statement or the compare statement as I get always an "equal" printed independently from my "default_passcode". 

    Thanks for your support. 

  • Hi Patipat3110,

    I used the USB Dev Kit as well and used the exact same project.
    I am able to read/write the SPI Flash as expected.

    I used the exact same DIP Switch configuration as well.

    Kind Regards,
    OV_Renesas

  • Hi OV_Renesas, 

    Previously I was also able to erase and write the flash successfully until at some point it stopped working. I am still able to read, write and erase the flash using SmartSnippet Toolbox but I am not able to erase or write the flash using my code in a debug session within µKeil5. The strange thing is, that I am able to read successfully, this can be confirmed by writing data into some adress in the flash using Toolbox and then reading it using my code. 

    Where should I set the breakpoint exactly, as I tried to set a BKPT within user_peripheral.c after writing the PC in check_nvs_available(); but the BKPT is ignored in the debug session. When starting a debug session and I set the BKPT using the Disassembly I am not getting any communication in Tera Term anymore when clicking "run". After I reached the BKPT set in Disassembly I switched to Toolbox and read the Flash and cool not see the data I expected to be written. Therefore it seems that I am not writing correctly. 

    These are the steps I am performing when changing code, building and starting debug to run the code and check if it is working properly. 
    - After changing something in the code in one or multiple files I save these changes by pressing CTRL + S 
    - After saving these changes I click on "Build" or "Rebuild" if changes have been done in more than one file (Marked in red circle with 1)
    - After building was finished successfully, which I check in the "Build Output" Window I click on "Start / Stop Debug Session" (Marked in red circle with 2)
    - When the debug view has loaded I click on "run" and observe the output in Tera Term (Marked in red circle with 3)
    - Sometime I cklick on "RESET" to let it run again in the same debug session to check if changes occurred. (Marked in BLUE circle with 4)
    - When finished with the respective debug session I click on "Stop" (which I forgot sometimes) and again click on "Start / Stop Debug Session" to stop the debug session and change the code again. (Marked in red circle with 5) 

    I have marked the respective buttons in the screenshot below. Maybe I am doing something wrong which results in a strange behavior. 

    Can I share any kind of log info created during the debug session or when building that could help in resolve the phenomenon? Currently this behavior is blocking my development as I am not able to write the flash when necessary. 

    Thank you very much, 
    patipat3110

  • Hi Patipat3110,

    Thank you for the reply.
    Regarding the BKPT:
    The debugger is ignoring your BreakPoints due to the Optimization of the code.
    Please go on Option for Target:

    On C/C++ Tab you can find the Optimization:

    The ble_app_peripheral example can be built up to -O1 Image size. However, when I set it to -O1 I am not able to see the values printed on Tera Term, but via SmartSnippets Toolbox I can see that the write was successful on the SPI Flash.
    I have attached a zip with the ble_app_peripheral example that is working on my USB Dev Kit to write/read messages. 
    Project was created with SDK v6.0.18, USB Dev Kit. In case there is path issues when building it, there is a python script inside the zip file. 
    Use the following command on CMD:

    python dlg_make_keil5_env_v2.000.py -sdkpath clean

    and then use the python script again to set your SDK path, for instance for me it is:
    python dlg_make_keil5_env_v2.000.py -sdkpath "C:\New_Workspace_DA14531\6.0.18.1182.1"

    After that you should be able to build the project.
    If you could probe a logic analyzer on the SPI pins we could also have a better idea of what is happening during the write and read procedure.
    ble_app_peripheral_SPI_flash_Macronix_USBdevKit.zip

    Kind Regards,
    OV_Renesas

  • Hi, 

    thanks for the zip and python file. When I tried to build the project I got multiple errors. I then did run the respective command to clean the sdkpath and then to set sdk path. 

    python dlg_make_keil5_env_v2.000.py -sdkpath clean

    python dlg_make_keil5_env_v2.000.py -sdkpath "C:\Users\patip\OneDrive\Desktop\SDK_6.0.16.1144\DA145xx_SDK\6.0.16.1144"

    I needed to remove "armclang" from "DA14585_586_armclang.sct" and "DA14531_armclang.sct" as I did not have the files with "armclang" in the respective path. Here is a *.txt file showing th output in the cmd, for me it seems that the python file did run successfully. 

    CMD-Output_pythonscript.txt

    But even after running the python file I am still not able to build the project as I get the following errors and warnings in the Build Output Window: 

    Build started: Project: ble_app_peripheral
    *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARM_Compiler_5.06u7\Bin'
    Build target 'DA14531'
    compiling arch_console.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling system_DA14531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling nmi_handler.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_main.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hardfault_handler.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling nvds.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling jump_table.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_sleep.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_system.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_hibernation.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_rom.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling chacha20.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hash.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling otp_cs.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling otp_hdr.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling syscntl.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling gpio.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling wkupct_quadec.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling battery.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling adc_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling spi_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling spi_flash.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling i2c.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling i2c_eeprom.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hw_otpc_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling uart.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling trng.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling dma.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rwble.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rwip.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rf_585.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling ble_arp.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rf_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling attm_db_128.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling prf_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custom_common.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling diss.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling diss_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custs1.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custs1_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling prf.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_default_handlers.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_security.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_security_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bass.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bass_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_findme.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_findme_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_proxr.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_proxr_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_diss.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_diss_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_suotar.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_suotar_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_entry_point.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_msg_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_msg_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_security.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_timer.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs_common.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bond_db.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_whitelist.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs_config.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs1_def.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_periph_setup.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs1_impl.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_peripheral.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    ".\out_DA14531\Objects\ble_app_peripheral_531.axf" - 72 Error(s), 360 Warning(s).
    Target not created.
    Build Time Elapsed:  00:00:05

    Can this be related to the fact that I am using the SDK6.0.16? 

  • Hi Patipat3110,

    Thank you for the reply.
    Yes, you are facing these errors due to SDK v6.0.16. 
    SDK v6.0.16 is using ARM Compiler v5 to build the projects, while SDK v6.0.18 use ARM Compiler v6.
    The script I shared is for ARM Compiler v6 and SDK v6.0.18.
    Please try with the attached script on this answer which is for SDK v6.0.16 and ARM Compiler v5.
    dlg_make_keil5_env_v2.000.zip

    Kind Regards,
    OV_Renesas

  • Hi, 
    thanks for the fast feedback. I performed the steps with the new script for SDK v6.0.16 but I am still not able to build the project as I am still facing multiple warning of old systax and errors that source input files are not in the directory 

    Rebuild started: Project: ble_app_peripheral
    *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARM_Compiler_5.06u7\Bin'
    Rebuild target 'DA14531'
    compiling nvds.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_main.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling nmi_handler.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_console.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    assembling startup_DA14531.s...
    compiling system_DA14531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hardfault_handler.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_sleep.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling jump_table.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_system.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_rom.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling arch_hibernation.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling chacha20.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hash.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling otp_cs.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling otp_hdr.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling syscntl.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling gpio.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling wkupct_quadec.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling battery.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling adc_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling spi_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling spi_flash.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling i2c.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling i2c_eeprom.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling hw_otpc_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling uart.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling trng.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling dma.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rwble.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rwip.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rf_585.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling ble_arp.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling rf_531.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling attm_db_128.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling prf_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custom_common.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling diss.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling diss_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custs1.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling custs1_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling prf.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_default_handlers.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_security.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_security_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bass.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bass_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_findme.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_findme_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_proxr.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_proxr_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_diss.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_diss_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_suotar.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_suotar_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_entry_point.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_msg_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_msg_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_security.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_timer.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs_task.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_customs_common.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_bond_db.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_utils.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling app_easy_whitelist.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs_config.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs1_def.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_periph_setup.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_custs1_impl.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    compiling user_peripheral.c...
    Warning: C3910W: Old syntax, please use '-M'.
    Warning: C3910W: Old syntax, please use '--thumb'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    Warning: C3910W: Old syntax, please use '-I'.
    "no source": Error:  #5: cannot open source input file "da1458x_config_basic.h": No such file or directory
    da1458x_config_basic.h: 0 warnings, 1 error
    ".\out_DA14531\Objects\ble_app_peripheral_531.axf" - 72 Error(s), 360 Warning(s).
    Target not created.
    Build Time Elapsed:  00:00:05

    Best Regards, 
    Patipat3110

  • Hi Patipat3110,

    Thank you for the reply.
    Could you try with our latest SDK v6.0.18?
    I will share another project for SDK v6.0.16 which works on my side as well.

    KInd Regards,
    OV_Renesas

  • Hi Patipat3110,

    Please find attached a project that works on my side with your code snippet. The zip attached is based on SDK v6.0.16 and runs well on USB Dev Kit.

    Kind Regards,
    OV_Renesasble_app_peripheral_SPI_USBDEVKIT.zip

  • Hi OV_Renesas, 

    I analysed this behavior on my side and could observe that writing / erasing and reading from flash works perfectly fine when I don't have any arch_printf(); function in my code. I did verify this by commenting the print functions out, building the code and start the debug session. After starting the debug session I connected to SmartSnippets Toolbox and read the flash data at respective adresses. For example when erasing the flash I could confirm that I did erase by reading "FF" in the respective address. When writing a specific value to addresses I did see the values in SmartSnippets Toolbox. Therefore it seems that I had some strange behavior of the flash when using arch_printf(); function and TeraTerm. 
    But as I have confirmed that everything is working as desired and the print functionality is only used during development and won't be used on my custom board I don't think it is anecessary to analyse it further. 

    If you have any more questions because you would like to dig deeper in this topic let me know. 

    Thanks, 
    patipat3110

  • Hi Patipat3110,

    Thank you for the reply.
    Glad you were able to read/write/erase the SPI Flash like you wanted. 
    Did you notice this behavior with arch_printf on the project I shared as well? Could you share on a zip the project that you noticed this behavior so I could take a look?
    This could be an issue of the USB dev kit since the UART and SPI pins are being multiplexed. 
    If you found any answer helpful, you could verify them so you can help others in the community as well.

    Kind Regards,
    OV_Renesas

Reply
  • Hi Patipat3110,

    Thank you for the reply.
    Glad you were able to read/write/erase the SPI Flash like you wanted. 
    Did you notice this behavior with arch_printf on the project I shared as well? Could you share on a zip the project that you noticed this behavior so I could take a look?
    This could be an issue of the USB dev kit since the UART and SPI pins are being multiplexed. 
    If you found any answer helpful, you could verify them so you can help others in the community as well.

    Kind Regards,
    OV_Renesas

Children
No Data