Giter VIP home page Giter VIP logo

micropython's People

Contributors

altasoul avatar anton-2 avatar atx avatar blazewicz avatar blmorris avatar bvernoux avatar chipaca avatar danicampora avatar deshipu avatar dhylands avatar dpgeorge avatar errordeveloper avatar flowergrass avatar henriksolver avatar iabdalkader avatar lurch avatar mcauser avatar mrsurly avatar peterhinch avatar pfalcon avatar pohmelie avatar prusnak avatar puuu avatar rjdowdall avatar robert-hh avatar rosuav avatar stinos avatar swegener avatar tomlogic avatar xbe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jobbyworld

micropython's Issues

pins should be mbed.pins

The pins module should not pollute the top-level namespace.

Need to check how to do this (name as "mbed.pins"? make an attribute of mbed?)

Set MICROPY_HW_BOARD_NAME to target name

Use some Makefile/python hackery to generate a #if nest of alternatives:

#if TARGET_K64F
#define MICROPY_HW_BOARD_NAME "K64F"
#elif TARGET_KL25Z
#define MICROPY_HW_BOARD_NAME "KL25Z"
...
#else
#define MICROPY_HW_BOARD_NAME "unknown"
#endif

And see if there's anything we can do for MICROPY_HW_MCU_NAME

Newlines not cooked when compiled in online IDE

The output of help() is staggered across the screen, i.e. \n is not translated to \r\n.
Maybe the online compiler treats printf() differently so the function in lib/utils/printf.c is not used.

Output of makeqstrcond needs optimisation

The output is likely to be O(n^2) in number of targets. Things we can do to improve things are:

  • elide repeated clauses with the same condition
  • recognise if/elif/elif... pattern and convert back

Provide help() function

Provide a help() function for the repl. Use stuff from help-helper branch even if PR has not been accepted upstream.

Use GC

Check what is needed to define limits of heap area and root pointers.
Update initialsation code and enable the gc module.

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.