From 1762c56956bafd6fc0636516b494dfa935ff8aec Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Wed, 25 Dec 2024 00:34:42 +0100 Subject: space_light: first version TODO: pwm initialization is currently best guess could be wrong active low|high TODO: implement pairing TODO: implement timer TODO: use the button for something TODO: implement a better client --- usr/space_light/src/is_arm_test.S | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 usr/space_light/src/is_arm_test.S (limited to 'usr/space_light/src/is_arm_test.S') diff --git a/usr/space_light/src/is_arm_test.S b/usr/space_light/src/is_arm_test.S new file mode 100644 index 0000000..fabc72c --- /dev/null +++ b/usr/space_light/src/is_arm_test.S @@ -0,0 +1,31 @@ +/*60:*/ +#line 1367 "/home/nemo/projects/bk_ble/cweb/notes.x" + +/*59:*/ +#line 1344 "/home/nemo/projects/bk_ble/cweb/notes.x" + + + +.code 32 +.globl is_arm +.type is_arm, %function + + + + + +is_arm: + push {r1, lr} + mov r0, pc + mov r1, pc + sub r0, r1, r0 + sub r0, #2 + pop {r1, pc} + + + +/*:59*/ +#line 1368 "/home/nemo/projects/bk_ble/cweb/notes.x" + + +/*:60*/ -- cgit v1.2.3