test for board type in build_jswrapper.py #5289
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2016-04-18 by @gfwilliams That's a good point - I wonder if it actually knows... I know it's supplied with a bunch of definitions on the command-line that you could check, so ( Posted at 2016-04-18 by Wilberforce
Reading up on the getopt module.... Posted at 2016-04-18 by Wilberforce This works:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-04-16 by Wilberforce
Hi,
I want to generate conditional code for the ESP8266 in build_wrapper.py:151
If unsure how to read the command line args and what the board test string would be.
if board == 'ESP8266'
at the moment there doesn't appear to be any conditional board code?
Beta Was this translation helpful? Give feedback.
All reactions