mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Merge pull request #2443 from cesanta/h563
fix H563 FreeRTOS Cortex-M33 port SystemInit
This commit is contained in:
commit
1b93ca0fb2
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -232,8 +232,8 @@ jobs:
|
|||||||
run: sudo apt -y update; sudo apt -y install gcc-arm-none-eabi
|
run: sudo apt -y update; sudo apt -y install gcc-arm-none-eabi
|
||||||
- if: ${{ env.GO == 1 }}
|
- if: ${{ env.GO == 1 }}
|
||||||
run: make -C examples/stm32/nucleo-h563zi-make-baremetal-builtin test VCON_API_KEY=${{secrets.VCON_API_KEY}}
|
run: make -C examples/stm32/nucleo-h563zi-make-baremetal-builtin test VCON_API_KEY=${{secrets.VCON_API_KEY}}
|
||||||
# - if: ${{ env.GO == 1 }}
|
- if: ${{ env.GO == 1 }}
|
||||||
# WIP run: make -C examples/stm32/nucleo-h563zi-make-freertos-builtin test VCON_API_KEY=${{secrets.VCON_API_KEY}}
|
run: make -C examples/stm32/nucleo-h563zi-make-freertos-builtin test VCON_API_KEY=${{secrets.VCON_API_KEY}}
|
||||||
|
|
||||||
test_rt1020:
|
test_rt1020:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -37,5 +37,5 @@ void SystemInit(void) { // Called automatically by startup code
|
|||||||
while ((RCC->CFGR1 & (7 << 3)) != (3 << 3)) spin(1); // Wait until done
|
while ((RCC->CFGR1 & (7 << 3)) != (3 << 3)) spin(1); // Wait until done
|
||||||
|
|
||||||
rng_init(); // Initialise random number generator
|
rng_init(); // Initialise random number generator
|
||||||
SysTick_Config(CPU_FREQUENCY / 1000); // Sys tick every 1ms
|
// let FreeRTOS initialize SysTick
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user