Skip to content

Commit 2bd5b3a

Browse files
committed
temp compil
1 parent b399599 commit 2bd5b3a

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

Diff for: boards.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.board=NUCLEO_L552ZE_Q
174174
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.series=STM32L5xx
175175
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.product_line=STM32L552xx
176176
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.variant=NUCLEO_L552ZE_Q
177-
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.cmsis_lib_gcc=arm_cortexM33lf_math
177+
Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.cmsis_lib_gcc=arm_cortexM4lf_math
178+
# Nucleo_144.menu.pnum.NUCLEO_L552ZE_Q.build.cmsis_lib_gcc=arm_ARMv8MMLldfsp_math
178179

179180
# Upload menu
180181
Nucleo_144.menu.upload_method.MassStorage=Mass Storage

Diff for: cores/arduino/pins_arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ enum {
7272
// Anyway ADC internal channels are always avaialable.
7373
#if NUM_ANALOG_INPUTS > 0
7474
// Analog pins must be contiguous to be able to loop on each value
75-
#define MAX_ANALOG_INPUTS 24
75+
#define MAX_ANALOG_INPUTS 28
7676
_Static_assert(NUM_ANALOG_INPUTS <= MAX_ANALOG_INPUTS,
7777
"Core NUM_ANALOG_INPUTS limited to MAX_ANALOG_INPUTS");
7878

Diff for: variants/NUCLEO_L552ZE_Q/PeripheralPins.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ WEAK const PinMap PinMap_I2C_SCL[] = {
117117
//*** TIM ***
118118

119119
#ifdef HAL_TIM_MODULE_ENABLED
120-
WEAK const PinMap PinMap_TIM[] = {
120+
//WEAK const PinMap PinMap_TIM[] = {
121+
WEAK const PinMap PinMap_PWM[] = {
121122
{PA_0, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 1, 0)}, // TIM2_CH1
122123
{PA_0_ALT0, TIM5, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF2_TIM5, 1, 0)}, // TIM5_CH1
123124
{PA_1, TIM2, STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM2, 2, 0)}, // TIM2_CH2

Diff for: variants/NUCLEO_L552ZE_Q/PinNamesVar.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#define ALT0 0
2+
#define ALT1 0
3+
#define ALT2 0
14
/* Alternate pin name */
25
PA_0_ALT0 = PA_0 | ALT0,
36
PA_1_ALT0 = PA_1 | ALT0,

0 commit comments

Comments
 (0)