From 3187b65c811ee9006ec11bd29d14eaa0d5945158 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Mon, 29 Aug 2016 16:54:33 +0200 Subject: [PATCH] kosmos lib 0.1.5 added --- source/os/release/include/board_devices.h | 2 ++ source/os/release/include/driver.h | 4 +++- ...bkosmos-arm-stm32f4-discovery-0.1.5.250.a} | Bin 488136 -> 494154 bytes .../release/libkosmos-arm-stm32f4-discovery.a | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) rename source/os/release/{libkosmos-arm-stm32f4-discovery-0.1.4.a => libkosmos-arm-stm32f4-discovery-0.1.5.250.a} (89%) 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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hu*M@fr#v%Lju zsK(tUea05I-|N$0uAF4k#P9V(+q!8t{aSjaFOL$?+M1=C*tq$<0p1_GcS~=vf%SX! zW&8WR(#t+3$@fsnBUt*j=MeI2$}4No6^NNKT7 zn`a=82h*7@;b4XBZ)^eh3p^T7(HogVf&TZ9Hbb@#?8h0OwzbUu0B=JGeN7T~FJk@n_$&6;Vi@J~=rLy>v#;`oFzKSa zjy)#*KH6xv)*2=s;^V6`F6}_H{H)o>r9IkJUdA5Epwc^_Z-QLW&gf;WO_j6Ra`*f6 z?TPkDruba)cfC#fcD#I#(W(M{isC|2SC=iEwQE}@$_Y3r zY)9!f@j)@ib}VgoY<0^yjP!jC>^QM9>2aC%iOUk+wJ}!@qPd zRLYC&@a9GleMsHgMcVvH@(3)vYEutSmPZR`ZK}IU9*r~9d#dDe>{GQWsQuVHDNg;m zN_Nzuja{n%oTBIZ_byG7-QknVAXF5`+vHd0(AfY 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