mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 04:20:47 +00:00
Merge pull request #2383 from hathach/update-freertos-11.0
update freertos deps to v11.0.0
This commit is contained in:
commit
b9be733c3c
16
.github/workflows/build_aarch64.yml
vendored
16
.github/workflows/build_aarch64.yml
vendored
@ -41,13 +41,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
||||||
@ -74,11 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
for ex in `ls -d examples/device/*/`; do \
|
|
||||||
find ${ex} -name *.map -print -quit | \
|
|
||||||
xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_arm.yml
vendored
19
.github/workflows/build_arm.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_arm.yml'
|
- '.github/workflows/build_arm.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_arm.yml'
|
- '.github/workflows/build_arm.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -54,25 +56,10 @@ jobs:
|
|||||||
release: '11.2-2022.02'
|
release: '11.2-2022.02'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py ${{ matrix.family }}
|
run: python3 tools/get_deps.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/*/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
4
.github/workflows/build_esp.yml
vendored
4
.github/workflows/build_esp.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
run: docker pull espressif/idf:latest
|
run: docker pull espressif/idf:latest
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
||||||
@ -91,7 +91,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Checkout test/hil
|
- name: Checkout test/hil
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: test/hil
|
sparse-checkout: test/hil
|
||||||
|
|
||||||
|
4
.github/workflows/build_iar.yml
vendored
4
.github/workflows/build_iar.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_iar.yml'
|
- '.github/workflows/build_iar.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_iar.yml'
|
- '.github/workflows/build_iar.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -41,7 +43,7 @@ jobs:
|
|||||||
mkdir -p "${{ github.workspace }}"
|
mkdir -p "${{ github.workspace }}"
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py ${{ matrix.family }}
|
run: python3 tools/get_deps.py ${{ matrix.family }}
|
||||||
|
19
.github/workflows/build_msp430.yml
vendored
19
.github/workflows/build_msp430.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_msp430.yml'
|
- '.github/workflows/build_msp430.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_msp430.yml'
|
- '.github/workflows/build_msp430.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -39,13 +41,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2
|
||||||
@ -72,12 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_renesas.yml
vendored
19
.github/workflows/build_renesas.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_renesas.yml'
|
- '.github/workflows/build_renesas.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_renesas.yml'
|
- '.github/workflows/build_renesas.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -38,13 +40,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run
|
||||||
@ -72,12 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_riscv.yml
vendored
19
.github/workflows/build_riscv.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_riscv.yml'
|
- '.github/workflows/build_riscv.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_riscv.yml'
|
- '.github/workflows/build_riscv.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -40,13 +42,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v10.1.0-1.1/xpack-riscv-none-embed-gcc-10.1.0-1.1-linux-x64.tar.gz
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v10.1.0-1.1/xpack-riscv-none-embed-gcc-10.1.0-1.1-linux-x64.tar.gz
|
||||||
@ -73,12 +69,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
2
.github/workflows/build_win_mac.yml
vendored
2
.github/workflows/build_win_mac.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
release: '10.3-2021.10'
|
release: '10.3-2021.10'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py stm32f4
|
run: python3 tools/get_deps.py stm32f4
|
||||||
|
8
.github/workflows/cmake_arm.yml
vendored
8
.github/workflows/cmake_arm.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/cmake_arm.yml'
|
- '.github/workflows/cmake_arm.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/cmake_arm.yml'
|
- '.github/workflows/cmake_arm.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -68,11 +70,11 @@ jobs:
|
|||||||
run: sudo apt install -y ninja-build
|
run: sudo apt install -y ninja-build
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout pico-sdk for rp2040
|
- name: Checkout pico-sdk for rp2040
|
||||||
if: matrix.family == 'rp2040'
|
if: matrix.family == 'rp2040'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: raspberrypi/pico-sdk
|
repository: raspberrypi/pico-sdk
|
||||||
ref: develop
|
ref: develop
|
||||||
@ -144,7 +146,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Checkout test/hil
|
- name: Checkout test/hil
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: test/hil
|
sparse-checkout: test/hil
|
||||||
|
|
||||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install ARM GCC
|
- name: Install ARM GCC
|
||||||
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
||||||
|
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/trigger.yml
vendored
2
.github/workflows/trigger.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Push to tinyusb_src
|
- name: Push to tinyusb_src
|
||||||
run: |
|
run: |
|
||||||
|
@ -96,6 +96,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -130,23 +131,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __RX__
|
#ifdef __RX__
|
||||||
/* Renesas RX series */
|
/* Renesas RX series */
|
||||||
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
||||||
|
@ -96,6 +96,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -130,23 +131,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __RX__
|
#ifdef __RX__
|
||||||
/* Renesas RX series */
|
/* Renesas RX series */
|
||||||
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -139,23 +140,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __RX__
|
#ifdef __RX__
|
||||||
/* Renesas RX series */
|
/* Renesas RX series */
|
||||||
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -96,6 +96,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -131,23 +132,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define configUSE_TICK_HOOK 0
|
#define configUSE_TICK_HOOK 0
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
#define configUSE_MALLOC_FAILED_HOOK 0 // cause nested extern warning
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||||
|
#define configCHECK_HANDLER_INSTALLATION 0
|
||||||
|
|
||||||
/* Run time and task stats gathering related definitions. */
|
/* Run time and task stats gathering related definitions. */
|
||||||
#define configGENERATE_RUN_TIME_STATS 0
|
#define configGENERATE_RUN_TIME_STATS 0
|
||||||
@ -116,23 +117,6 @@
|
|||||||
#define INCLUDE_xEventGroupSetBitFromISR 0
|
#define INCLUDE_xEventGroupSetBitFromISR 0
|
||||||
#define INCLUDE_xTimerPendFunctionCall 0
|
#define INCLUDE_xTimerPendFunctionCall 0
|
||||||
|
|
||||||
/* Define to trap errors during development. */
|
|
||||||
// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7
|
|
||||||
#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
|
|
||||||
#define configASSERT(_exp) \
|
|
||||||
do {\
|
|
||||||
if ( !(_exp) ) { \
|
|
||||||
volatile uint32_t* ARM_CM_DHCSR = ((volatile uint32_t*) 0xE000EDF0UL); /* Cortex M CoreDebug->DHCSR */ \
|
|
||||||
if ( (*ARM_CM_DHCSR) & 1UL ) { /* Only halt mcu if debugger is attached */ \
|
|
||||||
taskDISABLE_INTERRUPTS(); \
|
|
||||||
__asm("BKPT #0\n"); \
|
|
||||||
}\
|
|
||||||
}\
|
|
||||||
} while(0)
|
|
||||||
#else
|
|
||||||
#define configASSERT( x )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* FreeRTOS hooks to NVIC vectors */
|
/* FreeRTOS hooks to NVIC vectors */
|
||||||
#define xPortPendSVHandler PendSV_Handler
|
#define xPortPendSVHandler PendSV_Handler
|
||||||
#define xPortSysTickHandler SysTick_Handler
|
#define xPortSysTickHandler SysTick_Handler
|
||||||
|
@ -7,7 +7,7 @@ from multiprocessing import Pool
|
|||||||
# path, url, commit, family (Alphabet sorted by path)
|
# path, url, commit, family (Alphabet sorted by path)
|
||||||
deps_mandatory = {
|
deps_mandatory = {
|
||||||
'lib/FreeRTOS-Kernel': ['https://github.com/FreeRTOS/FreeRTOS-Kernel.git',
|
'lib/FreeRTOS-Kernel': ['https://github.com/FreeRTOS/FreeRTOS-Kernel.git',
|
||||||
'4ff01a7a4a51f53b44496aefee1e3c0071b7b173',
|
'cc0e0707c0c748713485b870bb980852b210877f',
|
||||||
'all'],
|
'all'],
|
||||||
'lib/lwip': ['https://github.com/lwip-tcpip/lwip.git',
|
'lib/lwip': ['https://github.com/lwip-tcpip/lwip.git',
|
||||||
'159e31b689577dbf69cf0683bbaffbd71fa5ee10',
|
'159e31b689577dbf69cf0683bbaffbd71fa5ee10',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user