Page 3 of 5

Re: SNK Ikari Warriors Arcade Core

Posted: Sat Aug 13, 2022 11:46 am
by RndMnkIII
Ok, now when you have the STLINK V2 programmer available do a little test with the typical Blink LED on the PC13 port to make sure everything works correctly, before programming it with the code for the LS-30:

Code: Select all

void setup() {
  // initialize digital pin PC13 as an output.
  pinMode(PC13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(PC13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(PC13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Re: SNK Ikari Warriors Arcade Core

Posted: Sat Aug 13, 2022 2:57 pm
by Arcatech
RndMnkIII wrote: Sat Aug 13, 2022 11:46 am Ok, now when you have the STLINK V2 programmer available do a little test with the typical Blink LED on the PC13 port to make sure everything works correctly, before programming it with the code for the LS-30:

Code: Select all

void setup() {
  // initialize digital pin PC13 as an output.
  pinMode(PC13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(PC13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(PC13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Ok, I have updated my arduino sofware from 1.8.13 to 1.8.19 and double checked my version of the STM32 I purchased and it's definitely listed as this part number:- STM32F103C6T6 ARM STM32 so my selection on the the drop down after selecting the Generic STM32F1 series would differ slightly from the board you are using, i.e. the F103CB.

As we know your LS-30 code is confirmed working with the F103CB module so I will do a trial program of the blinking program as you suggested first to see if everything programs ok.

Thanks for all your help so far, it's been a bit of a learning curve for me but I hope it also helps others on the forum wanting to building your adapter and get it up and running.

...and thanks for the superb SNK core, was one of my favourite 2 player games in the arcades when I was a child :)

Re: SNK Ikari Warriors Arcade Core

Posted: Sat Aug 13, 2022 5:16 pm
by RndMnkIII
I'm excited to see that someone else apart from me built this adapter, the feeling playing with the original controller in MiSTer is very good and I wanted to give others the opportunity to experience it.

Remember to double check the wiring connections, especially the LS-30 connector and the ground cable, any mistake here and you will get crazy results.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 8:58 am
by Arcatech
I thought I would double check my wiring whilst waiting for my STM32 V2 link programmer to turn up and noticed from the schematics you have the following pins that require connecting on the USB 3.0 female connector

Pin 1 VBUS (+5v)
Pin 2 D-
Pin 3 D+
Pin 4 GND
Pin 8 TX-

but looking at your actual set up you only have Pin2 (D-) Pin 3 (D+) and pin 7 (TX-) connected. The same 3 connections can also only be seen connected when you have installed all your components within your completed LS-30 controller box.
USB 3.0 connector circuit.PNG
USB 3.0 connector circuit.PNG (20.92 KiB) Viewed 2716 times
USB connection - STM32.PNG
USB connection - STM32.PNG (642.61 KiB) Viewed 2716 times
USB 3.0 connections Controller box.PNG
USB 3.0 connections Controller box.PNG (234.29 KiB) Viewed 2716 times
I currently have the +5v and GND connected so do I need to remove these connections or can I leave them connected?.

Thanks.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 11:56 am
by RndMnkIII
Is required to connect 5 pins: VBUS(VCC), GND, D-(CLK), D+(LOAD), and TX-(DATA). When the blue pill will be connected to the USERIO port of the MiSTer using a USB3 male to male cable, this is and must be the only source of power for the microcontroller.
Unfortunately I did not notice that that photo that I uploaded the power supply was not yet connected to the USB3 connector.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 2:53 pm
by Arcatech
RndMnkIII wrote: Mon Aug 15, 2022 11:56 am Is required to connect 5 pins: VBUS(VCC), GND, D-(CLK), D+(LOAD), and TX-(DATA). When the blue pill will be connected to the USERIO port of the MiSTer using a USB3 male to male cable, this is and must be the only source of power for the microcontroller.
Unfortunately I did not notice that that photo that I uploaded the power supply was not yet connected to the USB3 connector.
No problem thanks for confirming :-)

Programmer arrived today so will trying to program the blinking led project, ill let you know how it goes.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:18 pm
by RndMnkIII
The reason why the power don't appear connected to the USB3 connector in these photos is related to what I said about only having connected a single 5v power supply to the Blue Pill, as I was doing tests on the PC I had it powered from the USB of the computer using the micro USB of the Blue Pill board directly and to avoid accidentally powering it through the USB3 adapter I disconnected the VCC and GND cables.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:28 pm
by Arcatech
Ok I just tried uploading the blinking LED sketch to the STM32 and received this error

arm-none-eabi-g++: error: 5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory
exit status 1
Error compiling for board Generic STM32F1 series.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:35 pm
by RndMnkIII
Can be the STM32duino installation is broken?

this is my compiler output:

Code: Select all

"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-gcc-ar" rcs "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\core.a" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\wiring_pulse.cpp.o"
Archivando el núcleo construido (cacheado) en: C:\Users\javier\AppData\Local\Temp\arduino_cache_545109\core\core_8d7ff875f781cd088a5df3a9b069974b.a
Linking everything together...
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -O3 -flto -DNDEBUG --specs=nano.specs -Wl,--defsym=LD_FLASH_OFFSET=0 -Wl,--defsym=LD_MAX_SIZE=131072 -Wl,--defsym=LD_MAX_DATA_SIZE=20480 -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common "-Wl,--default-script=C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C8T_F103CB(T-U)/ldscript.ld" "-Wl,--script=C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/ldscript.ld" "-Wl,-Map,C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.map" "-LC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Lib/GCC/" -larm_cortexM3l_math -o "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.elf" "-LC:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351" -Wl,--start-group "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\sketch\\LS30_READ.ino.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\sketch\\SrcWrapper.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\syscalls.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HardwareTimer.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\new.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_adc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_adc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_can.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_cec.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_comp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_comp_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_cordic.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_cortex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_crc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_crc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_cryp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_cryp_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dac.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dac_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dcache.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dcmi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dcmi_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dfsdm.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dfsdm_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dma.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dma2d.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dma_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dsi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_dts.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_eth.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_eth_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_exti.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fdcan.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_firewall.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_flash.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_flash_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_flash_ramfunc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fmac.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fmpi2c.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fmpi2c_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fmpsmbus.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_fmpsmbus_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_gfxmmu.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_gpio.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_gpio_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_gpu2d.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_gtzc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_hash.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_hash_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_hcd.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_hrtim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_hsem.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_i2c.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_i2c_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_i2s.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_i2s_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_icache.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ipcc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_irda.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_iwdg.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_jpeg.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_lcd.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_lptim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ltdc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ltdc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_mdf.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_mdios.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_mdma.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_mmc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_mmc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_nand.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_nor.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_opamp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_opamp_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ospi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_otfdec.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pccard.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pcd.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pcd_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pka.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pssi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pwr.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_pwr_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_qspi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ramcfg.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_ramecc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rcc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rcc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rng.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rng_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rtc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_rtc_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sai.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sai_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sd.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sd_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sdadc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sdram.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_smartcard.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_smartcard_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_smbus.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_smbus_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_spdifrx.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_spi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_spi_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_sram.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_subghz.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_swpmi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_tim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_tim_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_tsc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_uart.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_uart_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_usart.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_usart_ex.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_wwdg.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\HAL\\stm32yyxx_hal_xspi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_adc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_bdma.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_comp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_cordic.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_crc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_crs.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_dac.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_delayblock.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_dlyb.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_dma.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_dma2d.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_exti.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_fmac.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_fmc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_fmpi2c.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_fsmc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_gpio.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_hrtim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_i2c.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_icache.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_lpgpio.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_lptim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_lpuart.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_mdma.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_opamp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_pka.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_pwr.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_rcc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_rng.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_rtc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_sdmmc.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_spi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_swpmi.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_tim.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_ucpd.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_usart.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_usb.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\LL\\stm32yyxx_ll_utils.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\PortNames.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\bootloader.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\clock.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\core_callback.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\dwt.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\hw_config.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\otp.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\pinmap.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\stm32_def.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\system_stm32yyxx.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\timer.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\uart.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\analog.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\libraries\\SrcWrapper\\stm32\\interrupt.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\startup_M200_f103xb.S.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\PeripheralPins.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\PeripheralPins_MALYANM200_F103CB.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\generic_clock.c.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\variant_AFROFLIGHT_F103CB.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\variant_MALYANM200_F103CB.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\variant_MAPLEMINI_F103CB.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\variant_PILL_F103Cx.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\variant_generic.cpp.o" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\core\\core.a" -lc -Wl,--end-group -lm -lgcc -lstdc++
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-objcopy" -O binary "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.elf" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.bin"
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-objcopy" -O ihex "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.elf" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.hex"
Usando librería SrcWrapper con versión 1.0.1 en la carpeta: C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\libraries\SrcWrapper 
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-size" -A "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/LS30_READ.ino.elf"
El Sketch usa 31392 bytes (23%) del espacio de almacenamiento de programa. El máximo es 131072 bytes.
Las variables Globales usan 3680 bytes (17%) de la memoria dinámica, dejando 16800 bytes para las variables locales. El máximo es 20480 bytes.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:39 pm
by Arcatech
Strange, I just check on my PC and this directory of AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0 does exist with sub directory file content so not sure as to what files Arduino is supposedly looking for??

I'll try reinstalling the STM32CubeProgrammer software again

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:41 pm
by RndMnkIII

Code: Select all

F:\SNK_LS30_SNAC\arduino-1.8.19\arduino-builder -dump-prefs -logger=machine -hardware F:\SNK_LS30_SNAC\arduino-1.8.19\hardware -hardware C:\Users\javier\AppData\Local\Arduino15\packages -tools F:\SNK_LS30_SNAC\arduino-1.8.19\tools-builder -tools F:\SNK_LS30_SNAC\arduino-1.8.19\hardware\tools\avr -tools C:\Users\javier\AppData\Local\Arduino15\packages -built-in-libraries F:\SNK_LS30_SNAC\arduino-1.8.19\libraries -libraries C:\Users\javier\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103CB,upload_method=swdMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=o3lto,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\javier\AppData\Local\Temp\arduino_build_938351 -warnings=none -build-cache C:\Users\javier\AppData\Local\Temp\arduino_cache_545109 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.CMSIS.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -verbose G:\Mi unidad\ARCADE_PCB\Ikari_warriors\LS30_READ\LS30_READ.ino
F:\SNK_LS30_SNAC\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware F:\SNK_LS30_SNAC\arduino-1.8.19\hardware -hardware C:\Users\javier\AppData\Local\Arduino15\packages -tools F:\SNK_LS30_SNAC\arduino-1.8.19\tools-builder -tools F:\SNK_LS30_SNAC\arduino-1.8.19\hardware\tools\avr -tools C:\Users\javier\AppData\Local\Arduino15\packages -built-in-libraries F:\SNK_LS30_SNAC\arduino-1.8.19\libraries -libraries C:\Users\javier\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103CB,upload_method=swdMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=o3lto,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\javier\AppData\Local\Temp\arduino_build_938351 -warnings=none -build-cache C:\Users\javier\AppData\Local\Temp\arduino_cache_545109 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.CMSIS.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -verbose G:\Mi unidad\ARCADE_PCB\Ikari_warriors\LS30_READ\LS30_READ.ino
Using board 'GenF1' from platform in folder: C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0
Using core 'arduino' from platform in folder: C:\Users\javier\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\STM32Tools\\2.1.1/win/busybox.exe" sh "C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/extras/prebuild.sh" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351" "G:\\Mi unidad\\ARCADE_PCB\\Ikari_warriors\\LS30_READ" "C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0"
Detecting libraries used...
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/sketch/build.opt" -c -O3 -flto -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IG:\\Mi unidad\\ARCADE_PCB\\Ikari_warriors\\LS30_READ" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Inc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Src" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32F1xx" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32F1xx -DARDUINO=10819 -DARDUINO_BLUEPILL_F103CB -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"BLUEPILL_F103CB\"" "-DVARIANT_H=\"variant_PILL_F103Cx.h\"" -DSTM32F103xB -DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C8T_F103CB(T-U)" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\sketch\\LS30_READ.ino.cpp" -o nul
"C:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351/sketch/build.opt" -c -O3 -flto -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IG:\\Mi unidad\\ARCADE_PCB\\Ikari_warriors\\LS30_READ" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Inc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Src" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32F1xx" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32F1xx -DARDUINO=10819 -DARDUINO_BLUEPILL_F103CB -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"BLUEPILL_F103CB\"" "-DVARIANT_H=\"variant_PILL_F103Cx.h\"" -DSTM32F103xB -DUSBCON -DUSBD_VID=0 -DUSBD_PID=0 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\javier\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C8T_F103CB(T-U)" "C:\\Users\\javier\\AppData\\Local\\Temp\\arduino_build_938351\\sketch\\SrcWrapper.cpp" -o nul
Alternatives for SrcWrapper.h: [SrcWrapper@1.0.1]
ResolveLibrary(SrcWrapper.h)
  -> candidates: [SrcWrapper@1.0.1]


Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:42 pm
by RndMnkIII
The STM32CubeProgrammer is independent of the Arduino, Arduino only use it to program the code in the flash memory

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:43 pm
by RndMnkIII
this is related to the STM32Duino compiler

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:45 pm
by RndMnkIII
You should do a clean Arduino IDE + STM32Duino install. This means delete all Arduino files including all the AppData\Local\Arduino15 folder (this could need to do manually).

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:48 pm
by RndMnkIII
https://github.com/stm32duino/wiki/wiki/Getting-Started
Only follow this guide in the software installation part. As uses a different SMT32 board (Nucleo board) as example,
you should skip the whole part where the configuration of the STM32 board is detailed since it is different (it is for a Nucleo board not a Blue Pill) to what you have to do with the Blue Pill (using the STLINK v2)

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:53 pm
by Arcatech
Ok thanks I'm doing a clean install now and will use the board manage directory you suggested in your earlier post to add in the supported board libraries.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:55 pm
by RndMnkIII
This is really the most tedious part if it is the first time you do it, once the tools work correctly it is very easy and fast to program the Blue Pill.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 3:56 pm
by RndMnkIII
1- Launch Arduino.cc IDE. Click on "File" menu and then "Preferences".
The "Preferences" dialog will open, then add the following link to the "Additional Boards Managers URLs" field:

Code: Select all

https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
Click "Ok"

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:01 pm
by Arcatech
I've reinstalled Arduino fresh deleting Arduino15 directory manually and now installing the STM32 packages from your link above.

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:13 pm
by Arcatech
Still a no go this is my Arduino programming screen with the same error. Arduino knows that the STM32 board is connected but the ino file will compile and upload to the board.
STM32 Error.PNG
STM32 Error.PNG (50.08 KiB) Viewed 2541 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:20 pm
by Arcatech
What I have noticed is the "Port" feature is greyed out?
Port.PNG
Port.PNG (36.43 KiB) Viewed 2533 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:30 pm
by Arcatech
This is my connection setup to the PC

STM32-PC Connected.jpg
STM32-PC Connected.jpg (1.32 MiB) Viewed 2530 times
This is the STM32 connected to PC via ST LINK v2

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:41 pm
by RndMnkIII
You are using wrong settings for the compiler. If you Blue Pill is the STM32F103CB, STM32F103C8 or STM32F103C6 select the correct device and for programming you will not used a port, because you will use the STLINK V2 (STM32CubeProgrammer(SWD), so see my Arduino settings for reference:
arduino_stlinkv2_bluepill_settings.png
arduino_stlinkv2_bluepill_settings.png (36.32 KiB) Viewed 2510 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 4:53 pm
by RndMnkIII
I understand that you installed this from the board manager:
stm32_boardmanger.png
stm32_boardmanger.png (24.4 KiB) Viewed 2493 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 5:13 pm
by Arcatech
Sorry I was just mentioning my 'Port' was greyed out as following the earlier guide you send me I noticed that guy had it showing even though he was using a different STM32 based board (Nucleo 64) hence why i asked why my port was selection was greyed out.

For programming the STM32 I understand the programming is only via the 4 coloured wired connection to the STM32 blue pill.

I checked the part number on the actual surface mount processor and it's printed as STM32 103C6T6A and this is my board selection when I am pressing the upload button within the Arduino software
Programmer selection.png
Programmer selection.png (111.73 KiB) Viewed 2483 times
I Downloaded the correct STM32 packages from your posted link and have also reinstalled the STM32CubeProgrammer software again and Arduino is still saying that it can't read the directory contents of the following directory:-

5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory

Here is the contents of that missing directory which is present on my PC:-

Arduino STM32 2.3.0 Installation Package.PNG
Arduino STM32 2.3.0 Installation Package.PNG (92.3 KiB) Viewed 2483 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 5:37 pm
by Arcatech
I have just run a Verify/Compile command on the blinking LED ino file in Arduino software and this is the compile error I get:-

Arduino: 1.8.19 (Windows 10), Board: "Generic STM32F1 series, BluePill F103C6 (32K), STM32CubeProgrammer (SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), None, Newlib Nano (default)"


C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Dell 5593\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Dell 5593\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Dell 5593\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C6,upload_method=swdMethod,xserial=generic,usb=none,xusb=FS,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\DELL55~1\AppData\Local\Temp\arduino_build_176274 -warnings=none -build-cache C:\Users\DELL55~1\AppData\Local\Temp\arduino_cache_724955 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -verbose C:\Arcade Stuff\MISTER\Mister SNK LS-30 Controller SNAC Adapter\sketch_aug15a\sketch_aug15a.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Dell 5593\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Dell 5593\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Dell 5593\Documents\Arduino\libraries -fqbn=STMicroelectronics:stm32:GenF1:pnum=BLUEPILL_F103C6,upload_method=swdMethod,xserial=generic,usb=none,xusb=FS,opt=osstd,dbg=none,rtlib=nano -ide-version=10819 -build-path C:\Users\DELL55~1\AppData\Local\Temp\arduino_build_176274 -warnings=none -build-cache C:\Users\DELL55~1\AppData\Local\Temp\arduino_cache_724955 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\CMSIS\5.7.0 -prefs=runtime.tools.xpack-arm-none-eabi-gcc.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.xpack-arm-none-eabi-gcc-10.3.1-2.3.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\xpack-arm-none-eabi-gcc\10.3.1-2.3 -prefs=runtime.tools.STM32Tools.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -prefs=runtime.tools.STM32Tools-2.1.1.path=C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.1.1 -verbose C:\Arcade Stuff\MISTER\Mister SNK LS-30 Controller SNAC Adapter\sketch_aug15a\sketch_aug15a.ino

Using board 'GenF1' from platform in folder: C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0

Using core 'arduino' from platform in folder: C:\Users\Dell 5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0

"C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\STM32Tools\\2.1.1/win/busybox.exe" sh "C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/extras/prebuild.sh" "C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274" "C:\\Arcade Stuff\\MISTER\\Mister SNK LS-30 Controller SNAC Adapter\\sketch_aug15a" "C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0"

Detecting libraries used...

"C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274/sketch/build.opt" -c -Os -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Arcade Stuff\\MISTER\\Mister SNK LS-30 Controller SNAC Adapter\\sketch_aug15a" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32F1xx" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32F1xx -DARDUINO=10819 -DARDUINO_BLUEPILL_F103C6 -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"BLUEPILL_F103C6\"" "-DVARIANT_H=\"variant_BLUEPILL_F103C6.h\"" -DSTM32F103x6 -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C4T_F103C6(T-U)" "C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274\\sketch\\sketch_aug15a.ino.cpp" -o nul

Error while detecting libraries included by C:\Users\DELL55~1\AppData\Local\Temp\arduino_build_176274\sketch\sketch_aug15a.ino.cpp

"C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274/sketch/build.opt" -c -Os -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Arcade Stuff\\MISTER\\Mister SNK LS-30 Controller SNAC Adapter\\sketch_aug15a" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32F1xx" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32F1xx -DARDUINO=10819 -DARDUINO_BLUEPILL_F103C6 -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"BLUEPILL_F103C6\"" "-DVARIANT_H=\"variant_BLUEPILL_F103C6.h\"" -DSTM32F103x6 -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C4T_F103C6(T-U)" "C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274\\sketch\\SrcWrapper.cpp" -o nul

Error while detecting libraries included by C:\Users\DELL55~1\AppData\Local\Temp\arduino_build_176274\sketch\SrcWrapper.cpp

Generating function prototypes...

"C:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-g++" -mcpu=cortex-m3 -DUSE_FULL_LL_DRIVER -mthumb "@C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274/sketch/build.opt" -c -Os -DNDEBUG -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -fno-use-cxa-atexit "-IC:\\Arcade Stuff\\MISTER\\Mister SNK LS-30 Controller SNAC Adapter\\sketch_aug15a" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/avr" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/LL" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/hid" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino/stm32/usb/cdc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/STM32F1xx_HAL_Driver/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/STM32F1xx" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Inc" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/ST/STM32_USB_Device_Library/Core/Src" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/open-amp/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/libmetal/lib/include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Middlewares/OpenAMP/virtual_driver" -w -x c++ -E -CC -DSTM32F1xx -DARDUINO=10819 -DARDUINO_BLUEPILL_F103C6 -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"BLUEPILL_F103C6\"" "-DVARIANT_H=\"variant_BLUEPILL_F103C6.h\"" -DSTM32F103x6 -DHAL_UART_MODULE_ENABLED "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Include/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\system/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\CMSIS\\5.7.0/CMSIS/DSP/PrivateInclude" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\cores\\arduino" "-IC:\\Users\\Dell 5593\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.3.0\\variants\\STM32F1xx\\F103C4T_F103C6(T-U)" "C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274\\sketch\\sketch_aug15a.ino.cpp" -o "C:\\Users\\DELL55~1\\AppData\\Local\\Temp\\arduino_build_176274\\preproc\\ctags_target_for_gcc_minus_e.cpp"

arm-none-eabi-g++: error: 5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory

exit status 1

Error compiling for board Generic STM32F1 series.

(SWD), Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), None, Newlib Nano (default)"

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 5:49 pm
by RndMnkIII
Can you check this:
check_error.png
check_error.png (184.23 KiB) Viewed 2457 times

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 5:55 pm
by RndMnkIII
There are many factors that can cause the compiler to fail here: antivirus that sees the IDE activity as suspicious, file access permissions, environment variables, the only thing I can tell you is that it works correctly on my computer, I don't know what it can go wrong, try to use a slightly older version of arduino 1.8.18 or 1.8.16, but remove al files before try a different version (not need to reinstall STM32CubeProgrammer):
https://www.arduino.cc/en/software/OldSoftwareReleases

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 6:04 pm
by RndMnkIII
My gut tells me that the username "Dell 5593" which has a blank may be the culprit:
see this line:

Code: Select all

arm-none-eabi-g++: error: 5593\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory
Seems that the arm executable dont understand the folder name as "Dell 5593", but instead only sees "5593". There are many development and compiler tools that have problems with folder names that includes spaces. You could try create a user without space characters?

Re: SNK Ikari Warriors Arcade Core

Posted: Mon Aug 15, 2022 6:08 pm
by RndMnkIII