Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:ewp [2024/10/07 12:40] – [ewp.py: Create Makefile from IAR project] darron | projects:ewp [2024/10/30 02:54] (current) – [STM32CubeH7 Demo] darron | ||
---|---|---|---|
Line 10: | Line 10: | ||
sudo make install | sudo make install | ||
</ | </ | ||
+ | |||
===STM32CubeH7 Demo=== | ===STM32CubeH7 Demo=== | ||
==Fetch Source== | ==Fetch Source== | ||
+ | < | ||
git clone --recursive https:// | git clone --recursive https:// | ||
+ | </ | ||
==Enter Demo== | ==Enter Demo== | ||
+ | < | ||
cd STM32CubeH7/ | cd STM32CubeH7/ | ||
+ | </ | ||
- | ==List | + | ==List |
+ | < | ||
ewp.py . EWARM/ | ewp.py . EWARM/ | ||
STM32H745I_Discovery_CM4 | STM32H745I_Discovery_CM4 | ||
STM32H745I_Discovery_CM7 | STM32H745I_Discovery_CM7 | ||
+ | </ | ||
==Create Makefiles== | ==Create Makefiles== | ||
+ | < | ||
ewp.py -p1 . EWARM/ | ewp.py -p1 . EWARM/ | ||
ewp.py -p1 . EWARM/ | ewp.py -p1 . EWARM/ | ||
+ | </ | ||
==Fix Makefiles== | ==Fix Makefiles== | ||
Line 47: | Line 56: | ||
the demo. | the demo. | ||
+ | < | ||
--- CM4/ | --- CM4/ | ||
+++ CM4/ | +++ CM4/ | ||
Line 64: | Line 74: | ||
| | ||
| | ||
+ | </ | ||
==Build== | ==Build== | ||
+ | < | ||
make -f Makefile.cm4 | make -f Makefile.cm4 | ||
make -f Makefile.cm7 | make -f Makefile.cm7 | ||
+ | </ | ||
==Combine HEX== | ==Combine HEX== | ||
+ | < | ||
srec_cat build/ | srec_cat build/ | ||
+ | </ | ||
==Program== | ==Program== | ||
- | Program with STM32CubeProgrammer | + | Program |
==Notes== | ==Notes== | ||
- | The demo FreeRTOS_AMP_Dual_RTOS initially runs ok and then stalls | + | The demo FreeRTOS_AMP_Dual_RTOS initially runs ok and then stalls. This is due |
- | to be buggy. FreeRTOS_AMP_RTOS_BareMetal works fine. | + | to newlib memcpy causing an MPU unaligned memory hard fault. |
+ | |||
+ | The FreeRTOS_AMP_RTOS_BareMetal | ||
+ | |||
+ | /* | ||
+ | A work-in-progress port using this script can be found [[https:// | ||
+ | */ |