Updated Compile firmware (markdown)

GullCode 2022-10-12 18:46:31 +02:00
parent 31d450af60
commit fade0d6811

@ -143,7 +143,7 @@ If you decide to [ignore this guide](https://github.com/eried/portapack-mayhem/i
3. Link ARM compiler to your bash environment
4. Clone Mayhem repository from GitHub (if not done before)
5. Giver user permission to the Mayhem repository
6. Do required modification for python 3 on source
6. Check the python version in libopencm3 and use python3 if not already here
7. Create makefile through cmake and compile
8. Flash the firmware
@ -183,9 +183,9 @@ some compiling errors to check it's better to call it without '-j 8')
sudo chown -R my_user:my_usergroup /opt/portapack-mayhem
## 6. Replace the python version in libopencm3 to use python3
## 6. Check the python version in libopencm3 and use python3 if not already here
sed -i 's/env python/env python3/g' /opt/portapack-mayhem/hackrf/firmware/libopencm3/scripts/irq2nvic_h
sed -i 's/env python$/env python3/g' /opt/portapack-mayhem/hackrf/firmware/libopencm3/scripts/irq2nvic_h
## 7. Create makefile through cmake and compile (it's important to call the PATH cmd in step 3 just before making the cmake)