infinnovation-dev / micropython Goto Github PK
View Code? Open in Web Editor NEWThis project forked from micropython/micropython
MicroPython - the "mbed" branch here is a port to the mbed classic platform
License: MIT License
This project forked from micropython/micropython
MicroPython - the "mbed" branch here is a port to the mbed classic platform
License: MIT License
Explain Ctrl-B etc.
We need this for default pin names.
Cut'n'paste error
{ MP_OBJ_NEW_QSTR(MP_QSTR_mode), (mp_obj_t)&mbed_DigitalIn_read_obj },
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?)
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
Implement the mbed functions wait(float), wait_ms(int) amd wait_us(int).
Maybe also the time() and set_time() functions.
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.
Boards have different value for enum PinMode (some have OpenDrain and/or Repeater; some don't have PullDown).
Employ the same technique as for PinName.
The output is likely to be O(n^2) in number of targets. Things we can do to improve things are:
Populate sys.platform with "mbed"
Need backticks around example code.
Provide a help() function for the repl. Use stuff from help-helper branch even if PR has not been accepted upstream.
Use makefile variables for categories of inputs.
Set them as dependencies.
Check what is needed to define limits of heap area and root pointers.
Update initialsation code and enable the gc module.
Can just be a regular C file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.