Hello,
I own a NuMaker-PFM-M2351 (Nuvoton M2351 series) development board and I’ve been working on adding a platform/board setup for it.
I now have things compiling (:yay:! Thanks to ststm32 that already had a cmsis framework that acted as a great reference), but uploading/debugging is my next pitstop.
Unfortunately the interface is relatively new to openocd
, introduced in 2020-08 https://github.com/ntfreak/openocd/commit/b12fca236d191b0f280aaea0b63a5789480b5e05#diff-7bafc2760736c4bb227333bf4503a36a1c7562a7db15b08f4de0f802babbb4be
This is past the last platformio/tool-openocd
update:
travisby@penguin:~$ cat ~/.platformio/packages/tool-openocd/README.md
# The xPack OpenOCD
This is the **xPack** version of **OpenOCD** (formerly part of the
GNU MCU Eclipse project).
For details, see
[The xPack OpenOCD](https://xpack.github.io/openocd/) pages.
## Compliance
The xPack OpenOCD generally follows the official
[OpenOCD](http://openocd.org) releases.
The current version is based on:
- OpenOCD version 0.10.0, the development commit
[e5be992df](https://github.com/xpack-dev-tools/openocd/commit/e5be992df1a893e2e865419a02a564d5f9ccd9dd)
from June 23, 2020.
This still actually tracks the latest version of xpack-openocd which I’ll work on getting upgraded – but when that happens, how do I suggest/make a PR against platformio/openocd? I haven’t found where any of the repos are for platformio besides the platforms.
Or how do I create my own tools? I know there’s the package
command and some guides on how to use it, but the *.piom
file seems surprisingly / I haven’t found documentation on it. And where / how I should handle all of the different build targets doesn’t seem mentioned as far as I can tell.
Thanks,
Travis