Coder Social home page Coder Social logo

smoothieware / smoothie-nuttx Goto Github PK

View Code? Open in Web Editor NEW
11.0 9.0 8.0 51.41 MB

A version of nuttx used by smoothie-v2

Makefile 1.26% C 88.37% C++ 7.23% Objective-C 0.02% Assembly 1.48% Pascal 0.01% Shell 1.40% Batchfile 0.07% Python 0.04% Perl 0.01% CMake 0.01% Visual Basic 0.01% HTML 0.02% CSS 0.01% PHP 0.01% Tcl 0.03% Lex 0.07%
nuttx smoothie-nuttx smoothie

smoothie-nuttx's Introduction

smoothie-nuttx

A version of nuttx used by smoothie-v2

This is preconfigured to include all drivers that are required for smoothie to operate.

To build and export the library for the Bambino

cd nuttx/tools
./configure.sh bambino-200e/smoothiedev
cd ..
make export

for mini alpha

cd nuttx/tools
./configure.sh smoothiev2-mini-alpha/smoothiedev
cd ..
make export

Then unzip the resulting nuttx-export.zip into the top of the directory you want to develop in.

smoothie-nuttx's People

Contributors

acassis avatar andreasbihlmaier avatar andrwwbstr avatar avykhovanets avatar canhkha avatar egnagflow avatar gregory-nutt avatar heathpetersen avatar jrosberg avatar juniskane avatar kdp1965 avatar key2 avatar kloper avatar konstantinberezenko avatar masayuki2009 avatar mlyszczek avatar neilh10 avatar nmacs avatar no1wudi avatar papatience avatar pnb990 avatar ppisa avatar raiden00pl avatar rdbihlmaier avatar slorquet avatar spiriou avatar w8jcik avatar wolfmanjm avatar young-mu avatar ziggurat29 avatar

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

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.

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.

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.