Files
2026-10-07 01:03:18 -06:00

34 lines
1.3 KiB
Markdown

# Build and upgrade to atMb 0.8
Build from the repository root and clean between architectures:
```sh
make -C component-source/component SDKDIR="$(realpath ExtensionSDK)" clean
make -C component-source/component SDKDIR="$(realpath ExtensionSDK)" all
```
For the UR2000 ARMv7 hard-float target:
```sh
make -C component-source/component SDKDIR="$(realpath ExtensionSDK)" clean
make -C component-source/component \
SDKDIR="$(realpath ExtensionSDK)" \
CC="arm-linux-gnueabihf-gcc -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" all
```
Use the matching ARM64 compiler for Raspberry Pi/UC20 and check ELF architecture
and GLIBC requirements before deployment. The C component is version **0.5.0.0**.
## CODESYS and online change
1. Create a fresh library project and import `library/atMb-OnlineChange.export`.
2. Verify Project Information version **0.8.0.0**, namespace `atMb`, and the
existing Standard/SysTime references.
3. Add a C Implemented Library object with the rebuilt **0.5.0.0** component.
4. Compile the library and update the application reference.
5. Test online change while idle, during an active read, during disconnect, and
with an active write. Confirm clients reopen and data becomes valid.
The external ABI signature/API version is unchanged. There is no worker FB,
thread-affinity setting, or native worker thread in this release.