Skip to content

Commit

Permalink
[bsp/stm32l496zg] add cubemx can driver and peripheral sample
Browse files Browse the repository at this point in the history
  • Loading branch information
supperthomas committed Jan 19, 2025
1 parent b4f9986 commit a8db483
Show file tree
Hide file tree
Showing 9 changed files with 846 additions and 363 deletions.
16 changes: 16 additions & 0 deletions bsp/stm32/stm32l496-st-nucleo/.ci/attachconfig/ci.attachconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,22 @@ pkg.kernel_en_sample:
- CONFIG_KERNEL_SAMPLES_USING_TIME_SLICE=y
- CONFIG_KERNEL_SAMPLES_USING_SCHEDULER_HOOK=y
- CONFIG_KERNEL_SAMPLES_USING_PRODUCER_CONSUMER=y
pkg.peripheral.sample:
kconfig:
- CONFIG_PKG_USING_PERIPHERAL_SAMPLES=y
- CONFIG_PERIPHERAL_SAMPLES_USING_ADC=y
- CONFIG_PERIPHERAL_SAMPLES_USING_HWTIMER=y
- CONFIG_PERIPHERAL_SAMPLES_USING_I2C=y
- CONFIG_PERIPHERAL_SAMPLES_USING_IWDG=y
- CONFIG_PERIPHERAL_SAMPLES_USING_LED_BLINK=y
- CONFIG_PERIPHERAL_SAMPLES_USING_PIN=y
- CONFIG_PERIPHERAL_SAMPLES_USING_PWM=y
- CONFIG_PERIPHERAL_SAMPLES_USING_RTC=y
- CONFIG_PERIPHERAL_SAMPLES_USING_SD=y
- CONFIG_PERIPHERAL_SAMPLES_USING_SERIAL=y
- CONFIG_PERIPHERAL_SAMPLES_USING_SERIAL_DMA=y
- CONFIG_PERIPHERAL_SAMPLES_USING_SPI=y
- CONFIG_PERIPHERAL_SAMPLES_USING_CAN=y
# ------ component CI ------
component.rtlink:
kconfig:
Expand Down
4 changes: 2 additions & 2 deletions bsp/stm32/stm32l496-st-nucleo/board/CubeMX_Config/.mxproject

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions bsp/stm32/stm32l496-st-nucleo/board/CubeMX_Config/Inc/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ void Error_Handler(void);
#define SWO_GPIO_Port GPIOB
#define LD2_Pin GPIO_PIN_7
#define LD2_GPIO_Port GPIOB

/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */
Expand All @@ -99,5 +100,3 @@ void Error_Handler(void);
#endif

#endif /* __MAIN_H */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Loading

0 comments on commit a8db483

Please sign in to comment.