mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-23 10:05:27 +00:00
Page:
Notes About ccache
Pages
3d printed enclosure
ADS B(S)
AFSK
AIS Boats
APRS RX
APRS TX
About firmwares
Access Radio Hardware
Analog TV Receiver
Antennas
Applications
At first glance
Audio Receivers
Automatic dependent surveillance–broadcast (ADS B)
BHT
BLESpam
Bitmap reverse decode
Bluetooth Low Energy Receiver
Bluetooth Low Energy Transmitter
Boot Process
Building External Apps
Burger Pager
C16 format
Capture
Care
ChibiOS Notes
Clifford's version
Code contribution rules
Code formatting
Compile firmware
Compile on Arch based distro (exclude Asahi)
Compile on WSL with ninja
Completely reset
Config Menu
Create a Custom Map with Offline Map Maker
Create a Simple App
Create a custom splash screen
Creating a prod stable release
DFU overlay
Dead Coin Cell Battery
Debug via SWD & JTAG
Debug with serial
Debug
Decoder for NRF24L01
Dev build versions
Diagnose firmware update in Windows
Differences Between H1 and H2 models
Dissecting the Temperature logger
Documentation Standards & Guidelines
ERT
Encoder
External App Roadmap
FAQ
Factory Defaults
Features
File manager
Firmware Architecture
First steps
Flash Utility
Fox Hunt
Freq manager
Full reset
GPS Sim
H2 Enclosure
H2 Plus speaker modifications
HackRF
Hardware overview
Help! Im not receiving anything! Receive Quality Issues
Home
How to ask questions in correct way
How to collaborate
How to compile faster with WSL 2
I2C external device driver integration
IQ trim
Information on APRS
Intended Use and Legality
Internal speaker
Interpret Guru meditation crashes
Jammer
Keyboard view
LCR
LGE Tool
Level
Looking Glass
Main Controls
Main Menu
Maintaining rules
Make airlines db
Make icao24 db
Microphone Tranceiver
Microphone Transceiver
Morse
Notepad
Notes About ccache
OOK Editor
OOK
Original GSG HackRF One
POCSAG Receiver
POCSAG
PR process
Pac‐Man
Persistent Memory
Playlist
PortaPack Versions
Powering the PortaPack
Preamplifier IC replacement
ProtoView
Push buttons and button caps
RDS
Radiosonde
Random password
Receivers
Recon
Redirections
Remote
Replay
SD Card (DEV)
SD Card Content
SD Over USB
SD card not recognized by PC with the SD card over USB selected
SMA Antenna connector
SSTV
Scanner
Screenshots
Search
Settings
Signal Generator
Sleep mode
Software Dev Guides
Soundboard
Spectrum Painter
Splash and other images
Stealth Mode
TPMS Cars
TX Carrier Only
Text Entry
Theme system
Title Bar
TouchTunes
Transmitters
Troubleshooting
UI Screenshots
USB Serial Console
Unit Tests
Update firmware troubleshooting
Update firmware
Updating the Xilinx CPLD on hackrf board
Usage cautions
User interface
Using MAC OS
Utilities
WardriveMap
Wav viewer
Weather SubGhzD
Web USB Serial
When you saw the sdcard content warning
Widgets
Wipe SD Card
Won't boot
Won
Wont boot
Work Needed
World map generation
3
Notes About ccache
sommermorgentraum edited this page 2024-10-17 14:45:56 +08:00
Table of Contents
background
ccache is a nice tool, but we certainly realized some issue of its behavior in this project, that could waste your time instead of save your time. So it's default off now, unless you manually enable it.
issue that could appear if you enable it
Just keep in mind that these issues could be made:
- When you compiled with ccache enabled, and use git to merge/pull new changes, it can only detect a part of your change, and would compile fail. It cannot be fixed by
make clean
, you hvae to delete the build dir and start over. - Sometimes ccache cause linking stage took extremely long.
- Unknown linking error until you
make clean
and start over again.
I want enable it anyway
If you are aware of these issue and you are sure you are able to realized them, when they appear, follow this to enable ccache:
for make:
turn on
#(...other steps that in compile guide...)
mkdir build
cd build
cmake -DUSE_CCACHE=ON ..
make -j
#(...other steps that in compile guide...)
turn off
#(...other steps that in compile guide...)
mkdir build
cd build
cmake -DUSE_CCACHE=OFF ..
make -j
#(...other steps that in compile guide...)
default behavior (off) (if you turned it on, this will became on until you turn it off again)
#(...other steps that in compile guide...)
mkdir build
cd build
cmake ..
make -j
#(...other steps that in compile guide...)
for ninja:
turn on
#(...other steps that in compile guide...)
mkdir build
cd build
cmake -G Ninja -DUSE_CCACHE=ON ..
ninja
#(...other steps that in compile guide...)
turn off
#(...other steps that in compile guide...)
mkdir build
cd build
cmake -G Ninja -DUSE_CCACHE=OFF ..
ninja
#(...other steps that in compile guide...)
default behavior (off) (if you turned it on, this will became on until you turn it off again)
#(...other steps that in compile guide...)
mkdir build
cd build
cmake -G Ninja ..
ninja
#(...other steps that in compile guide...)
How to collaborate
How to ask questions correctly
User manual
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
- Troubleshooting
- Applications
Developer Manual
- Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.