Comments (13)
Legg til pindefinisjoner for X_LIMIT_PIN_MAX, Y_LIMIT_PIN_MAX og Z_LIMIT_PIN_MAX i mappingfilen du benytter.
from imxrt1062.
sono nuovo con grblhal e sto cercando di imparare...devo compilare per teensy 4.1 e T41U5XBB..esattamente quale è il percorso del file da modificare?
from imxrt1062.
Kopier T41U5XBB_map.h til my_machine_map.h og modifiser den. Fjern kommentar fra denne linjen for å kompilere med my_machine_map.h. Dette sikrer at endringene ikke blir overskrevet ved en oppdatering av kildekoden.
from imxrt1062.
ok, perfetto aggiungo X_LIMIT_PIN_MAX sotto X_LIMIT_PIN e indico il pin di riferimento?
Ma posso attivare l'hard limit solo per alcuni pin di limit?
from imxrt1062.
ok, perfetto aggiungo X_LIMIT_PIN_MAX sotto X_LIMIT_PIN e indico il pin di riferimento?
Korrekt, bruk definisjonene for M3_LIMIT_PIN, M4_LIMIT_PIN og SAFETY_DOOR_PIN for innganger med optokoblere.
Ma posso attivare l'hard limit solo per alcuni pin di limit?
Nei, men vær oppmerksom på at hvilken inngang som blir bruk for homing er avhengig av om retning er invertert eller ikke ($23).
from imxrt1062.
Ho definito i pin di X_LIMITS_PIN_MAX, Y_LIMITS_PIN_MAX e Z_LIMITS_PIN_MAX in questo modo prendendo il relativo pin da m3 m4 e safety door. Basta questo su my_machine_map.h?
L'homing è definito su -X -Y e niente Z. Homing in basso a sx solo per X e Y. Faccio homing con endstop -x e -y, mentre i +x e +y mi servono per hard limits, anche se uso i soft limit...una sicurezza in più.
Per quanto riguarda la Z la mia idea è di usare il sensore induttivo per alzare il piano e posizionare il materiale alla giusta distanza per il mio fuoco laser. Il piano sale e incontra il sensore induttivo. metti caso mi dimentico di posizionare il piatto metallico per essere rilevato oppure un guasto al sensore induttivo...il piano continua a salire e va dritto a sbattere contro la testa laser. Per questo volevo altri 2 sensori, uno sopra e uno sotto , per limitare e bloccare la corsa del piano. quello sopra un 5mm più in alto del sensore induttivo. L'asse Z avra 1 sensore ottico sotto, un sensore ottico sopra e un sensore induttivo montato nella testa del laser un goccio sotto il sensore ottico posizionato in alto.
from imxrt1062.
Salve, utilizzo platformio su vs code, eseguo git clone --recurse-submodules https://github.com/grblHAL/iMXRT1062.git e modifico in questo modo i seguenti file che ho rinominato in .txt per esere aggiunti qua.
my_machine.h.txt
my_machine_map.h.txt
ma ottengo questo errore
src\networking\networking.c:86:9: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wstringop-overflow"
dove sbaglio?
from imxrt1062.
Pin definitsjoer er nok ok, test om de virker som de skal.
src\networking\networking.c:86:9: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wstringop-overflow"
Ignorer denne advarselen, den er for å unngå en annen - noen compilere er mer trøblete enn andre...
from imxrt1062.
Ignorer denne advarselen, den er for å unngå en annen - noen compilere er mer trøblete enn andre...
mi è successo la stessa cosa attivando, in fase di compilazione, anche la scheda sd e webui. l'errore era sempre di colore arancione, non rosso. stasera ricompilo con queste impostazioni e posto i risultati
from imxrt1062.
ho attivato WEBUI, ETHERNET e SDCARD e ricevo questo risultato:
quindi non sono errori?
from imxrt1062.
Vel, det er bare kompilatoren / konfiguasjonen for iMRX1062 som produserer disse advarslene. Jeg har valgt å ikke bruke tid på å omgå de - kanskje senere? Koden kjører uten problemer.
For info: jeg bruker Arduino IDE for å kompilere, kompilatoropsjoner kan ikke settes fra dette primitive brukergrensensittet...
from imxrt1062.
Quindi non sono errori...seguirò il tuo consiglio per ompilare con arduino..prima di platformio ho provato con arduino ma avevo anche là errori..passo ad arduino e vediamo cosa succede, grazie
from imxrt1062.
con arduino ricevo questo, stessa configurazione
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c: In function 'system_execute_line':
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c:419:23: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
419 | *(--args) = '=';
| ~~~~~~~~~~^~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c:360:42: note: at offset 1 into destination object 'line' of size [0, 2147483647]
360 | status_code_t system_execute_line (char *line)
| ~~~~~~^~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c:424:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
424 | *args++ = '\0';
| ~~~~~~~~^~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c:360:42: note: at offset 1 into destination object 'line' of size [0, 2147483647]
360 | status_code_t system_execute_line (char *line)
| ~~~~~~^~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\multipartparser.c: In function 'multipartparser_init':
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\multipartparser.c:122:5: warning: 'strncpy' specified bound 70 equals destination size [-Wstringop-truncation]
122 | strncpy(parser->boundary, boundary, sizeof(parser->boundary));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\networking.c: In function 'networking_get_services_list':
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\networking.c:96:13: warning: 'strncat' output truncated copying 3 bytes from a string of length 4 [-Wstringop-truncation]
96 | strncat(list, service_names[idx], strlen(service_names[idx]) - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\sdcard\fs_littlefs.c:185:14: warning: 'fs_getcwd' defined but not used [-Wunused-function]
185 | static char *fs_getcwd (char *buf, size_t size)
| ^~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\webui\args.c: In function 'webui_get_bool_arg':
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\webui\args.c:56:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
56 | if(webui_get_arg(argc, argv, strncpy(tmp, arg, strlen(arg) - 1)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\grblHAL_Teensy4\src\webui\args.c:56:56: note: length computed here
56 | if(webui_get_arg(argc, argv, strncpy(tmp, arg, strlen(arg) - 1)))
| ^~~~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c: In function 'sd_isr':
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:332:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
332 | while(!(SDHC_IRQSTAT & SDHC_IRQSTAT_TC));// SDHC_IRQSTAT &= ~SDHC_IRQSTAT_TC;
| ^~~~~
In file included from c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:51:
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sdio_priv.h:363:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
363 | #define SDHC_MIX_CTRL (USDHC1_MIX_CTRL) // Mixer Control
| ^
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:335:5: note: in expansion of macro 'SDHC_MIX_CTRL'
335 | SDHC_MIX_CTRL &= ~(SDHC_MIX_CTRL_AC23EN | SDHC_MIX_CTRL_DMAEN) ;
| ^~~~~~~~~~~~~
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c: In function 'sd_CMD13_WaitForReady':
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:881:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
881 | { while ((SDHC_PRSSTAT & SDHC_PRSSTAT_CIHB) || (SDHC_PRSSTAT & SDHC_PRSSTAT_CDIHB)) ;
| ^~~~~
In file included from c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:51:
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sdio_priv.h:358:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
358 | #define SDHC_IRQSTATEN (USDHC1_INT_STATUS_EN) // Interrupt Status Enable register
| ^
c:\Users\Biagio\Documents\Arduino\libraries\uSDFS\src\utility\sd_sdhc.c:882:5: note: in expansion of macro 'SDHC_IRQSTATEN'
882 | SDHC_IRQSTATEN |= SDHC_IRQSTATEN_CCSEN;
| ^~~~~~~~~~~~~~
Opening Teensy Loader...
Memory Usage on Teensy 4.1:
FLASH: code:297604, data:100932, headers:9012 free for files:7718916
RAM1: variables:180288, code:294968, padding:32712 free for local variables:16320
RAM2: variables:12416 free for malloc/new:511872
from imxrt1062.
Related Issues (20)
- Compile errors with latest code. HOT 44
- z-axis TLO and probing report with bCNC HOT 4
- How to input Motor Fault signal? HOT 5
- LATHE Y to Z HOT 2
- BLTouch Servo Probe HOT 5
- RC PWM Spindle control HOT 2
- Question: Why is it an error to use a pin other than 12 or 13 for SPN PWM? HOT 11
- How to add new pins and use them. HOT 17
- I have run the compile both with Arduino IDE and PlatformIO with MCP3221 Enabled. HOT 2
- laser co2 + diodo
- valore ottimale planner $398 HOT 4
- COOLANT_MIST_PIN changing from pin 24 to any other available pin breaks communication with board after flashing successfully. HOT 4
- Hello and I have Been Known to Misinterpret Ideas HOT 5
- Using native USB host port as HID input for wireless keyboards HOT 2
- Error in GRBLHAL2000_map.h file HOT 1
- calo improvviso emissione fascio laser / pwm HOT 6
- Not an issue: I want to know MODBUS implementation. HOT 23
- $398=100 homing problems HOT 1
- Compilation problem after I formatted my macbook HOT 7
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 imxrt1062.