Skip to content

Commit 97f140f

Browse files
authored
Merge pull request #91 from zapta/main
Assorted tweaks
2 parents 610e685 + f89460c commit 97f140f

3 files changed

Lines changed: 36 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@
66
distinguish if a testbench is run by `apio sim` or `apio test` use the macro
77
`APIO_SIM` which has the values `1` and `0` respectivly.
88

9-
- The values in the project file apio.ini can now contain pre-defined
9+
- The values in the project file apio.ini can now contain pre-defined
1010
macros https://fpgawars.github.io/apio/docs/project-file/#value-macros .
1111

1212
- Restructured the FPGAs definition file fpgas.jsonc. This requires users
1313
that custom FPGAs definition in their projects to adapt the format.
14+
see `~/.apio/packages/definitions.fpgas.jsonc` for examples.
1415

15-
- Fine tuned the parameters of Gowin build (e.g. add an optional `family` arg
16+
- Fine-tuned the parameters of Gowin build (e.g. add an optional `family` arg
1617
for the Gowin 20k FPGA).
1718

19+
- Minor tweaks and refactoring of the commands tree for clarity.
20+
21+
- Added to the `openFPGAloader` programmer definition the options `--force-terminal-mode`
22+
and `--verify`. If you have in your project a custom `boards.jsonc` or `programmers.jsonc`
23+
file, you may need to adjust them accordingly.
24+
25+
1826
## [0.1.7]
1927

2028
### Changed

src/commands.js

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const TOOLS_TREE = [
203203
},
204204

205205
{
206-
title: "boards",
206+
title: "definitions",
207207
children: [
208208
{
209209
title: "list boards",
@@ -220,26 +220,39 @@ const TOOLS_TREE = [
220220
],
221221
},
222222

223+
{
224+
title: "devices",
225+
children: [
226+
{
227+
title: "scan usb",
228+
tooltip: "List USB devices",
229+
id: "apio.devicesListUsb",
230+
action: { cmds: ["{apio-bin} devices scan-usb"] },
231+
},
232+
233+
{
234+
title: "scan serial",
235+
tooltip: "List serial devices",
236+
id: "apio.devicesListSerial",
237+
action: { cmds: ["{apio-bin} devices scan-serial"] },
238+
},
239+
],
240+
},
241+
223242
{
224243
title: "drivers",
225244
children: [
226245
{
227-
title: "FTDI",
246+
title: "ftdi",
228247
children: [
229248
{
230-
title: "list devices",
231-
tooltip: "List USB devices",
232-
id: "apio.devicesListUsb",
233-
action: { cmds: ["{apio-bin} devices usb"] },
234-
},
235-
{
236-
title: "install driver",
249+
title: "install",
237250
tooltip: "Install FTDI driver for your board",
238251
id: "apio.driversInstallFtdi",
239252
action: { cmds: ["{apio-bin} drivers install ftdi"] },
240253
},
241254
{
242-
title: "uninstall driver",
255+
title: "uninstall",
243256
tooltip: "Uninstall the FTDI driver",
244257
id: "apio.driversUninstallFtdi",
245258
action: { cmds: ["{apio-bin} drivers uninstall ftdi"] },
@@ -250,19 +263,13 @@ const TOOLS_TREE = [
250263
title: "serial",
251264
children: [
252265
{
253-
title: "list devices",
254-
tooltip: "List serial devices",
255-
id: "apio.devicesListSerial",
256-
action: { cmds: ["{apio-bin} devices serial"] },
257-
},
258-
{
259-
title: "install driver",
266+
title: "install",
260267
tooltip: "Install serial driver for your board",
261268
id: "apio.driversInstallSerial",
262269
action: { cmds: ["{apio-bin} drivers install serial"] },
263270
},
264271
{
265-
title: "uninstall driver",
272+
title: "uninstall",
266273
tooltip: "Uninstall the serial driver",
267274
id: "apio.driversUninstallSerial",
268275
action: { cmds: ["{apio-bin} drivers uninstall serial"] },

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const APIO_CLI_RELEASE_REPO = "fpgawars/apio";
1212
// Release tag (YYYY-MM-DD) – matches git tag and PyPI version
1313
// Change ONLY this line when you publish a new daily build.
1414
//
15-
const APIO_CLI_RELEASE_TAG = "2026-03-24";
15+
const APIO_CLI_RELEASE_TAG = "2026-04-03";
1616

1717
// Export for require()
1818
module.exports = {

0 commit comments

Comments
 (0)