Skip to content

Creating a target #991

Answered by andycarle
tve asked this question in Getting started
Dec 15, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Is it a "target" or a "platform" or a "sub platform" that I'm creating? I'm passing it to mcconfig's -p option, right? But in the source tree that stuff is under esp32/targets...

You're creating a subplatform of the esp32 platform. We generally use "target" to refer to either a platform (e.g. -p esp8266) or a platform/subplatform combination (e.g. -p esp32/moddable_two). You are correct that the esp32/targets folder probably should actually be named esp32/subplatforms. The historical reasons that it is not are not especially interesting.

Where? In the moddable source tree? I don't see anywhere I can specify where my sub-platform definitions live. How does that fare when I upgrade the m…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nickthiru
Comment options

@phoddie
Comment options

@nickthiru
Comment options

Answer selected by tve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants