bluepill

Need Help Manipulating Registers in Inline Assembly (STM32F103 “BluePill”)

时间秒杀一切 提交于 2020-03-03 12:21:18
问题 I have some simple code I want to get working. What I'm trying to do is to switch Pin PA8 ON and OFF as fast as possible on the STM32F103 "BluePill" using Assembly. I'm having trouble with the correct syntax. __asm__ volatile ( "ldr r2, = (1<<8) \n\t" "str r2, = [odr] \n\t" "ldr r2, = ~(1<<8) \n\t" "str r2, = [odr] \n\t" : [odr] "=r" (GPIOA->regs->ODR) ); The compiler throws this error: Compiling .pio/build/genericSTM32F103C8/src/main.ino.cpp.o /tmp/ccLofo6i.s: Assembler messages: /tmp

bluepill not detecting that processes have, in fact, started successfully, and so creates new ones

天涯浪子 提交于 2020-01-25 06:07:12
问题 I have one (EC2) Ubuntu server where bluepill is working just fine to start and monitoring resque processes (and it has done so on other nodes in the past). I'm setting up a new node, and for some reason on this node bluepill does not recognize that the processes have started and are running, and so keeps creating new ones. I'm a little baffled by what's causing this. The 2 nodes are almost identical; they're both EC2 servers provisioned by the same chef scripts. It is true that the one not

bluepill not detecting that processes have, in fact, started successfully, and so creates new ones

流过昼夜 提交于 2020-01-25 06:04:04
问题 I have one (EC2) Ubuntu server where bluepill is working just fine to start and monitoring resque processes (and it has done so on other nodes in the past). I'm setting up a new node, and for some reason on this node bluepill does not recognize that the processes have started and are running, and so keeps creating new ones. I'm a little baffled by what's causing this. The 2 nodes are almost identical; they're both EC2 servers provisioned by the same chef scripts. It is true that the one not