Category Archives: Uncategorized

Building cleanflight on OS X

Install toolchain using this brew recipe: https://github.com/miyaki/homebrew-misc/blob/master/gcc-arm-embedded.rb

Got this kind of messages:

“HardFault_Handler’ referenced in section.isr_vector’ of obj/main/NAZE/startup
stm32f10x_md_gcc.o: defined in discarded section .text’ of obj/main/NAZE/main. o (symbol from plugin) SysTick_Handler’ referenced in section .isr_vector’ of obj/main/NAZE/startup_s tm32f10x_md_gcc.o: defined in discarded section.text’ of obj/main/NAZE/drivers
/system.o (symbol from plugin)”

This helped me and got it linking:

https://github.com/cleanflight/cleanflight/issues/107#issuecomment-60536855

Fourths mapping

Simple example of mapping notes in “fourths” scale. Horizontally the notes are chromatically and vertically 6 pitches apart – there are five notes between.

E-2 B-1 F-1
F-2 C-2 G-1
F#-2 C#-2 G#-1
G-2 D-2 A-1
G#-2 D#-2 A#-1
A-2 E-2 B-1
A#-2 F-2 C-2
B F#-2 C#-2

Arduino connector positions

  • PWMH 1×8 @ (1300,2000) ← X is not 1290 as before!
  • PWML 1×8 @ (2150,2000)
  • COMMUNICATION 1×8 @ (3050,2000)
  • JP1 2×8 @ (3750,1550)
  • JP2 2×8 @ (3750,750)
  • POWER 1×6 @ (1550,100)
  • ADCL 1×8 @ (2350,100)
  • ADCH 1×8 @ (3250,100)
  • ICSP 2×3 @ (2555,1100) ← +5 X offset
  • Reset switch @ (2920,1100) ← -30 X offset

Just backupping from here.

Naze32 Tricopter tips & tricks

Servo/Motor pin-layout (USB facing left, pins on the right):

– Empty
– Empty
– Motor 3 (left)
– Motor 2 (right)
– Motor 1 (tail motor)
– Second servo, not used
– Tricopter yaw servo (most bottom)

Orientation of the board can be changed by CLI command:
set align_board_yaw = 90

To reverse the yaw servo, type CLI command:
set yaw_direction = -1

Remember to type “save” and press enter.