mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
oops
This commit is contained in:
parent
d0a231c6e9
commit
4f76bd6439
@ -28,7 +28,16 @@ info = {
|
||||
'binaries' : [
|
||||
{ 'filename' : 'espruino_%v_espruino_1r3_wiznet.bin', 'description' : "WIZNet W5500 Ethernet Networking"},
|
||||
{ 'filename' : 'espruino_%v_espruino_1r3.bin', 'description' : "TI CC3000 WiFi Networking"},
|
||||
]
|
||||
],
|
||||
'build' : {
|
||||
'defines' : [
|
||||
'USE_NET',
|
||||
'USE_GRAPHICS',
|
||||
'USE_TV',
|
||||
'USE_HASHLIB',
|
||||
'USE_FILESYSTEM'
|
||||
]
|
||||
}
|
||||
};
|
||||
chip = {
|
||||
'part' : "STM32F103RCT6",
|
||||
|
||||
@ -91,7 +91,7 @@ def get_jsondata(is_for_document, parseArgs = True, board = False):
|
||||
jswraps = []
|
||||
defines = []
|
||||
|
||||
if board and board.info["build"] and board.info["build"]["defines"]:
|
||||
if board and ("build" in board.info) and ("defines" in board.info["build"]):
|
||||
for i in board.info["build"]["defines"]:
|
||||
print("Got define from board: " + i);
|
||||
defines.append(i)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user