Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error preventing compiling, 'PID_CMD_MARLIN' undeclared here #2070

Closed
lightmaster opened this issue Jul 21, 2021 · 3 comments
Closed

Error preventing compiling, 'PID_CMD_MARLIN' undeclared here #2070

lightmaster opened this issue Jul 21, 2021 · 3 comments

Comments

@lightmaster
Copy link
Contributor

Getting an error that's preventing compiling. Referenced line was last modified as part of #1962 and commit 80f8963

> Executing task in folder BIGTREETECH-TouchScreenFirmware: C:\Users\light\.platformio\penv\Scripts\platformio.exe run <

Processing BIGTREE_TFT43_V3_0 (board: STM32F207VC_0x8000; platform: ststm32; framework: cmsis)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/STM32F207VC_0x8000.html
PLATFORM: ST STM32 (14.0.1) > STM32F207VC (96k RAM. 256k - 32K Flash)
HARDWARE: STM32F207VCT6 120MHz, 96KB RAM, 224KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink, stlink)
PACKAGES:
 - framework-cmsis 2.50501.200527 (5.5.1)
 - framework-cmsis-stm32f2 2.2.3
 - tool-ldscripts-ststm32 0.1.0
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Warning! Cannot find a linker script for the required board! An auto-generated script will be used to link firmware!
Warning! Cannot find the default startup file for stm32f207vct6. Ignore this warning if the startup code is part of your project.
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Generate language_xx.ini files:
Processing: language_am.h: Total keywords found:317, File generated:language_am.ini
Processing: language_ca.h: Total keywords found:317, File generated:language_ca.ini
Processing: language_cn.h: Total keywords found:317, File generated:language_cn.ini
Processing: language_cz.h: Total keywords found:317, File generated:language_cz.ini
Processing: language_de.h: Total keywords found:317, File generated:language_de.ini
Processing: language_du.h: Total keywords found:317, File generated:language_du.ini
Processing: language_en.h: Total keywords found:317, File generated:language_en.ini
Processing: language_es.h: Total keywords found:317, File generated:language_es.ini
Processing: language_fr.h: Total keywords found:317, File generated:language_fr.ini
Processing: language_gr.h: Total keywords found:317, File generated:language_gr.ini
Processing: language_hu.h: Total keywords found:317, File generated:language_hu.ini
Processing: language_it.h: Total keywords found:317, File generated:language_it.ini
Processing: language_jp.h: Total keywords found:317, File generated:language_jp.ini
Processing: language_pl.h: Total keywords found:317, File generated:language_pl.ini
Processing: language_pt.h: Total keywords found:317, File generated:language_pt.ini
Processing: language_ru.h: Total keywords found:317, File generated:language_ru.ini
Processing: language_sk.h: Total keywords found:317, File generated:language_sk.ini
Processing: language_sl.h: Total keywords found:317, File generated:language_sl.ini
Processing: language_tc.h: Total keywords found:317, File generated:language_tc.ini
Processing: language_tr.h: Total keywords found:317, File generated:language_tr.ini
Processing: language_uk.h: Total keywords found:317, File generated:language_uk.ini
Total language files processed: 21
Compiling .pio\build\BIGTREE_TFT43_V3_0\FrameworkCMSIS\system_stm32f2xx.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\Startup\stm32f2xx\startup_stm32f2xx.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\base64\base64.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\cmsis\stm32f2xx\system_stm32f2xx.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\misc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_adc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_can.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_crc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_cryp.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_cryp_aes.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_cryp_des.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_cryp_tdes.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_dac.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_dbgmcu.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_dcmi.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_dma.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_exti.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_flash.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_fsmc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_gpio.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_hash.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_hash_md5.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_hash_sha1.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_i2c.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_iwdg.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_pwr.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_rcc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_rng.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_rtc.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_sdio.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_spi.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_syscfg.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_tim.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_usart.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\fwlib\stm32f2xx\src\stm32f2xx_wwdg.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\pngle\miniz.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\Libraries\pngle\pngle.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\BabystepControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\CaseLightControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Colors.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\FanControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Gcode\gcode.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Gcode\mygcodefs.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\HomeOffsetControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\LCD_Encoder.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\LCD_LEDColor.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Language\Language.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Language\utf8_decode.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\MachineParameters.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Notification.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Printing.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\ProbeHeightControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\ProbeOffsetControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\ScreenShot.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Settings.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\SpeedControl.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Temperature.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\CharIcon.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\GUI.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\HD44780_Emulator.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\ListItem.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\ListManager.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\Numpad.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\ST7920_Emulator.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\TouchProcess.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\UI\ui_draw.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\Vfs\vfs.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\boot.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\config.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\coordinate.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\extend.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\flashStore.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\interfaceCmd.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\menu.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\parseACK.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\printf\printf.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\API\serialConnection.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Fatfs\diskio.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Fatfs\ff.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Fatfs\ffsystem.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Fatfs\ffunicode.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Fatfs\myfatfs.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\HD44780.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\HX8558.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\ILI9325.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\ILI9341.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\ILI9488.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\NT35310.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\RM68042.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\SSD1963.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Driver\ST7789.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\LCD_Init.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Class\MSC\src\usbh_msc_bot.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Class\MSC\src\usbh_msc_core.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Class\MSC\src\usbh_msc_scsi.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Core\src\usbh_core.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Core\src\usbh_hcs.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Core\src\usbh_ioreq.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Core\src\usbh_stdreq.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Usr\src\usb_bsp.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_HOST_Library\Usr\src\usbh_usr.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_OTG_Driver\src\usb_core.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_OTG_Driver\src\usb_hcd.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\STM32_USB_OTG_Driver\src\usb_hcd_int.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\buzzer.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\sd.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\GPIO_Init.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\STM32_Flash.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\Serial.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\lcd.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\lcd_dma.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\spi.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\spi_slave.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\timer_pwm.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\stm32f2_f4xx\uart.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\sw_spi.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\w25qxx.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Hal\xpt2046.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\ABL.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\BLTouch.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Babystep.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\BedLeveling.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\BedLevelingLayer2.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\CaseLight.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\ConnectionSettings.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Extrude.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Fan.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\FeatureSettings.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Heat.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Home.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\LEDColor.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\LevelCorner.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Leveling.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\LoadUnload.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MBL.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MachineSettings.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MainPage.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MarlinMode.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MeshEditor.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MeshTuner.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\MeshValid.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\More.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Move.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\NotificationMenu.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\ParameterSettings.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\PersistentInfo.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Pid.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Popup.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\PowerFailed.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\PreheatMenu.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Print.o
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\PrintingMenu.o
TFT\src\User\Menu\Pid.c:22:36: error: 'PID_CMD_MARLIN' undeclared here (not in a function); did you mean 'ICON_MARLIN'?
 const char *const pidCmdMarlin[] = PID_CMD_MARLIN;
                                    ^~~~~~~~~~~~~~
                                    ICON_MARLIN
Compiling .pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\RRFMacros.o
*** [.pio\build\BIGTREE_TFT43_V3_0\src\src\User\Menu\Pid.o] Error 1
====================================================================== [FAILED] Took 33.76 seconds ======================================================================
Environment         Status    Duration
------------------  --------  ------------
BIGTREE_TFT43_V3_0  FAILED    00:00:33.764
================================================================= 1 failed, 0 succeeded in 00:00:33.764 =================================================================The terminal process "C:\Users\light\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
@digant73
Copy link
Contributor

PID_CMD_MARLIN is defined in Configuration.h. Verify it is present in your project first. Otherwise make a git refresh

@lightmaster
Copy link
Contributor Author

Apparently VSCode decided that was not an important line to update when I merged it into my fork. Changed PID_CMD to PID_CMD_MARLIN and it compiled fine.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants