mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-25 19:29:59 +00:00
fix: make include cm4 dependant on SERIES, not MYNEWT only
This commit is contained in:
committed by
Szymon Janc
parent
00d10c2d99
commit
0cdfaa8622
@@ -30,7 +30,9 @@
|
||||
#if MYNEWT
|
||||
#include "mcu/cmsis_nvic.h"
|
||||
#else
|
||||
#ifdef NRF52_SERIES
|
||||
#include "core_cm4.h"
|
||||
#endif
|
||||
#include <nimble/nimble_npl_os.h>
|
||||
#endif
|
||||
#include "os/os_trace_api.h"
|
||||
|
||||
@@ -48,8 +48,11 @@
|
||||
#include "mcu/cmsis_nvic.h"
|
||||
#include "hal/hal_gpio.h"
|
||||
#else
|
||||
#include <hal/nrf_clock.h>
|
||||
#ifdef NRF52_SERIES
|
||||
#include "core_cm4.h"
|
||||
#endif
|
||||
#endif
|
||||
#include <nrf_erratas.h>
|
||||
#include "phy_priv.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user