Skip to content

Commit

Permalink
Merge tag 'v2.0.2' into merge-v2.0.2-develop
Browse files Browse the repository at this point in the history
* tag 'v2.0.2':
  arch: cxd56xx: update loader and gnssfw version
  arch: cxd56xx: update loader and gnssfw version
  arch: cxd56xx: update loader and gnssfw version
  boards: spresense: Add delay only for PMIC GPO setting
  arch/arm/src/cxd56xx/cxd56_gnss: Fix nxstyle issue
  boards: spresense: Fix PMIC setting during boot-up
  boards/arm/cxd56xx/drivers/audio: Fix nxstyle issue
  arch/arm/src/cxd56xx: Fix nxstyle issue
  arch: cxd56xx: update loader and gnssfw version
  Fix raster operation bug in non-scaling case
  Support O_NONBLOCK flag of UART0
  Fix FLOWCONTROL definition name in UART0 driver
  Add support for PMIC GPO setter/getter with HiZ
  Fix typo
  Fix HPADC gain value
  Add error check for arguments
  Revert "Merge release-v2.0.2 into new-master for v2.0.2 release (#14)"
  Merge release-v2.0.2 into new-master for v2.0.2 release (#14)
  • Loading branch information
SPRESENSE committed Dec 17, 2020
2 parents aeaed6a + 581da3d commit 30f4ea2
Show file tree
Hide file tree
Showing 19 changed files with 740 additions and 523 deletions.
2 changes: 1 addition & 1 deletion arch/arm/include/cxd56xx/gnss.h
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ extern "C"
#define CXD56_GNSS_IOCTL_INVAL 0
#define CXD56_GNSS_IOCTL_MAX 54

/* Same value to GD Start mode CXD56_GNSS_STMOD_XXXX for GD_Start */
/* Same value to GD Start mode CXD56_GNSS_STMOD_XXXX for fw_gd_start */

#define CXD56_GNSS_STMOD_COLD 0 /* Cold Start */
#define CXD56_GNSS_STMOD_WARM 1 /* Warm Start */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/cxd56xx/cxd56_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

/* Input Gain setting */

#define INPUT_GAIN(a, g2, g1) (((a) << 24) | ((g2) << 16) | ((g1) << 12))
#define INPUT_GAIN(a, g1, g2) (((a) << 24) | ((g2) << 16) | ((g1) << 12))
#define INPUT_GAIN_MASK INPUT_GAIN(3, 15, 15)
#define INPUT_GAIN_MINUS_6DB INPUT_GAIN(2, 0, 0)
#define INPUT_GAIN_THROUGH INPUT_GAIN(0, 0, 0)
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/cxd56xx/cxd56_farapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "cxd56_farapistub.h"
#include "hardware/cxd5602_backupmem.h"

int PM_WakeUpCpu(int cpuid);
int fw_pm_wakeupcpu(int cpuid);

/****************************************************************************
* Pre-processor Definitions
Expand Down Expand Up @@ -209,7 +209,7 @@ void farapi_main(int id, void *arg, struct modulelist_s *mlist)
if (((gnscken & GNSDSP_CKEN_P1) != GNSDSP_CKEN_P1) &&
((gnscken & GNSDSP_CKEN_COP) != GNSDSP_CKEN_COP))
{
PM_WakeUpCpu(GPS_CPU_ID);
fw_pm_wakeupcpu(GPS_CPU_ID);
}
}
#endif
Expand Down
Loading

0 comments on commit 30f4ea2

Please sign in to comment.