#158 Migrate to SP18 Development Environment and SP18 Compiler

closed
hermsen
None
2022-11-05
2022-04-08
i-campbell
No

We intend eventually to use some SP18 compiler features, namely UTF8 strings, which will bring processing performance enhancements as well as application memory usage improvements.

Also, we want to use SP18 development environment.

This would mean though that for end users to use the latest version of co⚡e, they will need to use SP18 development environment and SP18 compiler, even if with their older runtimes.
The only problem here would be, those with devices from manufacturers which both:
a) only work with their own customized version of the CODESYS development environment and
b) are not yet at SP18 with that development environment (eg. has released SP17 a month ago)

So we have two options moving forward.
Option 1 - We create a release of the current state, and for anyone not using the SP18 development environment yet, they have to use this version. All versions from now will require SP18.
Option 2 - We try to continue development in such a way that allows for the old compiler also.

Option 2 is more work than Option 1, but we understand some people might take time to move to SP18.
We opt for Option 1, as this will let us realize the new performance improvements faster.

Tasks for old version:

  • 👉 CODESYS git ONLY supports SP17 and later❗
  • Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
    • Host
    • Stack
    • Edge
    • Example
    • Unittest
  • Create a git tag of that SP16.10 commit.
  • Create instructions for how to access that for users who want to use an older version in the FAQ.

Tasks for SP18 version:

  • Use SP18 to checkout, close project, open project, and commit the SP18 changes with a commit message containing this Ticket number and title
  • Up the compiler version to SP18
  • Set the "Project Settings > Library Development > Pointer size to use" to "32bit or 64 bit"
  • Commit and push to main
    • Host v1.4.0.0
    • Stack v1.5.0.0
    • Edge
    • Example
    • Unittest

Related

Progress Blog: 2022/04/8-apr-2022-switch-to-sp18
FAQ: #12

Discussion

  • hermsen

    hermsen - 2022-04-09
    • status: open --> accepted
     
  • hermsen

    hermsen - 2022-04-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -8,16 +8,20 @@
     b) are not yet at SP18 with that development environment (eg. has released SP17 a month ago)
    
     So we have two options moving forward.
    -Option 1 - We create a release of the current state, and for anyone not using the SP18 development environment yeyt, they have to use this version.  All versions from now will require SP18.
    +Option 1 - We create a release of the current state, and for anyone not using the SP18 development environment yet, they have to use this version.  All versions from now will require SP18.
     Option 2 - We try to continue development in such a way that allows for the old compiler also.
    
    -Option 2 is more work than Option 1.  But we understand some people might take time to move to SP18.
    -
    -So we opt for Option 1, as this will let us realise the new performance improvements faster.
    +Option 2 is more work than Option 1, but we understand some people might take time to move to SP18.
    +We opt for Option 1, as this will let us realize the new performance improvements faster.
    
     Tasks for old version:
    
    -* [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment.  The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
    +* [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
    +    * [ ] Host 
    +    * [ ] Stack
    +    * [ ] Edge
    +    * [ ] Example
    +    * [ ] Unittest
     * [ ] Create a git tag of that SP16.1 Commit.
     * [ ] Create instructions for how to access that for users who want to use an older version in the FAQ.
    
     
  • hermsen

    hermsen - 2022-04-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -16,6 +16,7 @@
    
     Tasks for old version:
    
    +* [ ] CODESYS git *ONLY* supports SP17 and later,
     * [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
         * [ ] Host 
         * [ ] Stack
    
     
  • hermsen

    hermsen - 2022-04-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -16,7 +16,7 @@
    
     Tasks for old version:
    
    -* [ ] CODESYS git *ONLY* supports SP17 and later,
    +* :point_right: CODESYS git *ONLY* supports SP17 and later:exclamation:
     * [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
         * [ ] Host 
         * [ ] Stack
    
     
  • hermsen

    hermsen - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -18,12 +18,12 @@
    
     * :point_right: CODESYS git *ONLY* supports SP17 and later:exclamation:
     * [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
    -    * [ ] Host 
    -    * [ ] Stack
    -    * [ ] Edge
    -    * [ ] Example
    -    * [ ] Unittest
    -* [ ] Create a git tag of that SP16.1 Commit.
    +    * [x] Host 
    +    * [x] Stack
    +    * [x] Edge
    +    * [x] Example
    +    * [x] Unittest
    +* [x] Create a git tag of that SP16.10 commit.
     * [ ] Create instructions for how to access that for users who want to use an older version in the FAQ.
    
     Tasks for SP18 version:
    
     
  • hermsen

    hermsen - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -17,7 +17,7 @@
     Tasks for old version:
    
     * :point_right: CODESYS git *ONLY* supports SP17 and later:exclamation:
    -* [ ] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
    +* [x] Create a commit in the binaries git, which stores the libraries and projects which can be opened using SP16 Patch 1 development environment. The libraries should compile and be installed in the repository, the unit test should run, the project should run and send data to/from Edge and Host.
         * [x] Host 
         * [x] Stack
         * [x] Edge
    
     
  • hermsen

    hermsen - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -24,7 +24,7 @@
         * [x] Example
         * [x] Unittest
     * [x] Create a git tag of that SP16.10 commit.
    -* [ ] Create instructions for how to access that for users who want to use an older version in the FAQ.
    +* [x] Create instructions for how to access that for users who want to use an older version in the FAQ.
    
     Tasks for SP18 version:
    
     
  • hermsen

    hermsen - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -32,3 +32,8 @@
     * [ ] Up the compiler version to SP18
     * [ ] Set the "Project Settings > Library Development > Pointer size to use" to "32bit or 64 bit"
     * [ ] Commit and push to main
    +    * [ ] Host 
    +    * [x] Stack v1.5.0.0
    +    * [ ] Edge
    +    * [ ] Example
    +    * [ ] Unittest
    
     
  • i-campbell

    i-campbell - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -32,7 +32,7 @@
     * [ ] Up the compiler version to SP18
     * [ ] Set the "Project Settings > Library Development > Pointer size to use" to "32bit or 64 bit"
     * [ ] Commit and push to main
    -    * [ ] Host 
    +    * [x] Host  v1.4.0.0 
         * [x] Stack v1.5.0.0
         * [ ] Edge
         * [ ] Example
    
     
  • hermsen

    hermsen - 2022-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -28,12 +28,12 @@
    
     Tasks for SP18 version:
    
    -* [ ] Use SP18 to checkout, close project, open project, and commit the SP18 changes with a commit message containing this Ticket number and title
    -* [ ] Up the compiler version to SP18
    -* [ ] Set the "Project Settings > Library Development > Pointer size to use" to "32bit or 64 bit"
    -* [ ] Commit and push to main
    +* [x] Use SP18 to checkout, close project, open project, and commit the SP18 changes with a commit message containing this Ticket number and title
    +* [x] Up the compiler version to SP18
    +* [x] Set the "Project Settings > Library Development > Pointer size to use" to "32bit or 64 bit"
    +* [x] Commit and push to main
         * [x] Host  v1.4.0.0 
         * [x] Stack v1.5.0.0
    -    * [ ] Edge
    -    * [ ] Example
    -    * [ ] Unittest
    +    * [x] Edge
    +    * [x] Example
    +    * [x] Unittest
    
     
  • hermsen

    hermsen - 2022-04-17
    • status: accepted --> closed
     

Log in to post a comment.