This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,12 @@ MAKEFLAGS += PIKSI_HW=$(PIKSI_HW)
2626
2727ifeq ($(PIKSI_HW ) ,v2)
2828 CMAKEFLAGS += -DCMAKE_SYSTEM_PROCESSOR=cortex-m4
29+ CMAKEFLAGS += -DMAX_CHANNELS=11
2930endif
3031
3132ifeq ($(PIKSI_HW ) ,v3)
3233 CMAKEFLAGS += -DCMAKE_SYSTEM_PROCESSOR=cortex-a9
34+ CMAKEFLAGS += -DMAX_CHANNELS=31
3335endif
3436
3537.PHONY : all tests firmware docs hitl_setup hitl hitlv3 .FORCE
Original file line number Diff line number Diff line change 1414#ifndef SWIFTNAV_NAP_HW_V2_H
1515#define SWIFTNAV_NAP_HW_V2_H
1616
17+ #include <libswiftnav/config.h>
1718#include <libswiftnav/signal.h>
1819
1920/** \addtogroup nap
3940#define NAP_HASH_NOTREADY 2
4041
4142/** Max number of tracking channels NAP configuration will be built with. */
42- #define NAP_MAX_N_TRACK_CHANNELS 12
43+ #define NAP_MAX_N_TRACK_CHANNELS (MAX_CHANNELS + 1)
4344
4445u8 nap_conf_done (void );
4546u8 nap_hash_rd_done (void );
Original file line number Diff line number Diff line change 1313#ifndef SWIFTNAV_NAP_REGS_H
1414#define SWIFTNAV_NAP_REGS_H
1515
16+ #include <libswiftnav/config.h>
1617#include <stdint.h>
1718
1819/** Max number of tracking channels NAP configuration will be built with. */
19- #define NAP_MAX_N_TRACK_CHANNELS 32
20+ #define NAP_MAX_N_TRACK_CHANNELS (MAX_CHANNELS + 1)
2021
2122typedef struct {
2223 volatile uint32_t STATUS ;
You can’t perform that action at this time.
0 commit comments