@@ -71,13 +71,16 @@ your personal GitHub user space.
71
71
< b> ioc-adsimdetector< /b>
72
72
< b> < /b><font color=" #FFAF00" ><b> ioc-lakeshore340< /b></font>
73
73
< font color=" #5F87AF" > 🎤< /font><b> A One line description of the module< /b>
74
- < b> < /b><font color=" #FFAF00" ><b> Generic IOC for the lakeshore 340 temperature controller < /b></font>
74
+ < b> < /b><font color=" #FFAF00" ><b> ttttt < /b></font>
75
75
< font color=" #5F87AF" > 🎤< /font><b> Git platform hosting the repository.< /b>
76
76
< b> < /b><font color=" #FFAF00" ><b> github.com< /b></font>
77
77
< font color=" #5F87AF" > 🎤< /font><b> The GitHub organisation that will contain this repo.< /b>
78
- < b> < /b><font color=" #FFAF00" ><b> YOUR_GITHUB_ACCOUNT < /b></font>
78
+ < b> < /b><font color=" #FFAF00" ><b> gilesknap < /b></font>
79
79
< font color=" #5F87AF" > 🎤< /font><b> Remote URI of the repository.< /b>
80
- < b
> < /b><font color=
" #FFAF00" ><b
> [email protected] :YOUR_GITHUB_ACCOUNT/ioc-lakeshore340.git
< /b></font
>
80
+ < b
> < /b><font color=
" #FFAF00" ><b
> [email protected] :gilesknap/ioc-lakeshore340.git
< /b></font
>
81
+ < font color=" #5F87AF" > 🎤< /font><b> Does this IOC require RTEMS support? At present RTEMS cross-compilation< /b>
82
+ < b> is restricted to PowerPC beatnik boards (those used at DLS).< /b>
83
+ < b> < /b><font color=" #FFAF00" ><b> No< /b></font>
81
84
< /pre>
82
85
83
86
1. Make the first commit and push the repository to GitHub.
@@ -95,7 +98,7 @@ your personal GitHub user space.
95
98
./build
96
99
# DLS users make sure you have done: module load vscode
97
100
code .
98
- # reopen in container
101
+ # reopen in container (ctrl-shift-p reopen in container)
99
102
` ` `
100
103
101
104
As soon as you pushed the project, GitHub Actions CI will start building the project. This will make a container image of the template project, but not publish it because there is no release tag as yet. You can watch this by clicking on the ` Actions` tab in your new repository.
@@ -310,7 +313,7 @@ FOLDER=$(dirname $(readlink -f $0))
310
313
set -xe
311
314
312
315
# doxygen is used in documentation build for the developer stage
313
- ibek support apt-install --only=dev doxygen
316
+ ibek support apt-install doxygen
314
317
315
318
# get the source and fix up the configure/RELEASE files
316
319
ibek support git-clone ${NAME} ${VERSION} --org https://github.com/DiamondLightSource/
@@ -322,6 +325,9 @@ ibek support register ${NAME}
322
325
# ibek support add-libs
323
326
# ibek support add-dbds
324
327
328
+ # global config settings
329
+ ${FOLDER} /../_global/install.sh
330
+
325
331
# compile the support module
326
332
ibek support compile ${NAME}
327
333
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
@@ -409,7 +415,7 @@ and create a file called `lakeshore340.ibek.support.yaml`. Add the following
409
415
contents:
410
416
411
417
```yaml
412
- # yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/1.6.2 /ibek.support.schema.json
418
+ # yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/2.0.1 /ibek.support.schema.json
413
419
414
420
module: lakeshore340
415
421
@@ -561,11 +567,11 @@ https://github.com/<YOUR GITHUB ACCOUNT>/ioc-lakeshore340/releases/download/<VER
561
567
This would then be the URL you would put at the top of any IOC instances using
562
568
your released Generic IOC.
563
569
564
- To create the instance we create a folder in ` ioc-examples ` and create a IOC Instance definition there as follows:
570
+ To create the instance we create a folder in ` bl00t-ea-test-01 ` and create a IOC Instance definition there as follows:
565
571
566
572
` ` ` bash
567
- mkdir -p /workspaces/ioc-lakeshore340/ioc-examples/bl16i -ea-ioc-07 /config/
568
- cd /workspaces/ioc-lakeshore340/ioc-examples/bl16i -ea-ioc-07 /config/
573
+ mkdir -p /workspaces/ioc-lakeshore340/services/bl00t -ea-test-01 /config/
574
+ cd /workspaces/ioc-lakeshore340/services/bl00t -ea-test-01 /config/
569
575
code ioc.yaml
570
576
` ` `
571
577
@@ -574,7 +580,7 @@ Add the following contents to the new yaml file:
574
580
` ` ` yaml
575
581
# yaml-language-server: $schema=/tmp/ibek.ioc.schema.json
576
582
577
- ioc_name: " {{ ioc_yaml_file_name }}"
583
+ ioc_name: " {{ __utils__.get_env('IOC_NAME') }}"
578
584
579
585
description: auto-generated by https://github.com/epics-containers/builder2ibek
580
586
@@ -614,7 +620,7 @@ cd /epics/support/lakeshore340/etc/simulations/
614
620
Now create a new terminal in VSCode (Terminal -> New Terminal) and run:
615
621
616
622
` ` ` bash
617
- ibek dev instance /workspaces/ioc-lakeshore340/ioc-examples/bl16i -ea-ioc-07
623
+ ibek dev instance /workspaces/ioc-lakeshore340/services/bl00t -ea-test-01
618
624
cd /epics/ioc
619
625
make
620
626
./start.sh
0 commit comments