All Projects → microsoft → pxt-maker

microsoft / pxt-maker

Licence: other
MakeCode target for "Maker" boards (beta)

Programming Languages

typescript
32286 projects
Less
1899 projects

Projects that are alternatives of or similar to pxt-maker

pxt-neopixel
A Neo-Pixel package for pxt-microbit
Stars: ✭ 47 (-56.07%)
Mutual labels:  pxt, makecode
Pxt
Microsoft MakeCode (PXT - Programming eXperience Toolkit)
Stars: ✭ 1,649 (+1441.12%)
Mutual labels:  pxt, makecode
pxt-holidays
A Holiday Card sample target embedding PXT inside a React web app
Stars: ✭ 32 (-70.09%)
Mutual labels:  pxt, makecode
cemu-smmdb
No description or website provided.
Stars: ✭ 56 (-47.66%)
Mutual labels:  maker
MagPiDownloader
Downloads all the Mag Pi (Raspberry Pi Magazine) on your Windows, Mac OS or Linux or with Docker
Stars: ✭ 70 (-34.58%)
Mutual labels:  maker
pxt-powerfunctions
MakeCode extension for controlling your LEGO Power Functions devices with an IR-emitting LED
Stars: ✭ 44 (-58.88%)
Mutual labels:  makecode
maker
Maker is a advanced mobile ToDo app for Android and iOS
Stars: ✭ 35 (-67.29%)
Mutual labels:  maker
Resume-Maker
Resume Maker is tool where you can generate your resume for free. It has functionality like dynamic preview, color themes, responsive ,etc.
Stars: ✭ 40 (-62.62%)
Mutual labels:  maker
invitation-card-maker
❤ 婚礼邀请函制作工具
Stars: ✭ 22 (-79.44%)
Mutual labels:  maker
Aiyprojects Raspbian
API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)
Stars: ✭ 1,510 (+1311.21%)
Mutual labels:  maker
arduino-midi-sound-module
Turn your Arduino Uno into a 16-voice MIDI sound synthesizer
Stars: ✭ 43 (-59.81%)
Mutual labels:  maker
custom-hotword-for-aiy-voicekit
Snowboy API for AIY Voice Kit
Stars: ✭ 26 (-75.7%)
Mutual labels:  maker
decentrapay
Maker DAI payment processor
Stars: ✭ 72 (-32.71%)
Mutual labels:  maker
themes
Need to find a new theme for your DBM Client? Check here!
Stars: ✭ 16 (-85.05%)
Mutual labels:  maker
MakeCode-Android
Run MakeCode Arcade projects on Android!
Stars: ✭ 16 (-85.05%)
Mutual labels:  makecode
WebPixelFrame
Code to control a ESP8266 and a matrix of ws2812b pixels
Stars: ✭ 19 (-82.24%)
Mutual labels:  maker
scripts
A collection of random scripts I coded up
Stars: ✭ 17 (-84.11%)
Mutual labels:  maker
MMORPGMaker-MV
Plugin to transform RPG Maker MV to MMORPG Maker MV
Stars: ✭ 67 (-37.38%)
Mutual labels:  maker
LEMPA
Standalone programmer for micro controllers.
Stars: ✭ 86 (-19.63%)
Mutual labels:  maker
ToolpathGenerator
Automating Toolpath Planing and Generation for 3-Axis CNC
Stars: ✭ 26 (-75.7%)
Mutual labels:  maker

MakeCode Maker Actions Status

This is an experimental code editor for maker boards - try it at https://maker.makecode.com.

Who is this for?

This editor is meant for micro-controllers that are friendly to breadboarding. The editor is based on Microsoft MakeCode.

Local Dev Server

The local server lets you to run the editor and serve the documentation from your own computer.

Setup

  1. Install Node.js 8.9.4 or higher.
  2. Install Docker if you are going to edit any .cpp files.
  3. Clone the pxt repository.
git clone https://github.com/microsoft/pxt
cd pxt
  1. Install the dependencies of Microsoft/pxt and build it
npm install
npm run build
cd ..
  1. Clone the Microsoft/pxt-common-packages repository
git clone https://github.com/microsoft/pxt-common-packages
cd pxt-common-packages
npm install
cd ..
  1. Clone the Microsoft/pxt-maker repository
git clone https://github.com/microsoft/pxt-maker
cd pxt-maker
  1. Install the PXT command line (add sudo for Mac/Linux shells).
npm install -g pxt
  1. Install the pxt-maker dependencies.
npm install
  1. Link pxt-maker back to base pxt repo (add sudo for Mac/Linux shells).
rm -Rf node_modules/pxt-core
rm -Rf node_modules/pxt-common-packages
pxt link ../pxt
pxt link ../pxt-common-packages

If you want to know if your folders are link, run ls -l and it will indicate them.

ls -l node_modules/

Note the above command assumes the folder structure of

       maker.makecode.com
          |
  ----------------------------------
  |       |                        |
 pxt      pxt-common-packages  pxt-maker

Refresh dal.d.ts files

Whenever you make changes to the #defines in the .cpp files, you will have to refresh the dal.d.ts files. For that, run

pxt builddaldts

CODAL changes

If you need to do changes to CODAL itself, follow these steps.

  • create a new project in the web editor, then close the web server. Select the hardware you want to work with.
  • using a command prompt, open the projects folder and find the subfolder with your new project
  • open the folder in Visual Studio Code
code .
  • open pxt.json and edit the dependencies to use the file:... path instead of *
   dependencies: {
        "adafruit-metro-m0-express": "file:../../libs/adafruit-metro-m0-express"
   }
  • from the command line, set the PXT_NODOCKER environment variable to 1
export PXT_NODOCKER=1
  • run a local build that will create a CODAL checkout automatically. If you are missing tools, you will be notified by the build script.
pxt build --local --force
  • go to the built/dockercodal folder and open all CODAL in a new Visual Studio Code instance
cd built/dockercodal
code libraries/*
  • go to the Git tab in VS Code, and change the branch of the CODAL repository to work on to master. You can create a new branch to start doing your work and pull requests.

  • to build CODAL directly, run built/codal

python build.py
  • to rebuild your project from pxt, run pxt build --local --force from the project folder

Running

Run this command from inside pxt-maker to open a local web server

pxt serve

If the local server opens in the wrong browser, make sure to copy the URL containing the local token. Otherwise, the editor will not be able to load the projects.

If you need to modify the .cpp files (and have installed yotta), enable yotta compilation using the --localbuild flag:

pxt serve --localbuild

Updates

Make sure to pull changes from all repos regularly. More instructions are at https://github.com/microsoft/pxt#running-a-target-from-localhost

Repos

The pxt-maker target depends on several other repos. The main ones are:

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].