Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to Ubuntu version update #105

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/development_environment/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
This reference integration supports [Visual Studio Code](https://code.visualstudio.com/)
development environment with the help of [devcontainers](https://code.visualstudio.com/docs/devcontainers/containers)
and [Docker](https://docs.docker.com/get-started/overview). With Visual Studio
Code, Linux (Ubuntu 20.04), Windows 11 and Mac OS 14.x operating systems are
Code, Linux (Ubuntu 22.04), Windows 11 and Mac OS 14.x operating systems are
supported. Follow the steps described in the [document](./vscode_dev_env_build_and_debug.md)
to setup Visual Stuido Code development environment.

If you prefer not to use either Visual Stuido Code or Docker, then only
Linux (Ubuntu 20.04) is supported as development environment. Follow the steps
Linux (Ubuntu 22.04) is supported as development environment. Follow the steps
described in the [document](./linux_dev_env.md)
to setup Linux (Ubuntu 20.04) development environment.
to setup Linux (Ubuntu 22.04) development environment.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ improve the user experience of developing of reference applications.
## Supported operation systems

* Linux
* Ubuntu 20.04
* Ubuntu 22.04
* Windows 11
* Mac OS 14.x

Expand Down
1 change: 1 addition & 0 deletions release_changes/202501231700.change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ubuntu: Adapt to ubuntu v22.04 docker image changes.
2 changes: 1 addition & 1 deletion tools/ci/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
local_scheme = "no-local-version"
Expand Down
4 changes: 2 additions & 2 deletions tools/ci/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022-2023 Arm Limited and/or its affiliates
# Copyright 2022-2025 Arm Limited and/or its affiliates
# <[email protected]>
# SPDX-License-Identifier: MIT

Expand All @@ -8,7 +8,7 @@ description = Featured FreeRTOS IoT Integration targeting an Arm Corstone-3xx pl
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENSE
license_files = ['LICENSE']

[options]
packages = find:
Expand Down
7 changes: 6 additions & 1 deletion tools/scripts/run_uncrustify.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright 2023-2024 Arm Limited and/or its affiliates
# Copyright 2023-2025 Arm Limited and/or its affiliates
# <[email protected]>
# SPDX-License-Identifier: MIT

Expand All @@ -22,3 +22,8 @@ done
exclude_pattern+="./build"

fdfind -E $exclude_pattern -e c -e h -e cc -e cpp --exec uncrustify --no-backup --replace --if-changed -c tools/uncrustify.cfg
# Uncrustify has a known problem where it does not keep track of braces that span multiple preprocessor blocks and therefore will
# abort and complain about missing braces in code leading to returning an error which is not correct. We use git diff to check if
# any files are changed after uncrustify runs, where this will return `1` (error) if any files were altered by uncrustify or `0`
# otherwise.
git diff --exit-code
Loading