开源改变世界!!

问题:编译OLED驱动失败 > FluidNC-3.6.5 #803

推推 grbl 2年前 (2023-02-05) 132次浏览
关闭
quangduyitx 开启了这个issue 昨天 · 1条评论
关闭

问题:编译OLED驱动失败 > FluidNC-3.6.5#803

quangduyitx 开启了这个issue 昨天 · 1条评论

评论

问题:编译OLED驱动失败 > FluidNC-3.6.5 #803

控制板

diy固件测试

机器描述

固件

输入电路

没有反应

配置文件

name: "ESP32 Dev Controller V4"
board: "ESP32 Dev Controller V4"

stepping:
  engine: RMT
  idle_ms: 250
  dir_delay_us: 1
  pulse_us: 2
  disable_delay_us: 0

axes:
  shared_stepper_disable_pin: gpio.13:low
  
  x:
    steps_per_mm: 800
    max_rate_mm_per_min: 2000
    acceleration_mm_per_sec2: 25
    max_travel_mm: 1000
    homing:
      cycle: 2
      mpos_mm: 10
      positive_direction: false
    
    motor0:
      limit_all_pin: gpio.17:low:pu
      stepstick:
        direction_pin: gpio.14
        step_pin: gpio.12
    motor1:
      null_motor:

  y:
    steps_per_mm: 800
    max_rate_mm_per_min: 2000
    acceleration_mm_per_sec2: 25
    max_travel_mm: 1000
    homing:
      cycle: 2
      mpos_mm: 10
      positive_direction: false

    motor0:
      limit_all_pin: gpio.4:low:pu
      stepstick:
        direction_pin: gpio.15
        step_pin: gpio.26
    motor1:
      null_motor:

  z:
    steps_per_mm: 800
    max_rate_mm_per_min: 2000
    acceleration_mm_per_sec2: 25
    max_travel_mm: 1000
    homing:
      cycle: 1
      mpos_mm: 10
      positive_direction: true

    motor0:
      limit_all_pin: gpio.16:low:pu
      stepstick:
        direction_pin: gpio.33
        step_pin: gpio.27
    motor1:
      null_motor:

spi:
  miso_pin: gpio.19
  mosi_pin: gpio.23
  sck_pin: gpio.18

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN
  frequency_hz: 1000000

coolant:
  flood_pin: gpio.25
  mist_pin:  gpio.21

        
probe:
  pin: gpio.32:low:pu

PWM:
  pwm_hz: 5000
  output_pin: gpio.2
  enable_pin: gpio.22
  direction_pin: NO_PIN
  disable_with_s0: false
  s0_with_disable: true
  spinup_ms: 0
  spindown_ms: 0
  tool_num: 0
  speed_map: 0=0% 10000=100%

启动消息

Environment      Status    Duration
---------------  --------  ------------
wifi-oled-basic  FAILED    00:00:26.048

用户界面软件

没有反应

发生了什么?

FluidNC/src/Custom/oled_basic.cpp: 在函数 ‘void oledUpdate(void*)’ 中:
FluidNC/src/Custom/oled_basic.cpp:161:13: error: ‘infile’ was not declared in this scope
if (infile) {
^~~~~~
FluidNC/src/Custom/oled_basic.cpp:161:13: 注意:建议替代:’init’
if (infile) {
^~~~~~
init
编译 .pio\build\wifi-oled -basic\src\src\GCode.cpp.o
*** [.pio\build\wifi-oled-basic\src\src\Custom\oled_basic.cpp.o] 错误 1

其他信息

没有反应

问题:编译OLED驱动失败 > FluidNC-3.6.5 #803
合作者

#775的副本