Skip to content

Commit

Permalink
Build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey1560 committed Oct 27, 2021
1 parent 500855c commit de582ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@

// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
// #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V1_3_F4
#define MOTHERBOARD BOARD_MKS_ROBIN_NANO
#endif

Expand Down Expand Up @@ -1469,8 +1470,7 @@
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500.
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.

#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_STATE FIL_RUNOUT_LEVEL // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
//#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder.
Expand Down
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
#default_envs = mks_robin_nano_v1_3_f4
default_envs = mks_robin_nano35
include_dir = Marlin
extra_configs =
Expand Down

0 comments on commit de582ac

Please sign in to comment.