File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ extern "C"
39
39
// Include Apollo headers
40
40
#include "am_mcu_apollo.h"
41
41
#include "am_util.h"
42
- #include "am_bsp.h"
42
+ // #include "am_bsp.h"
43
43
44
44
#ifdef ARDUINO_REDEFINE_OVERFLOW
45
45
#warning "restoring OVERFLOW from value in ARDUINO_REDEFINE_OVERFLOW"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ SOFTWARE.
30
30
// Include Apollo headers
31
31
#include "am_mcu_apollo.h"
32
32
#include "am_util.h"
33
- #include "am_bsp.h"
33
+ // #include "am_bsp.h"
34
34
35
35
typedef enum {
36
36
AP3_OK = 0x00 , // One singular "OK" value.
Original file line number Diff line number Diff line change 1
1
#include " ap3_initialization.h"
2
2
3
+ // If the bsp low power init function exists we want to use it at startup
4
+ void am_bsp_low_power_init (void ) __attribute__((weak));
5
+ void am_bsp_low_power_init (void ) {}
6
+
3
7
void ap3_init ( void ){
4
8
// Set the clock frequency.
5
9
am_hal_clkgen_control (AM_HAL_CLKGEN_CONTROL_SYSCLK_MAX, 0 );
@@ -19,7 +23,4 @@ void ap3_init( void ){
19
23
20
24
// Enable interruts master
21
25
am_hal_interrupt_master_enable ();
22
-
23
- // // Initialize the printf interface for ITM/SWO output.
24
- // am_bsp_uart_printf_enable(); // Enable UART - will set debug output to UART
25
26
}
You can’t perform that action at this time.
0 commit comments