Arm gcc build qemu mps2 Coretex M3 (#861)

* Arm gcc build qemu mps2 Coretex M3

* Fix Path

* Insert compilation error for testing

* Build full dem

* Build MPU M3

* Build check IAR qemu mps2 gcc

* Fix path

* Fix typo
pull/845/merge
alfred gedeon 2 years ago committed by GitHub
parent fc4e9a147c
commit 4e0fecaadd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,3 +63,23 @@ jobs:
- name: Posix Network Build Checker
run: |
bash workspace/.github/scripts/posix_network_build_checker.sh workspace
arm-gcc-build-checker:
name: FreeRTOS ARM GCC Build Check
runs-on: ubuntu-latest
env:
ARM_GCC_TOOLCHAIN_URL: "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2?revision=05382cca-1721-44e1-ae19-1e7c3dc96118&la=en&hash=D7C9D18FCA2DD9F894FD9F3C3DC9228498FA281A"
steps:
- name: Install ARM GCC
run: wget -qO- "${{ env.ARM_GCC_TOOLCHAIN_URL }}" | sudo tar --strip-components=1 -xj -C /usr/local
- name: Clone This Repo
uses: actions/checkout@v2
with:
path: ./workspace
submodules: 'recursive'
fetch-depth: 1
- name: Qemu MPS2 build Cortex M3
run: cd workspace/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC && make && make clean && make FULL_DEMO=1
- name: Qemu MPS2 MPU build Cortex M3
run: cd workspace/FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC && make
- name: Qemu MPS2 IAR build Cortex M3
run: cd workspace/FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/build/gcc && sed -i '/configUSE_STATS_FORMATTING_FUNCTIONS/c\#define configUSE_STATS_FORMATTING_FUNCTIONS 0' ../../FreeRTOSConfig.h && make

@ -48,10 +48,10 @@ CFLAGS += -Wstrict-aliasing
CFLAGS += -Wno-error=address-of-packed-member
CFLAGS += $(INCLUDE_DIRS)
LDFLAGS = -T ./scripts/mps2_m3.ld
LDFLAGS = -T ./scripts/mps2_m3.ld
LDFLAGS += -mthumb
LDFLAGS += -Xlinker -Map=${BUILD_DIR}/output.map
LDFLAGS += -Xlinker -Map=${BUILD_DIR}/output.map
LDFLAGS += -nostartfiles -nostdlib -nolibc -nodefaultlibs
ifeq ($(DEBUG), 1)

Loading…
Cancel
Save