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

Update from Main #39

Merged
merged 308 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
de5171c
Allow 8-bit characters in SSIDs
MitchBradley Jun 17, 2023
98b0950
Basic test code
bdring Jun 18, 2023
673640a
Allow jog out of soft limit area.
bdring Jun 23, 2023
ffb4c15
Use std::string_view over start/end char ptr
dymk Jun 23, 2023
a946d60
Remove remaining StringRange references
dymk Jun 23, 2023
27ffe0c
Create build-only CI workflow
dymk Jun 22, 2023
2bffc1e
Merge pull request #938 from bdring/Jog_SoftLimit_Fix
MitchBradley Jun 23, 2023
36af919
Hash after closing volume to ensure changes have been committed
MitchBradley Jun 23, 2023
eeb842f
Rehash only changed files, not the whole file system
MitchBradley Jun 23, 2023
e7b78ba
Visualizer bounding box fix, allow auto-report to be configured off
MitchBradley Jun 24, 2023
4dcb8fb
Fixed undefined functions
bdring Jun 24, 2023
98ecfbb
Allow WebUI auto-reports to be dropped if wifi is jammed up
MitchBradley Jun 25, 2023
674eae3
Merge pull request #939 from dymk/string-view-in-parser
MitchBradley Jun 25, 2023
8fc1d12
Added static_cast to suppress compiler warning.
MitchBradley Jun 25, 2023
77bb09c
Use string_view methods for tokenizing ...
MitchBradley Jun 26, 2023
cc3ab17
Merge pull request #928 from bdring/ExtendedSSID
MitchBradley Jun 26, 2023
04fde33
Merge pull request #940 from dymk/fluidnc-ci-workflow
MitchBradley Jun 26, 2023
f77a39d
Minimal test harness
dymk Jun 23, 2023
b6d7b3e
Moved tokenizer implementations from .h to .cpp
MitchBradley Jun 27, 2023
95a7c5f
Merge pull request #945 from bdring/FixStringViewWarning
MitchBradley Jun 27, 2023
363b0e2
Merge pull request #943 from dymk/fluidnc-minimal-test-harness
MitchBradley Jun 27, 2023
4e13d07
Merge pull request #941 from bdring/FixHashing
MitchBradley Jun 27, 2023
93b117c
Merge pull request #942 from bdring/WebUIUpdate
MitchBradley Jun 27, 2023
da9e712
GRBL proxy settings for improved sender compatibility
dymk Jun 27, 2023
f9adaf0
Removed broken debug statements
MitchBradley Jun 28, 2023
c78e63f
Fixed minor problems with JSONEncoder
MitchBradley Jun 28, 2023
4c1adcc
Minor simplification of JSONEncoder code
MitchBradley Jun 29, 2023
b2e5593
Point to specific commit of WiFi library
MitchBradley Jun 29, 2023
88f6fc4
Merge branch 'Devt' into WebSocketsNoStall
MitchBradley Jun 29, 2023
ba8ef45
Updates for UART TMC
bdring Jun 29, 2023
54f7347
Use vector for tracking all Setting / Command objects
dymk Jun 29, 2023
1ff0585
Merge pull request #950 from dymk/settings-and-commands-vector
dymk Jun 29, 2023
6121cc7
Update problem.yml
MitchBradley Jun 30, 2023
49e030f
Update problem.yml
MitchBradley Jun 30, 2023
ceb77dd
Update problem.yml
MitchBradley Jun 30, 2023
520d902
Update problem.yml
MitchBradley Jun 30, 2023
2e02bc2
Update problem.yml
MitchBradley Jun 30, 2023
d85d5d1
Update problem.yml
MitchBradley Jun 30, 2023
cadf98d
Malformed PING message confused multiple WebUIs
MitchBradley Jun 29, 2023
26f4bb1
Cleaned up some unused cruft in WSChannel and fixed available()
MitchBradley Jun 29, 2023
d095a95
WiFi buffer counts are no longer hardcoded in the WiFi library
MitchBradley Jun 30, 2023
7e306cb
Fix tokenizer bug with space-only lines
MitchBradley Jul 3, 2023
fbdadec
Update problem.yml
MitchBradley Jul 4, 2023
5b93469
Fixed tokenizer bug
MitchBradley Jul 4, 2023
9da58e9
Release bluetooth memory when BT is disabled
MitchBradley Jul 4, 2023
98c776c
Update problem.yml
MitchBradley Jul 4, 2023
6f6a62d
Fix #955 - safety door open at startup problem
MitchBradley Jul 5, 2023
19ed9a2
Fix #953 - inappropriate planner syncs in laser mode
MitchBradley Jul 5, 2023
a61b244
Fixed upload file due to too few rx buffers
MitchBradley Jul 8, 2023
0ede37e
Fixed crash after upload due to use of deleted object
MitchBradley Jul 10, 2023
5ec9659
Added $localfs/rename and $sd/rename=oldname>newname
MitchBradley Jul 10, 2023
b18fab1
Do not auto-report G0/G1 changes in motion mode ...
MitchBradley Jul 10, 2023
53e3dff
Suppress autoreports to jammed websocket at a higher level
MitchBradley Jul 10, 2023
78d3ab4
Expose ticks_per_us to outside code.
MitchBradley Jul 10, 2023
328bf39
File rename function in HTTP
MitchBradley Jul 10, 2023
6fb359a
WebUI with file rename
MitchBradley Jul 10, 2023
4704b8c
Merge pull request #948 from bdring/WebSocketsNoStall
MitchBradley Jul 12, 2023
eba3f81
Merge pull request #960 from bdring/Devt
bdring Jul 12, 2023
a3c91b0
Add webapp to release files
breiler Jul 13, 2023
e0a0a4b
Fix the problems caused by #950
MitchBradley Jul 13, 2023
071f78f
Merge pull request #964 from bdring/FixWifiSettings
bdring Jul 13, 2023
fdd10af
Merge pull request #966 from bdring/Devt
bdring Jul 13, 2023
199740b
Merge pull request #963 from breiler/installer-webapp
bdring Jul 13, 2023
b2899c4
Fixed speed_map parsing and display
MitchBradley Jul 17, 2023
f8a6bd4
Added shared_fault_pin for stopping on driver faults/stalls
MitchBradley Jul 17, 2023
1659e6c
Merge branch 'main' into TMC_UART_CS
bdring Jul 18, 2023
70e1923
Add cs_pin to TMC2208
bdring Jul 18, 2023
4e4f199
Merge pull request #971 from bdring/FixSpeedMap
bdring Jul 18, 2023
f37597f
Merge pull request #976 from bdring/TMC_UART_CS
bdring Jul 18, 2023
9dc6fda
Check fault pin at startup if check_limits is true
MitchBradley Jul 18, 2023
6e16cb2
/control/fault_pin not /axes/shared_fault_pin
MitchBradley Jul 20, 2023
cd7ec06
Remove Fault from limits/show report
MitchBradley Jul 20, 2023
0bf6d72
Event name is now HardStop and message shows which pin triggered it
MitchBradley Jul 20, 2023
9f1de7c
Merge pull request #972 from bdring/FaultPin
MitchBradley Jul 20, 2023
cf5fed9
delay startup #973
Alex-CodeLab Jul 21, 2023
10bd9a8
Merge pull request #979 from Alex-CodeLab/fluidterm
bdring Jul 21, 2023
fec80d9
Merge pull request #980 from bdring/Devt
bdring Jul 21, 2023
0c9c237
First cut
MitchBradley Jul 24, 2023
e9800bd
Queue alarms instead of using a global variable
MitchBradley Jul 26, 2023
0636c0a
Check soft limits on arcs directly, instead of on their segments
MitchBradley Jul 26, 2023
2e24fb3
Lots of fixes
MitchBradley Jul 28, 2023
f08f7c3
Constraints to kinematics, post_homing macro, etc
MitchBradley Aug 1, 2023
0495d9c
Propagate Alarm state across ctrl-x resets
MitchBradley Aug 3, 2023
2f02a9f
Startup lines behave like other macros, with a log_info message
MitchBradley Aug 3, 2023
50f06ab
after_homing, after_unlock, after_reset macros
MitchBradley Aug 3, 2023
c0924f9
Update GPIOPinDetail.cpp
ajquick Aug 4, 2023
3b4cc9f
SoftLimits do not require $x
MitchBradley Aug 4, 2023
db1e68a
Created a Macro class for easier use of macros
MitchBradley Aug 6, 2023
164a09a
Run the after_unlock macro even if no unlock was necessary
MitchBradley Aug 6, 2023
fc50c1e
Merge pull request #981 from bdring/NewAlarms
MitchBradley Aug 6, 2023
8d90bff
Change log level to verbose for TMC register dump
MitchBradley Aug 6, 2023
0310f2f
Fix989 - treat empty pin specification like NO_PIN
MitchBradley Aug 6, 2023
9d7ef25
Merge pull request #988 from bdring/TMCVerboseDump
bdring Aug 7, 2023
a5bfcb0
Merge pull request #991 from bdring/Fix989
bdring Aug 7, 2023
684848e
Updates to latest devt.
bdring Aug 8, 2023
a9c8196
updates
bdring Aug 8, 2023
e768419
Use newer versions of arduinoWebSockets and WiFi libs with timeout
MitchBradley Aug 8, 2023
051b1da
Adding config
bdring Aug 9, 2023
6af2505
Added kinematics homing
bdring Aug 10, 2023
d9ab16b
Updates after some testing
bdring Aug 10, 2023
9ca4ad1
Update Homing.cpp
bdring Aug 11, 2023
7079eb4
Added _use_servos config item
bdring Aug 11, 2023
528f58a
Update Homing.cpp
bdring Aug 11, 2023
ff06f6f
Typo fixes in comments
bdring Aug 13, 2023
2e7b101
Added G38.6-9 to force probe units in mm
MitchBradley Aug 13, 2023
d700350
Merge pull request #992 from bdring/FixTimeout
MitchBradley Aug 13, 2023
dff1df6
Use newer versions of arduinoWebSockets and WiFi libs with timeout
MitchBradley Aug 14, 2023
4e31ec1
Fixed parsing error, made G38.6-9 always incremental
MitchBradley Aug 14, 2023
b8fa5c2
Update platformio.ini
bdring Aug 14, 2023
d63a827
Merge pull request #994 from bdring/PDeltaUpdate
bdring Aug 14, 2023
c077a11
New WebUI with support for G38.6 mm-only probing
MitchBradley Aug 14, 2023
1d4e2a0
Merge pull request #995 from bdring/ProbeInMm
bdring Aug 14, 2023
da54111
Merge pull request #996 from bdring/Devt
bdring Aug 15, 2023
150aea6
Fixes possible deadlock when pollLine grabs mutex and autoreport find…
vector76 Aug 15, 2023
026be24
Uniform (and not redundant) treatment of "0x" with to_hex()
vector76 Aug 15, 2023
128076b
Raising priority of i2s task prevents main task time-slicing in
vector76 Aug 15, 2023
3876da0
Reversed convention so to_hex has "0x" and caller should not have "0x"
vector76 Aug 15, 2023
715a092
Whoops, missed one
vector76 Aug 15, 2023
90f2be2
Breaks the vicious cycle where reporting low memory can trigger more …
vector76 Aug 15, 2023
c9f94bf
Merge pull request #998 from vector76/to_hex_redundant
MitchBradley Aug 15, 2023
18d2a15
Merge pull request #999 from vector76/i2s_task_raised_priority
MitchBradley Aug 15, 2023
b18497f
Merge pull request #1000 from vector76/low_mem_feedback_cycle
MitchBradley Aug 15, 2023
b1f1e8d
Merge pull request #997 from vector76/pollLine_mutex
MitchBradley Aug 15, 2023
6d2e398
Fixed crash caused by ! then CTRL-X, especially during an arc
MitchBradley Aug 16, 2023
26066b8
Cancel kinematics segment generation on sys.abort
MitchBradley Aug 16, 2023
97ce3e0
Swapped Huanyang frequency registers
bdring Aug 17, 2023
5492088
Merge pull request #1002 from bdring/FixResetCrash
MitchBradley Aug 17, 2023
353b9fe
Add an option to enable/disable SSDP and mDNS to save memory
vector76 Aug 24, 2023
be209b4
Enable and Disabled instead of verbose option strings
vector76 Aug 26, 2023
ff701e0
Updating Spindle Uarts
bdring Aug 26, 2023
3edb01e
Merge pull request #1006 from bdring/SpindleUartExampleUpdate
MitchBradley Aug 27, 2023
bb82227
Fix crash when running numbered macros
MitchBradley Sep 1, 2023
a79981a
Fix reset from arc
MitchBradley Sep 2, 2023
18f7b65
Merge pull request #1010 from bdring/FixMacros
MitchBradley Sep 2, 2023
4faae26
Merge pull request #1011 from bdring/ResetFromArc
MitchBradley Sep 2, 2023
3f4d3a0
Updated name to be consistent
bdring Sep 3, 2023
5b5198c
Merge pull request #1004 from vector76/optional_ssdp
bdring Sep 4, 2023
7c65125
Merge pull request #1013 from bdring/Devt
bdring Sep 4, 2023
bae0a69
Update index.html.gz
bdring Sep 5, 2023
48ee329
Merge branch 'Devt' of https://github.com/bdring/FluidNC into Devt
bdring Sep 5, 2023
0ab99db
Revert "Merge branch 'Devt' of https://github.com/bdring/FluidNC into…
bdring Sep 5, 2023
4841bf5
Revert "Update index.html.gz"
bdring Sep 5, 2023
bc5f3e9
Update index.html.gz
bdring Sep 5, 2023
9304839
Store startup log in RTC DRAM
MitchBradley Sep 7, 2023
1ee2b25
Basic functionality.
bdring Sep 8, 2023
84ab119
Cleanup
bdring Sep 8, 2023
db3b2ed
Cleanup
bdring Sep 10, 2023
5063b4a
Added interval item.
bdring Sep 10, 2023
fb2078a
Update Status_outputs.h
bdring Sep 10, 2023
bfdac37
Merge pull request #1014 from bdring/main
MitchBradley Sep 12, 2023
c7c1a85
Merge pull request #1018 from bdring/PreserveStartupLog
MitchBradley Sep 12, 2023
3ee2c61
Merge pull request #1021 from bdring/status_outputs
bdring Sep 12, 2023
608e614
Fixed some config errors that used to panic
MitchBradley Sep 12, 2023
37b2c34
Added source URL to initial version INFO message
MitchBradley Sep 20, 2023
c203e90
Optimize coolant delays
bdring Sep 29, 2023
43c44f8
Merge pull request #1033 from bdring/CoolantDelay
MitchBradley Sep 30, 2023
d9b672d
Merge pull request #985 from ajquick/u4wdh-patch-1
bdring Sep 30, 2023
d270d96
Merge pull request #1029 from bdring/SourceURL
MitchBradley Oct 1, 2023
989cd58
Merge pull request #1025 from bdring/FixPanics
MitchBradley Oct 1, 2023
c19700c
Merge pull request #1034 from bdring/Devt
bdring Oct 1, 2023
41dd0f0
Working on parsing
bdring Oct 3, 2023
10f088c
Adding a test config.
bdring Oct 4, 2023
f7369e5
SSDP Fix again after PR1004 got lost
bdring Oct 4, 2023
c8a8545
Fixed missing brace and eliminated unnecessary enum
MitchBradley Oct 4, 2023
d1fa280
WIP
bdring Oct 5, 2023
d0ba095
Fix add $30 to $$ report
bdring Oct 7, 2023
094db49
Fixed .... spindle is never nullptr
bdring Oct 7, 2023
184afd4
cleanup
bdring Oct 7, 2023
05641dc
report_interval_ms config for some channel types
MitchBradley Oct 7, 2023
c86b291
Pin extenders via Channel
MitchBradley Oct 8, 2023
8f39487
include cleanup
MitchBradley Oct 8, 2023
b648ef6
Fixed pin parsing oops
MitchBradley Oct 9, 2023
7ba1243
Fixed bug in JSONEncoder when trying to create a member whose value i…
michmela44 Oct 9, 2023
2da13de
Reinstated a macro fix that got lost in a git mixup
MitchBradley Oct 10, 2023
7737730
Merge pull request #1042 from bdring/ReFixMacros
MitchBradley Oct 10, 2023
c156da7
Merge pull request #1035 from bdring/FixSSDPagain
bdring Oct 10, 2023
eea0f72
Merge pull request #1040 from michmela44/JSONEncoder-fix
bdring Oct 10, 2023
3a5e93a
Fix Generation of JSON for boolean settings
michmela44 Oct 11, 2023
6af08d0
Change hidden password string to abide by minimum length
michmela44 Oct 12, 2023
10c9199
possible fix
bdring Oct 16, 2023
8d9d952
WIP
bdring Oct 16, 2023
f98ad13
Fix #1051 - bad VFD UART validation and generation logic
MitchBradley Oct 25, 2023
1c8f003
Merge pull request #1050 from bdring/enable_delay
bdring Oct 26, 2023
b379f4c
WIP
bdring Oct 27, 2023
61428cb
WIP
bdring Oct 28, 2023
fc3a378
Merge pull request #1054 from bdring/Dollar_30
bdring Nov 1, 2023
594296a
New message to indicate an incoming WebUI connection
MitchBradley Nov 2, 2023
35e885e
Added an initial GET after the channels are ready.
bdring Nov 2, 2023
3a18102
Cycle 0 and Macro Fixes
bdring Nov 4, 2023
734200d
Merge pull request #1059 from bdring/HomingCycle_0_Fix
bdring Nov 5, 2023
cbdcfd1
Merge pull request #1057 from bdring/ReportWebConnect
bdring Nov 5, 2023
73763ac
Merge pull request #1052 from bdring/Fix1051
bdring Nov 5, 2023
f5508af
Merge pull request #1044 from michmela44/JSONGenerator-fix
bdring Nov 5, 2023
a3a8f1c
Working on NAK
bdring Nov 8, 2023
0222615
Merge pull request #1063 from bdring/Devt
bdring Nov 8, 2023
a1f1850
wip
bdring Nov 9, 2023
2250d6c
Added auto update to channels.
bdring Nov 11, 2023
30e7bc5
Merge pull request #1045 from michmela44/DefaultPasswordString
bdring Nov 11, 2023
b1f5344
Reinstated a macro fix that got lost in a git mixup
MitchBradley Oct 10, 2023
7cf191e
Rebase merge and add ready() method
MitchBradley Nov 19, 2023
a529451
Send GET io.* while startup log is still active
MitchBradley Nov 19, 2023
a564bd1
Use UTF8 for extender pin reports
MitchBradley Nov 23, 2023
aa548e2
Merge pull request #1068 from bdring/channel_auto_update
bdring Dec 5, 2023
d8df106
Merge pull request #1078 from bdring/Devt
bdring Dec 8, 2023
1bf2afd
Added an interval range
bdring Dec 8, 2023
8753a05
Oops, we need 0 in the range to turn it off
bdring Dec 8, 2023
484aada
Merge pull request #1080 from bdring/channel_interval_range
bdring Dec 8, 2023
0477d57
Added all_messages config item to suppress chitchat on a channel
MitchBradley Dec 11, 2023
cabeb75
Fix unitialized UART config that caused inaccurate high baud rates
MitchBradley Dec 11, 2023
3e94650
Fix unitialized UART config that caused inaccurate high baud rates
MitchBradley Dec 11, 2023
6db0190
Added all_messages config item to suppress chitchat on a channel
MitchBradley Dec 11, 2023
c5144c0
Added report interval message to uart channel
MitchBradley Dec 11, 2023
2f2bd9f
Bug in ChannelPinDetail.cpp - cached value was not updated.
MitchBradley Dec 11, 2023
370d4f6
Added debug message for acks from expander
MitchBradley Dec 11, 2023
41a2d2c
Update uartio.yaml
bdring Dec 13, 2023
2240a02
Added per-channel message_level filter
MitchBradley Dec 13, 2023
884576a
Error checking for uart_channel pins
MitchBradley Dec 14, 2023
3d3bbc6
don't use homing macros when some axes are not homed. ($HX, etc)
bdring Dec 16, 2023
4bb66f5
Don't use homing macros when some axes are not homed. ($HX, etc)
bdring Dec 16, 2023
2a2ab60
Merge pull request #1088 from bdring/Homing_Macro_Fixes
MitchBradley Dec 16, 2023
b3d5b0e
Inferred _homing sections were treated as home-able
MitchBradley Dec 17, 2023
1835f84
Merge pull request #1090 from bdring/FixHoming
bdring Dec 17, 2023
a8bbf76
Added some more failure handling
bdring Dec 17, 2023
f9a110c
Change expander issues from warns to errors.
bdring Dec 17, 2023
63ab1b5
Merge pull request #1083 from bdring/UartFixes
bdring Dec 19, 2023
34b4b7a
Don't poll a null channel
MitchBradley Dec 19, 2023
073135a
Added $SD/ListJSON and $LocalFS/ListJSON for pendants
MitchBradley Dec 19, 2023
1af155b
New Refr button in Tablet
MitchBradley Dec 21, 2023
c201c82
Merge pull request #1091 from bdring/ListJSON
bdring Dec 21, 2023
f402be3
Merge pull request #1095 from bdring/NewIndex
bdring Dec 21, 2023
c4c1acd
Moving config file
bdring Dec 21, 2023
ee8f079
Merge pull request #1096 from bdring/Config-file-move
bdring Dec 21, 2023
30730ad
Removed debug messages for file hashing as no longer necessary
MitchBradley Dec 22, 2023
14e818e
Report filesystem changes so UIs can auto-refresh file lists
MitchBradley Dec 22, 2023
2f5208b
WebUI auto-refresh after file change
MitchBradley Dec 22, 2023
1a5056a
Added $SD/ShowSome and $LocalFS/ShowSome
MitchBradley Dec 28, 2023
13c74e1
Better structuring of ESPxxx command response in WebServer
MitchBradley Dec 30, 2023
6f2b1d8
Run the protocol engine while delaying for the OLED screens
MitchBradley Dec 30, 2023
02364b6
index.html.gz from main to fix merge conflict
MitchBradley Jan 4, 2024
3735108
Merge pull request #1097 from bdring/ReportFileChanges
MitchBradley Jan 4, 2024
993f632
index.html.gz responsds to Files changed message
MitchBradley Jan 4, 2024
e4ec336
Merge pull request #1103 from bdring/UpdateIndex
MitchBradley Jan 4, 2024
d9ec9c7
Merge branch 'main' into channel_pin_extender
MitchBradley Jan 4, 2024
b486443
Fixed merge botches
MitchBradley Jan 4, 2024
f680794
Merge pull request #1104 from bdring/channel_pin_extender
MitchBradley Jan 6, 2024
dcd8793
fixed wifi hostname not being applied
whosmatt Jan 13, 2024
e89add3
Merge pull request #1112 from whosmatt/patch-1
MitchBradley Jan 14, 2024
d90a8c9
Added error message for new error number 162
MitchBradley Jan 19, 2024
bacb53b
Added macros to make the proxy code a little less grotesque
MitchBradley Jan 19, 2024
0fe7bd2
Merge pull request #1114 from bdring/pr/dymk/946
MitchBradley Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/ISSUE_TEMPLATE/problem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ labels: ["triage"]
body:
- type: markdown
attributes:
value: Please fill in the forms below. The better the information you provide, the better we can help you. Information that you might think is irrelevant is often the key to solving the problem. **If we have to keep asking for information that you should have provided at the outset, we will become annoyed fairly quickly.** The amount of information that we ask for might seem excessive; it is not. We handle several issues a day. We cannot solve problems efficiently if we have to keep going back and forth for the basic information that we need.
value: |
Please search for answers on the [wiki](http://wiki.fluidnc.com) first.
If you don't find an answer, read [this](http://wiki.fluidnc.com/en/support/requesting_help) to help you fill in the forms below. The better the information you provide, the better we can help you. Information that you might think is irrelevant is often the key to solving the problem. **If we have to keep asking for information that you should have provided at the outset, we will become annoyed fairly quickly.** The amount of information that we ask for might seem excessive; it is not. We handle several issues a day. We cannot solve problems efficiently if we have to keep going back and forth for the basic information that we need.
- type: textarea
id: wiki-search
attributes:
label: Wiki Search Terms
description: Tell us some of the wiki search terms that you tried. This could help us improve the wiki.
placeholder: motor limit direction install configuration
validations:
required: true

- type: textarea
id: controller-board
attributes:
Expand Down Expand Up @@ -61,7 +72,7 @@ body:
Paste the startup messages here. You can see them by sending "$ss" from FluidTerm, WebUI Console, or any sender's console.
Look through the messages for any MSG:ERR or MSG:WARN lines. They indicate problems in your config file. You might be able
to solve the problem yourself. **Do not excerpt just the messages you think are revelant.
We need to see everything.**
We need to see everything.** [More info about startup messages](http://wiki.fluidnc.com/en/support/requesting_help#fluidnc-startup-messages)
placeholder: <Paste startup messages here>
render: text
validations:
Expand All @@ -80,6 +91,12 @@ body:
placeholder: I did something, expected this, and that happened
validations:
required: true
- type: textarea
id: gcode-file
attributes:
label: GCode File
description: If the problem occurs when running a GCode file, attach it here (with a .txt extension), or paste it if it is short. If you can find a short file that exhibits the problem, it will be easier for us to debug.
placeholder: Paste or attach GCode here
- type: textarea
id: other-info
attributes:
Expand Down
86 changes: 86 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: FluidNC Continuous Integration
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
pio_env:
- noradio
- wifi
- bt
# - wifibt
# - debug
pio_env_variant:
- ""
# - "_s2"
# - "_s3"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: platformio-${{ runner.os }}
- name: Build target ${{ matrix.pio_env }}${{ matrix.pio_env_variant }}
run: pio run -e ${{ matrix.pio_env }}${{ matrix.pio_env_variant }}

tests:
strategy:
matrix:
include:
- os: ubuntu-latest
pio_env: tests
- os: macos-latest
pio_env: tests
- os: windows-latest
pio_env: tests_nosan
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
# Windows has issues running gtest code with the included gcc, so install
# MSYS2 and use that instead (remember to add it to the path)
- if: matrix.os == 'windows-latest'
name: Install MSYS2 (Windows)
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
location: D:\
install: mingw-w64-ucrt-x86_64-gcc
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: platformio-${{ runner.os }}

# Separate run task for Windows, since it has issues with the included gcc
- if: matrix.os == 'windows-latest'
name: Run tests (Windows)
run: |
$env:PATH = "D:\msys64\mingw64\bin;D:\msys64\usr\bin;D:\msys64\ucrt64\bin;" + $env:PATH
pio test -e ${{ matrix.pio_env }} -vv
- if: matrix.os != 'windows-latest'
name: Run tests
run: pio test -e ${{ matrix.pio_env }} -vv
12 changes: 12 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ jobs:
release/*.zip
release/*.elf
draft: True
- name: Deploy to fluidnc-releases
uses: datalbry/copy_folder_to_another_repo_action@1.0.0
env:
API_TOKEN_GITHUB: ${{ secrets.RELEASE_COPY_TOKEN }}
with:
source_folder: 'release/current'
destination_repo: 'bdring/fluidnc-releases'
destination_branch: 'main'
destination_folder: releases/${{ github.event.inputs.tag }}
user_email: bdring@buildlog.net
user_name: 'Bart Dring'
commit_msg: Release ${{ github.event.inputs.tag }}
# - name: Upload mac bundle
# uses: actions/upload-artifact@v2
# with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ build/
dist/
*.cppx
*.hx
/compile_commands.json
Binary file modified FluidNC/data/index.html.gz
Binary file not shown.
1 change: 1 addition & 0 deletions FluidNC/esp32/PwmPin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ static uint8_t calc_pwm_precision(uint32_t frequency) {
}

PwmPin::PwmPin(Pin& pin, uint32_t frequency) : _frequency(frequency) {
log_info("....PwnPin Create");
uint8_t bits = calc_pwm_precision(frequency);
_period = (1 << bits) - 1;
_channel = allocateChannel();
Expand Down
52 changes: 52 additions & 0 deletions FluidNC/esp32/StartupLog.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// Copyright (c) 2023 - Mitch Bradley
// Use of this source code is governed by a GPLv3 license that can be found in the LICENSE file.

#include "src/StartupLog.h"
#include "src/Protocol.h" // send_line()
#include <sstream>

// The startup log is stored in RTC RAM that is preserved across
// resets. That lets us show the previous startup log if the
// system panics and resets.

// The size is limited by the size of RTC RAM minus system usage thereof
static const size_t _maxlen = 7000;
static RTC_NOINIT_ATTR char _messages[_maxlen];
static RTC_NOINIT_ATTR size_t _len;
static bool _paniced;

void StartupLog::init() {
if (esp_reset_reason() == ESP_RST_PANIC) {
_paniced = true;
} else {
_paniced = false;
_len = 0;
}
}
size_t StartupLog::write(uint8_t data) {
if (_paniced || _len >= _maxlen) {
return 0;
}
_messages[_len++] = (char)data;
return 1;
}
void StartupLog::dump(Channel& out) {
if (_paniced) {
log_error_to(out, "Showing startup log from previous panic");
}
for (size_t i = 0; i < _len;) {
std::string line;
while (i < _len) {
char c = _messages[i++];
if (c == '\n') {
break;
}
line += c;
}
log_to(out, line);
}
}

StartupLog::~StartupLog() {}

StartupLog startupLog;
35 changes: 35 additions & 0 deletions FluidNC/esp32/coredump.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Copyright 2022 Mitch Bradley
// Use of this source code is governed by a GPLv3 license that can be found in the LICENSE file.
//
// Noop replacements for ESP-IDF coredump routines.
// This suppresses complaints about not being able to find a coredump partition.
// We don't want to waste space for such a partition, and the Arduino Framework
// enables coredumps. We override that by stubbing out these routines.

#include <stddef.h>
#include "esp_err.h"
#include "esp_private/panic_internal.h"
#include "esp_core_dump_summary_port.h"

#ifdef __cplusplus
extern "C" {
#endif

void esp_core_dump_init(void) {}

void esp_core_dump_flash_init(void) {}
void esp_core_dump_to_flash(void* info) {}

esp_err_t esp_core_dump_image_check(void) {
return ESP_ERR_NOT_FOUND;
}
esp_err_t esp_core_dump_image_get(size_t* out_addr, size_t* out_size) {
return ESP_ERR_NOT_FOUND;
}
esp_err_t esp_core_dump_image_erase(void) {
return ESP_OK;
}

#ifdef __cplusplus
}
#endif
Loading