Giter VIP home page Giter VIP logo

smoothie-nuttx's Introduction

Overview

Smoothie is a free, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++ for the LPC17xx micro-controller ( ARM Cortex M3 architecture ). It will run on a mBed, a LPCXpresso, a SmoothieBoard, R2C2 or any other LPC17xx-based board. The motion control part is a port of the awesome grbl.

Documentation can be found here : http://smoothieware.org/

NOTE it is not necessary to build Smoothie yourself unless you want to. prebuilt binaries are available here: recent stable build

Quick Start

These are the quick steps to get Smoothie dependencies installed on your computer:

  • Pull down a clone of the Smoothie github project to your local machine.
  • In the root subdirectory of the cloned Smoothie project, there are install scripts for the supported platforms. Run the install script appropriate for your platform:
    • Windows: win_install.cmd
    • OS X: mac_install
    • Linux: linux_install
  • You can then run the BuildShell script which will be created during the install to properly configure the PATH environment variable to point to the required version of GCC for ARM which was just installed on your machine. You may want to edit this script to further customize your development environment.

Building Smoothie

Follow this guide... http://smoothieware.org/compiling-smoothie

In short... From a shell, switch into the root Smoothie project directory and run:

make clean
make all

To upload you can do

make upload

if you have dfu-util installed.

Alternatively copy the file LPC1768/main.bin to the sdcard calling it firmware.bin and reset.

Filing issues (for bugs ONLY)

Please follow this guide https://github.com/Smoothieware/Smoothieware/blob/edge/ISSUE_TEMPLATE.md

Contributing

Please take a look at :ย 

Contributions very welcome !

Donate

The Smoothie firmware is free software developed by volunteers. If you find this software useful, want to say thanks and encourage development, please consider a Donation

License

Smoothieware is released under the GNU GPL v3, which you can find at http://www.gnu.org/licenses/gpl-3.0.en.html

smoothie-nuttx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smoothie-nuttx's Issues

ethernet init hangs if no ethernet present

#0  0x140842fe in lpc43_ethreset (priv=0x10002624 <g_lpc43ethmac>) at chip/lpc43_ethernet.c:3423
#1  0x1408432c in lpc43_ifdown (dev=dev@entry=0x10002660 <g_lpc43ethmac+60>) at chip/lpc43_ethernet.c:2305
#2  0x14084a1a in lpc43_ethinitialize () at chip/lpc43_ethernet.c:3842
#3  up_netinitialize () at chip/lpc43_ethernet.c:3869
#4  0x1405c1e6 in up_initialize () at common/up_initialize.c:267
#5  0x14059e5a in os_start () at init/os_start.c:691
#6  0x1405bd4c in __start () at chip/lpc43_start.c:355

Certain boards will have no ethernet populated, and we do not want to have to support two different versions of nuttx, it would be nice if ethernet setup could gracefully fail if the ethernet chips are not present.

CDC serial on nuttx needs to honor USB flow control

Right now if you stream over the USB serial most of the buffers are lost as there is no flow control.
Smoothie V1 uses USB native flow control so the amount of data from the host to the board is controlled by the flow control and no buffer are lost and we can do things like upload and fast-stream.

Fix ENOTCONN for USB CDC driver

opening a USBCDC that is not connected should return ENOTCONN, but it only does so the first time. The second call always returns ok. This makes it impossible to properly detect if a host is connected or not, and also no way to see if the host has disconnected.

CDC driver crashes when given buffers > 64

Writing to the USB CDC with write() will crash if the buffer is more than about 64 bytes.
This makes sense as the USB blocks are 64 bytes, but the driver should not crash it should split the buffer up into 64 byte chunks.

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.