diff --git a/source/os/release/include/board_devices.h b/source/os/release/include/board_devices.h index ec42636..657b7b3 100644 --- a/source/os/release/include/board_devices.h +++ b/source/os/release/include/board_devices.h @@ -11,6 +11,8 @@ extern const struct driver pwm_4; extern const struct driver pwm_3; extern const struct driver pwm_2; extern const struct driver pwm_1; +extern const struct driver pwm5_c2; +extern const struct driver pwm2_c4; extern const struct driver uart_1; #endif /* BOARD_DEVICES_H */ diff --git a/source/os/release/include/driver.h b/source/os/release/include/driver.h index e91349d..6ce5b5d 100644 --- a/source/os/release/include/driver.h +++ b/source/os/release/include/driver.h @@ -8,7 +8,9 @@ #ifndef SOURCE_FIRMWARE_KERNEL_DRIVER_INCLUDE_DRIVER_H_ #define SOURCE_FIRMWARE_KERNEL_DRIVER_INCLUDE_DRIVER_H_ -#define IOCTL_PWM_SET_DUTY_CYCLE 0 +#define IOCTL_PWM_SET_DUTY_CYCLE 0 +#define IOCTL_PWM_GET_PERIOD_NS 1 +#define IOCTL_PWM_GET_PULSE_WIDTH_NS 2 enum driver_type { DRIVER_TYPE_ADC, diff --git a/source/os/release/libkosmos-arm-stm32f4-discovery-0.1.4.a b/source/os/release/libkosmos-arm-stm32f4-discovery-0.1.5.250.a similarity index 89% rename from source/os/release/libkosmos-arm-stm32f4-discovery-0.1.4.a rename to source/os/release/libkosmos-arm-stm32f4-discovery-0.1.5.250.a index ec2ac10..c1d60ea 100644 Binary files a/source/os/release/libkosmos-arm-stm32f4-discovery-0.1.4.a and b/source/os/release/libkosmos-arm-stm32f4-discovery-0.1.5.250.a differ diff --git a/source/os/release/libkosmos-arm-stm32f4-discovery.a b/source/os/release/libkosmos-arm-stm32f4-discovery.a index b1368da..f542b68 120000 --- a/source/os/release/libkosmos-arm-stm32f4-discovery.a +++ b/source/os/release/libkosmos-arm-stm32f4-discovery.a @@ -1 +1 @@ -libkosmos-arm-stm32f4-discovery-0.1.4.a \ No newline at end of file +libkosmos-arm-stm32f4-discovery-0.1.5.250.a \ No newline at end of file