Skip to content

Commit

Permalink
Fix an undefined when using advanced options
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesH65 committed Feb 1, 2021
1 parent 45ef123 commit 0be1161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def GenerateCMake(folder, params):
# add the preprocessor defines for overall configuration
if params.configs:
file.write('# Add any PICO_CONFIG entries specified in the Advanced settings\n')
for c, v in configs.items():
for c, v in params.configs.items():
file.write('add_compile_definitions(-D' + c + '=' + v + ')\n')
file.write('\n')

Expand Down

0 comments on commit 0be1161

Please sign in to comment.