pxt-maker icon indicating copy to clipboard operation
pxt-maker copied to clipboard

Docs Update - Custom Boards

Open wallarug opened this issue 5 years ago • 2 comments

Hi there,

I'll take ownership of this one and formalise it a bit better.

This is relating to adding custom boards with extended name sets.

@peterpanstechland message: in order to get the dts.ts.d autogenerated, you need to(this is what i did):

pxt clean
rm -Rf node_modules/pxt-common-packages
pxt link ../pxt-common-packages  (this is after you have modified the configkeys.h)
pxt buidaldts (if you get some error about missing file in the built folder, I got this error when i did this, and then I tried run "pxt builddaldts" in the pxt-maker/node_modules/pxt-common-package/ first, then run this command again in the pxt-maker folder)
this should update the dts.ts.d files.

Short Version (updated):

pxt clean
rm -Rf node_modules/pxt-common-packages
pxt link ../pxt-common-packages
pxt builddaldts
pxt serve --localbuild

wallarug avatar Feb 05 '20 11:02 wallarug

I've added instructions in the README on building CODAL: https://github.com/microsoft/pxt-maker/pull/289

pelikhan avatar Feb 14 '20 16:02 pelikhan

I've added a note about dal.d.ts too

pelikhan avatar Feb 14 '20 16:02 pelikhan