Comments (8)
Is this with the latest version? Asking since it compiles for me.
from esp32.
Using Windows 10. ESP-IDF was downloaded based on the latest, I think it's 4.3.1. Used both offline and online downloaders on 2 different machines. Followed your installation instructions exactly with only adjustments for install.sh and export.sh file names in Windows. No errors during install. Freshly pulled, cloned and updated all grblHAL code.
Feels like a compiler issue because the error says no member st_min, but line 419 in fptd.c is clearly written st.st_time. I tried copy/pasting the text back in thinking it was a bad, hidden character.
from esp32.
Feels like a compiler issue because the error says no member st_min, but line 419 in fptd.c is clearly written st.st_time.
Could it be that your version of the framework has a definition of vfs_stat_t that "hides" the one grblHAL provides? Or is it the way you compile that does it? I am compiling using VS Code.
I have not enabled ftp by default for other drivers as the both the fatFs and lwip configurations may need changes for that. Perhaps I should do the same for this driver and make it an option instead? If you do not need ftp enabled you can disable it by commenting out this line.
from esp32.
@terjeio
Sorry but I cannot determine the cause at this point until I have done more testing.
I can confirm that setting FTP_ENABLE to 0 n driver.h as you suggested enabled the code to compile.
I use the Powershell with the idf.py build command
It also seems core/driver_opts.h has special setting for all but ESP32 here
I had SDCard and Networking Enabled with Teensy 4.1. I was able to FTP files to the SD card by connecting to the IP address, but I had to use static IPs as DHCP did not seem to work. In order to get SD and Networking to compile I recall I had to find the dependancies (FatFS and lwip) in various places on the internet. Also I had to make many changes to lwip and FatFS and as I was not pulling the code using git, I was using Arduino IDE.
My goal is to use the ESP3D WebUI, but I'm not that far yet and do not know if FTP is required for my workflow.
As always your hard work is appreciated!
from esp32.
Sorry but I cannot determine the cause at this point until I have done more testing.
if you have time can you try by renaming vfs_stat_t
to something else? The instances are here:
It also seems core/driver_opts.h has special setting for all but ESP32 here
I'll incorporate that in driver.h in the next build - it makes maintenance a bit easier.
but I had to use static IPs as DHCP did not seem to work
I have done all my testing with DHCP so that is odd, IIRC I've had one complaint that static IP did not work.
from esp32.
@terjeio
I will look into it this weekend and report back.
Again thank you for all your hard work!
from esp32.
Today I updated to the latest commit
cd ~
cd .\esp\esp-idf\ESP32
git stash
git pull --recurse-submodules
git submodule update --remote
Made changes in CMakeList.txt
Networking, SDcard and SoftAP all 3 set to ON. I believe this will meet my needs, but need to confirm.
from esp32.
I have added a workaround for this in the latest version - I have no idea why the compiler flags this as an error with v4.3 of the IDF. It even suggests to rename the field to the name it already has... Silly.
from esp32.
Related Issues (20)
- Flashed xPRO V5 Only communicating with X axis driver HOT 2
- Compilation error HOT 9
- Build fails with error in uart_serial.c HOT 11
- Watchdog task when connecting to WiFi HOT 1
- flash firmware su mks dlc32 v.2.1 HOT 24
- Controller randomly stops HOT 4
- unable to compile latest version HOT 4
- Issues Web interface HOT 6
- Can't compile BOARD_MKS_TINYBEE_V1 .esp32 I get errors HOT 3
- Spindle minimum stop time 1 sec. and I have a laser. HOT 4
- typo in vscode ini files HOT 3
- How to use UART1? HOT 7
- Difficult to compile ESP32 Project! HOT 2
- "Task watchdog got triggered." when WEBSOCKET_ENABLE or TELNET_ENABLE HOT 6
- Web Builder - auto square HOT 3
- Build image not working HOT 21
- Changing pin mapping - MKS Tinybee HOT 4
- Limits override cannot save. HOT 1
- How to invert motor fault pin? HOT 2
- E-stop (Reset) no pullup? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32.