- Created HAL configuration file for STM32F1xx (stm32f1xx_hal_conf.h). - Added interrupt handler definitions in stm32f1xx_it.h. - Implemented CAN initialization and configuration in can.c. - Configured GPIO pins for output and external interrupts in gpio.c. - Developed main application logic in main.c for toggling an LED and sending CAN messages. - Implemented MSP initialization and de-initialization for CAN in stm32f1xx_hal_msp.c. - Defined interrupt service routines in stm32f1xx_it.c for CAN and EXTI interrupts. - Added README for project-specific libraries and PlatformIO configuration. - Created platformio.ini for project build settings. - Added stm32pio.ini for CubeMX integration with PlatformIO. - Included README for testing directory to guide unit testing setup.
12 lines
518 B
Plaintext
12 lines
518 B
Plaintext
|
|
This directory is intended for PlatformIO Test Runner and project tests.
|
|
|
|
Unit Testing is a software testing method by which individual units of
|
|
source code, sets of one or more MCU program modules together with associated
|
|
control data, usage procedures, and operating procedures, are tested to
|
|
determine whether they are fit for use. Unit testing finds problems early
|
|
in the development cycle.
|
|
|
|
More information about PlatformIO Unit Testing:
|
|
- https://docs.platformio.org/en/latest/advanced/unit-testing/index.html
|