Skip to content

Commit

Permalink
general: Decouple maths_utils
Browse files Browse the repository at this point in the history
* The only two users are cortexm_dwt_mask() and stlink_v2_set_frequency().
* This leads to less ccache invalidation when maths_utils.h changes (e.g. odd_parity)
  • Loading branch information
ALTracer committed Dec 31, 2023
1 parent d662543 commit c5c91e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/include/general.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#include <inttypes.h>
#include <sys/types.h>

#include "maths_utils.h"
#include "timing.h"
#include "platform_support.h"
#include "align.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/hosted/stlinkv2.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "exception.h"
#include "cortexm.h"
#include "buffer_utils.h"
#include "maths_utils.h"

#include <assert.h>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions src/target/cortexm.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "gdb_packet.h"
#include "semihosting.h"
#include "platform.h"
#include "maths_utils.h"

#include <string.h>
#include <assert.h>
Expand Down

0 comments on commit c5c91e2

Please sign in to comment.