Git Product home page Git Product logo

stm32f3xx's Introduction

grblHAL driver for STM32F3xx processors

See the Wiki-page for compiling grblHAL for instructions for how to import the project, configure the driver and compile.

NOTE: This is an initial version, currently only bench tested with an oscillocope using a F303 Blackpill board.

The F303 Blackpill board is electrically and pin number compatible with F103 based *pills.
It is not pin function compatible and thus cannot always be used as a drop-in replacement for F103 based *pills.
Notably routing I2C2 SDA/SCL signals to PB10/PB11 is not possible. The F303 based Blackpill cannot be used as a replacement for breakout boards needing these pins for I2C communication.

The F303 should be preferred over F103 for grblHAL use as it has a FPU and plenty of RAM (48K vs 20K) and flash (256K vs 128K).
It is also a safer alternative for grblHAL as the F103 is at the edge of beeing usable, e.g. adding plugins is not always possible due to memory limitations.

Available driver options can be found here.


2021-04-14

stm32f3xx's People

Contributors

terjeio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ua6em

stm32f3xx's Issues

USB_DEVICE directory is missing?

I visited the new home of grblHAL today and tried to compile my driver.
It's not a real issues because only one directory is missing.
In any case, this compilation error occurs:

USB_Verzeichnis

After copying the USB_DEVICE directory from an older version, the compilation is successful.
;-)

two warnings after compile

Hello terjeio,

unfortunately i am very busy at the moment and have very very little time for my cnc hobby. That's why i'm very rarely here lately. I have to say that a lot has happened since I was here last time, which is nice.
Now to my concern, after I compile grblhal only with the original settings, have not changed anything in the files, for the F3 I get 2 warnings:

13:22:03 Build Finished. 0 errors, 2 warnings. (took 6s.521ms)

../USB_DEVICE/App/usbd_cdc_if.c: In function 'CDC_Receive_FS':
../USB_DEVICE/App/usbd_cdc_if.c:263:3: warning: implicit declaration of function 'usbBufferInput' [-Wimplicit-function-declaration]
usbBufferInput(Buf, *Len)

 from ../Src/serial.c:30:

../Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h:58:0: warning: "UNUSED" redefined
#define UNUSED(X) (void)X /* To avoid gcc/g++ warnings */

Also, some changes have been made to the four-axis operation, do I have to pay attention to anything when I activate 4 axes in config.h?

greetings
Stefan

Build 20211130, compile error

Hello terjeio,

Unfortunately, 3 errors are displayed when I compile.

../grbl/settings.c:509:6: error: expected '}' before '{' token
{ Setting_DoorSpindleOnDelay, Group_SafetyDoor, "Spindle on delay", "s", Format_Decimal, "#0.0", "0.5", "20", Setting_IsExtended, &settings.safety_door.spindle_on_delay, NULL, NULL },
^
arm-none-eabi-gcc "../grbl/tool_change.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DDEBUG -DSTM32F303xC -c -I../Drivers/STM32F3xx_HAL_Driver/Inc -I../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F3xx/Include -I../Drivers/CMSIS/Include -I../Inc -I"C:/grblhal_F303_16_master/STM32F3xx-master/STM32F3xx-master" -I"C:/grblhal_F303_16_master/STM32F3xx-master/STM32F3xx-master/Src" -I../USB_DEVICE/App -I../USB_DEVICE/Target -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -Og -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"grbl/tool_change.d" -MT"grbl/tool_change.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "grbl/tool_change.o"
make: *** [grbl/subdir.mk:147: grbl/settings.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j12 all" terminated with exit code 2. Build might be incomplete.

15:55:25 Build Failed. 3 errors, 0 warnings. (took 1s.842ms)

As always, the 4th axis is activated and safty door is on. :-)

greetings
Stefan

Use Arduino IDE

Hi terjeio,

I have been reading through the documentation on compiling the STM32F303xxx code with the Arduino IDE but I cannot install as per the instructions.

I am a relative novice at using IDE's and would greatly appreciate a little advice as I am sure I am doing something wrong.

Cheers
G

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.