Add a GCC build to the QEMU/IAR project (#728)

* 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 <aggarg@amazon.com>

* 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 <aggarg@amazon.com>

* Remove startup files from header check

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: RichardBarry <richardbarry.c@gmail.com>
Co-authored-by: none <>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
RichardBarry 2021-12-18 15:11:29 -08:00 committed by GitHub
parent 21f2799392
commit dc263aa3a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 4884 additions and 1512 deletions

View file

@ -48,6 +48,7 @@ FREERTOS_IGNORED_EXTENSIONS = [
'.config',
'.cpp',
'.cproj',
'.cproject',
'.crun',
'.css',
'.csv',
@ -120,6 +121,7 @@ FREERTOS_IGNORED_EXTENSIONS = [
'.la',
'.launch',
'.lcf',
'.ld',
'.lds',
'.lib',
'.lk1',
@ -172,6 +174,7 @@ FREERTOS_IGNORED_EXTENSIONS = [
'.pref',
'.prefs',
'.prj',
'.project',
'.properties',
'.ps1',
'.ptf',
@ -254,12 +257,16 @@ FREERTOS_IGNORED_PATTERNS = [
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',