FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup (#1336)

* FreeRTOS_Plus_TCP_Echo_Qemu_mps2: cleanup

FreeRTOS_Plus_TCP_Echo_Qemu_mps2:
- Add missing include for header files.
- Remove redundant function declarations.
- Add "static" modifier if possible.
- No need to use "weak" for EthernetISR().

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
This commit is contained in:
Florian La Roche 2025-04-21 15:43:02 +02:00 committed by GitHub
parent 9165944664
commit 1325aaaad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 96 additions and 84 deletions

View file

@ -32,7 +32,7 @@ jobs:
git-secrets --scan
formatting:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -45,7 +45,7 @@ jobs:
- name: Check Formatting
uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
with:
exclude-dirs: ethernet, drivers, FreeRTOS/Demo
exclude-dirs: ethernet, drivers, FreeRTOS/Demo, WinPCap, libslirp-version.h, CMSIS, Trace_Recorder_Configuration, ThirdParty, conssole.h, syscalls.c, Demo_IP_Protocols, Reliance-Edge
spell-check:
runs-on: ubuntu-latest

View file

@ -5,13 +5,13 @@ on: [pull_request]
jobs:
core-checker:
name: Check File Headers
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
# Install python 3
- name: Tool Setup
uses: actions/setup-python@v2
with:
python-version: 3.7.10
python-version: 3.8
architecture: x64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -16,7 +16,7 @@ jobs:
if: ${{ github.event.issue.pull_request &&
( ( github.event.comment.body == '/bot run uncrustify' ) ||
( github.event.comment.body == '/bot run formatting' ) ) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Apply Formatting Fix of Common Files
id: check-formatting-of-common
@ -32,4 +32,3 @@ jobs:
continue-on-error: true
with:
exclude-dirs: ethernet, drivers, FreeRTOS/Demo

View file

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
run-submodule:
name: FreeRTOS/Source Submodule Revision
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
@ -39,7 +39,7 @@ jobs:
path: FreeRTOS/Test/CMock/build/coverage
run-upstream:
name: FreeRTOS-Kernel Main Branch
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3