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"
3939// Include Apollo headers
4040#include "am_mcu_apollo.h"
4141#include "am_util.h"
42- #include "am_bsp.h"
42+ // #include "am_bsp.h"
4343
4444#ifdef ARDUINO_REDEFINE_OVERFLOW
4545#warning "restoring OVERFLOW from value in ARDUINO_REDEFINE_OVERFLOW"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ SOFTWARE.
3030// Include Apollo headers
3131#include "am_mcu_apollo.h"
3232#include "am_util.h"
33- #include "am_bsp.h"
33+ // #include "am_bsp.h"
3434
3535typedef enum {
3636 AP3_OK = 0x00 , // One singular "OK" value.
Original file line number Diff line number Diff line change 11#include " ap3_initialization.h"
22
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+
37void ap3_init ( void ){
48 // Set the clock frequency.
59 am_hal_clkgen_control (AM_HAL_CLKGEN_CONTROL_SYSCLK_MAX, 0 );
@@ -19,7 +23,4 @@ void ap3_init( void ){
1923
2024 // Enable interruts master
2125 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
2526}
You can’t perform that action at this time.
0 commit comments