Commit Graph

74 Commits

Author SHA1 Message Date
Nicholas Outram fcde2c2d33
Add support for Raspberry Pi Debug Probe (#76)
Added the option to use a Raspberry Pi Debug Probe (cmsis-dap debugger). This required the following:

(i) an additional parameter to set the adapter speed
(ii) the interface configuration file cmsis-dap.cfg

Tested on a Pico W with Raspberry Pi Debug Probe.

For other options, serverArgs is an empty array
2023-08-10 11:02:14 +01:00
Paul dc08b9d748
Fix #79, Meaningful exit/error codes (#83)
- Negative exit codes
2023-08-10 11:01:26 +01:00
Paul 713a1fcc7c
Expect tkinter import error - custom error message (#97) 2023-08-10 11:00:19 +01:00
Paul 55dac0339b
Fix #92, Comprehensive gitignore with os files and python exclusions (#93) 2023-08-10 10:52:12 +01:00
Paul dbfee3848b
Fix #94, Inclusion of a BSD Open-Source License text copy (#95)
- Update source code header copyright date
2023-08-10 10:51:04 +01:00
Paul 1647a98c02
Remove unused imports (#96) 2023-08-10 10:50:20 +01:00
Paul 3b3a0fd92e
Fix #77, projectRoot argument for command line (#80)
- Reflect --projectRoot option in UI
2023-07-04 14:40:40 +01:00
Andrew Scheller 59935cdae0
README.md tweaks (#74) 2023-05-22 09:18:31 +01:00
James Hughes 778368a9fa
Update README.md
Add Windows installation advice
2023-04-25 11:34:21 +01:00
James Hughes 4b09b6920e
Convert strings with variables to use f strings (#69) 2023-04-17 16:06:56 +01:00
James Hughes 38df9e06ac Fix up missing quotes in from the VSCode compiler path change. 2022-11-21 17:54:10 +00:00
James Hughes 203c601dd5 Add support for using MinGW. Basically just choses the mingw32-make instead of nmake on Windows systems with MinGW installed 2022-11-14 15:52:05 +00:00
James Hughes 858ddae591
Update to reflect recent code change to add VSCode cpath 2022-11-14 15:40:10 +00:00
James Hughes 6f2b85fcf8 1. Allow setting of VScode compiler path from command line. 2. If not set on command line, use the system location rather than hard coded value 2022-11-14 12:45:09 +00:00
Dawid Rosinski dc909e47fb
fix crash when using none default board type (#64) 2022-11-14 09:27:47 +00:00
James Hughes 19b3ac7e94 match up warning of SDK version with actual check 2022-11-01 12:01:40 +00:00
James Hughes 78fc8f3646 Add scanning of PICO_BOARD_HEADER_DIRS when checking for board types 2022-10-20 17:03:45 +01:00
James Hughes 6684ba52fd
Add Pico W/board type support (#61)
A lot of changes in this PR.

Add the ability to select one of the boards types available in the SDK
Adds a section for PicoW specific library inclusion (not yet added to the command line options)

Framework:

Changes the way parameters are passed around from a class to a map indexed on parameter names.
Removed the CHeckListBox class, and implemented the features using tthe standard checkbox instead
Added facility to enter SSID and passwords - although this is not yet used.
2022-10-20 16:34:56 +01:00
Anthony Shaw f0fef5222c
Fix for issue #54, bad default set for --project command line argument (#55)
* Fix for issue #49

* Honour --project settings in GUI

The '--project vscode' command line argument is now set correctly in the GUI

* Update pico_project.py

Added check for --project not being set on command line when --gui is used to avoid trying to iterate None

* Removing default of 'vscode' for --project command line argument as it does not do what was intended and is not necessary

* Removing default of 'vscode' for --project command line argument as it does not do what was intended and is not necessary

Co-authored-by: aajshaw <tony@adsaw.uk>
2022-07-04 16:46:32 +01:00
Anthony Shaw 269393daac
Fix for issue #49 (#52)
* Fix for issue #49

* Honour --project settings in GUI

The '--project vscode' command line argument is now set correctly in the GUI

* Update pico_project.py

Added check for --project not being set on command line when --gui is used to avoid trying to iterate None

Co-authored-by: aajshaw <tony@adsaw.uk>
2022-06-28 10:03:42 +01:00
Andrew Scheller 38dbeac28c
Fix typos in README (#53)
Command-line is ./pico_project.py not ./pico_project
2022-06-14 17:34:02 +01:00
dp111 c13f396688
Typo in comment (#48) 2022-01-02 16:41:09 +00:00
Andrew Scheller 04ba2b1984
Small tidyup of the debugger option (#47)
* Small tidyup of the debugger option

* remove TODO comment
2021-12-02 13:55:38 +00:00
Andrew Scheller 156b4a41d3
Updated pico_configs.tsv from SDK1.3.0 (#44) 2021-12-02 12:12:59 +00:00
Ricardo Massaro 031757269c
Read files from original path if running via symlink (#35) 2021-12-02 12:10:04 +00:00
James Hughes a0aada4727
Update pico_project.py
Remove -j from the Windows nmake, it's not supported. No idea how this worked before.
2021-11-25 09:47:50 +00:00
James Hughes cea3deb533 Revert "Use templating for generated files (#39)"
This reverts commit 4aefc2d5b8.
2021-09-03 15:43:56 +01:00
Greg Zimmerman cb33b4f797
Move affirmation buttons to the left and negation buttons to the right (#43)
Co-authored-by: James Hughes <JamesH65@users.noreply.github.com>
2021-09-02 16:41:49 +01:00
Matias Silva 4aefc2d5b8
Use templating for generated files (#39)
* Add template for main file

* Add Jinja as a dependency

* Convert fragments to macros

* Generate main with templates

* Add remaining templates

* Refactor code to use templates

* Move last bit of string formatting to  templates

* Replace mapping defaults with lists
2021-09-02 09:57:56 +01:00
Matias Silva 2de27bf7dc
Remove unused import (#38) 2021-09-02 09:56:11 +01:00
berrak 1aea4d6115
Update README to clarify tkinter install (#36)
* Update README to clarify tkinter install

* Verify mentioned platforms
2021-07-13 10:06:42 +01:00
Andrew Scheller 0fd1ce91ef
Fix markdown formatting in README 2021-05-02 14:55:18 +01:00
James Hughes 3a1cdad69a
Merge pull request #27 from CodePurble/config-file-arg
Add argument for path to pico_configs file
2021-03-10 15:21:32 +00:00
Ramprakash Chandrashekar 3abd3c8f67 remove conflict in README 2021-03-10 10:05:39 +05:30
Ramprakash Chandrashekar 2e90b2018e fix merge conflict in README 2021-03-09 23:16:59 +05:30
Ramprakash Chandrashekar a2bc6ac571 re-word TSV file option description 2021-03-09 20:47:25 +05:30
Ramprakash Chandrashekar 9cd6c13d56 update README help with new option 2021-03-09 20:44:18 +05:30
Ramprakash Chandrashekar bd90ce9159 add option for alternative pico_configs.tsv file 2021-03-09 20:42:12 +05:30
James Hughes 034dc41b70
Merge pull request #30 from cmfcmf/recommended-extensions
Recommend vscode extensions from the getting started guide
2021-03-08 09:50:11 +00:00
Christian Flach 03ec285c4e
Recommend vscode extensions from the getting started guide
https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf
2021-03-07 13:18:14 +01:00
James Hughes b34437990e Fix up Intellisense mode in VSCode config 2021-03-05 17:55:56 +00:00
James Hughes 44a115b239 Spelling mistake fixes 2021-03-04 13:06:55 +00:00
James Hughes f6c770680c Fully qualify Pico SDK to Raspberry Pi Pico SDK 2021-03-04 09:38:42 +00:00
James Hughes 9ac76b1ad7
Merge pull request #29 from raspberrypi/more_cpp_options
Fix dumb typo when getting the exception and rtti flags
2021-03-01 12:25:47 +00:00
Andrew Scheller c5bb427967
Fix indent mis-match 2021-03-01 12:03:54 +00:00
James Hughes d2adea969e
Merge pull request #28 from raspberrypi/fixup_advanced_compile_defs
Fixed a couple of bugs with advanced setting
2021-03-01 11:48:18 +00:00
James Hughes b6edc039f1 Fixed a couple of bugs with advanced setting 2021-03-01 11:23:29 +00:00
James Hughes 00feee9e1c Fix dumb typo when getting the exception and rtti flags 2021-02-15 20:13:28 +00:00
James Hughes f88cf8d0fd
Merge pull request #23 from raspberrypi/more_cpp_options
More cpp options
2021-02-13 13:29:35 +00:00
James Hughes c6b9111b88 Add CPP build options
Exceptions and RTTI.
2021-02-13 13:16:32 +00:00