Skip to content

Commit

Permalink
Add a GCC build to the QEMU/IAR project (FreeRTOS#728)
Browse files Browse the repository at this point in the history
* Rename the CORTEX_MPS2_QEMU_IAR directory to CORTEX_MPS2_QEMU_IAR_GCC

* Add makefile and startup.c.

* GCC build is working, but not yet running.

* Add eclipse project.

* Tidy up the linker file.
Add the debug launch file to the file system.

* Add printf-stdarg.c to the GCC build.

* Increase heap size for the GCC build.

* Copy IAR project files into a dedicated IAR build directory.

* Delete the IAR project from its original location now it is in its own build directory.

* Update headers to correct version number.

* Update lexicon.txt.

* Update core_checker.py.

* Change line endings in lexicon.txt.

* Increase the stack size of the task that prints out strings.

* Update linker script to build with older ld versions.

* Add links to the online documentation page for this demo.

* Fix line endings

Signed-off-by: Gaurav Aggarwal <[email protected]>

* Remove linker and project files from header check

Eclipse project files have names .project and .cproject. Python splitext
will treat these as file names and not as extension and as a result, it
is not enough to just add these to ignored extension list. Instead, we
need to add them to ignored files list.

Signed-off-by: Gaurav Aggarwal <[email protected]>

* Remove startup files from header check

Signed-off-by: Gaurav Aggarwal <[email protected]>

Co-authored-by: RichardBarry <[email protected]>
Co-authored-by: none <>
Co-authored-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
3 people authored Dec 18, 2021
1 parent 21f2799 commit dc263aa
Show file tree
Hide file tree
Showing 34 changed files with 4,884 additions and 1,512 deletions.
7 changes: 7 additions & 0 deletions .github/scripts/core_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'.config',
'.cpp',
'.cproj',
'.cproject',
'.crun',
'.css',
'.csv',
Expand Down Expand Up @@ -120,6 +121,7 @@
'.la',
'.launch',
'.lcf',
'.ld',
'.lds',
'.lib',
'.lk1',
Expand Down Expand Up @@ -172,6 +174,7 @@
'.pref',
'.prefs',
'.prj',
'.project',
'.properties',
'.ps1',
'.ptf',
Expand Down Expand Up @@ -254,12 +257,16 @@
r'.*CMSIS.*',
r'.*/makefile',
r'.*/Makefile',
r'.*/printf-stdarg\.c.*',
r'.*/startup.*',
r'.*/trcConfig\.h.*',
r'.*/trcConfig\.c.*',
r'.*/trcSnapshotConfig\.h.*'
]

FREERTOS_IGNORED_FILES = [
'.cproject',
'.project',
'fyi-another-way-to-ignore-file.txt',
'mbedtls_config.h',
'requirements.txt',
Expand Down
1,363 changes: 0 additions & 1,363 deletions FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR/RTOSDemo.ewt

This file was deleted.

Loading

0 comments on commit dc263aa

Please sign in to comment.