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:38] – darron | projects:ewp [2024/10/30 02:54] (current) – [STM32CubeH7 Demo] darron | ||
---|---|---|---|
Line 2: | Line 2: | ||
ewp.py converts as best it can IAR project files into GNU Makefiles. | ewp.py converts as best it can IAR project files into GNU Makefiles. | ||
+ | |||
+ | ===Install=== | ||
+ | |||
+ | < | ||
+ | hg clone https:// | ||
+ | cd ewp.py | ||
+ | sudo make install | ||
+ | </ | ||
===STM32CubeH7 Demo=== | ===STM32CubeH7 Demo=== | ||
Line 7: | Line 15: | ||
==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 40: | Line 56: | ||
the demo. | the demo. | ||
+ | < | ||
--- CM4/ | --- CM4/ | ||
+++ CM4/ | +++ CM4/ | ||
Line 57: | 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:// | ||
+ | */ |