const char *get_commands() {
  static const char *commands =
      "param set CAL_GYRO0_ID 2293760\n"
      "param set CAL_ACC0_ID 1310720\n"
      "param set CAL_ACC1_ID 1376256\n"
      "param set CAL_MAG0_ID 196608\n"
      "rc_update start\n"
      "commander start --hil\n"
      "sensors start\n"
      "ekf2 start\n"
      "mc_hover_thrust_estimator start\n"
      "flight_mode_manager start\n"
      "mc_pos_control start\n"
      "mc_att_control start\n"
      "mc_rate_control start\n"
      "sleep 1\n"
      "pwm_out_sim start\n"
      "param set RC1_MAX 2015\n"
      "param set RC1_MIN 996\n"
      "param set RC1_TRIM 1502\n"
      "param set RC1_REV -1\n"
      "param set RC2_MAX 2016 \n"
      "param set RC2_MIN 995\n"
      "param set RC2_TRIM 1500\n"
      "param set RC3_MAX 2003\n"
      "param set RC3_MIN 992\n"
      "param set RC3_TRIM 992\n"
      "param set RC4_MAX 2011\n"
      "param set RC4_MIN 997\n"
      "param set RC4_TRIM 1504\n"
      "param set RC4_REV -1\n"
      "param set RC6_MAX 2016\n"
      "param set RC6_MIN 992\n"
      "param set RC6_TRIM 1504\n"
      "param set RC_CHAN_CNT 8\n"
      "param set RC_MAP_MODE_SW 5\n"
      "param set RC_MAP_POSCTL_SW 7\n"
      "param set RC_MAP_RETURN_SW 8\n"
      "param set MC_YAW_P 1.5\n"
      "param set MC_PITCH_P 3.0\n"
      "param set MC_ROLL_P 3.0\n"
      "param set MC_YAWRATE_P 0.2\n"
      "param set MC_PITCHRATE_P 0.03\n"
      "param set MC_ROLLRATE_P 0.03\n"
      "param set ATT_W_ACC 0.0002\n"
      "param set ATT_W_MAG 0.002\n"
      "param set ATT_W_GYRO_BIAS 0.05\n"
      "sleep 1\n"
      "param set MAV_TYPE 2\n"
      "mixer load /dev/pwm_output0 /startup/quad_x.main.mix\n"
      "list_files\n"
      "list_tasks\n"
      "sleep 10\n"
      "list_tasks\n"
      "sleep 10\n";
  return commands;
}


x86 assembly (clang, -O0):
<get_commands>:
push   %rbp
mov    %rsp,%rbp
mov    0x2f15(%rip),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_commands>:
lea    0xef9(%rip),%rax
ret

LLVM IR (-O0):
@get_commands.commands = internal global i8* getelementptr inbounds ([1203 x i8], [1203 x i8]* @.str, i32 0, i32 0)
@.str = [1203 x i8] c"param set CAL_GYRO0_ID 2293760\0Aparam set CAL_ACC0_ID 1310720\0Aparam set CAL_ACC1_ID 1376256\0Aparam set CAL_MAG0_ID 196608\0Arc_update start\0Acommander start --hil\0Asensors start\0Aekf2 start\0Amc_hover_thrust_estimator start\0Aflight_mode_manager start\0Amc_pos_control start\0Amc_att_control start\0Amc_rate_control start\0Asleep 1\0Apwm_out_sim start\0Aparam set RC1_MAX 2015\0Aparam set RC1_MIN 996\0Aparam set RC1_TRIM 1502\0Aparam set RC1_REV -1\0Aparam set RC2_MAX 2016 \0Aparam set RC2_MIN 995\0Aparam set RC2_TRIM 1500\0Aparam set RC3_MAX 2003\0Aparam set RC3_MIN 992\0Aparam set RC3_TRIM 992\0Aparam set RC4_MAX 2011\0Aparam set RC4_MIN 997\0Aparam set RC4_TRIM 1504\0Aparam set RC4_REV -1\0Aparam set RC6_MAX 2016\0Aparam set RC6_MIN 992\0Aparam set RC6_TRIM 1504\0Aparam set RC_CHAN_CNT 8\0Aparam set RC_MAP_MODE_SW 5\0Aparam set RC_MAP_POSCTL_SW 7\0Aparam set RC_MAP_RETURN_SW 8\0Aparam set MC_YAW_P 1.5\0Aparam set MC_PITCH_P 3.0\0Aparam set MC_ROLL_P 3.0\0Aparam set MC_YAWRATE_P 0.2\0Aparam set MC_PITCHRATE_P 0.03\0Aparam set MC_ROLLRATE_P 0.03\0Aparam set ATT_W_ACC 0.0002\0Aparam set ATT_W_MAG 0.002\0Aparam set ATT_W_GYRO_BIAS 0.05\0Asleep 1\0Aparam set MAV_TYPE 2\0Amixer load /dev/pwm_output0 /startup/quad_x.main.mix\0Alist_files\0Alist_tasks\0Asleep 10\0Alist_tasks\0Asleep 10\0A\00"
define i8* @get_commands() {
%1 = load i8*, i8** @get_commands.commands
ret i8* %1
}

LLVM IR (-O2):
@.str = [1203 x i8] c"param set CAL_GYRO0_ID 2293760\0Aparam set CAL_ACC0_ID 1310720\0Aparam set CAL_ACC1_ID 1376256\0Aparam set CAL_MAG0_ID 196608\0Arc_update start\0Acommander start --hil\0Asensors start\0Aekf2 start\0Amc_hover_thrust_estimator start\0Aflight_mode_manager start\0Amc_pos_control start\0Amc_att_control start\0Amc_rate_control start\0Asleep 1\0Apwm_out_sim start\0Aparam set RC1_MAX 2015\0Aparam set RC1_MIN 996\0Aparam set RC1_TRIM 1502\0Aparam set RC1_REV -1\0Aparam set RC2_MAX 2016 \0Aparam set RC2_MIN 995\0Aparam set RC2_TRIM 1500\0Aparam set RC3_MAX 2003\0Aparam set RC3_MIN 992\0Aparam set RC3_TRIM 992\0Aparam set RC4_MAX 2011\0Aparam set RC4_MIN 997\0Aparam set RC4_TRIM 1504\0Aparam set RC4_REV -1\0Aparam set RC6_MAX 2016\0Aparam set RC6_MIN 992\0Aparam set RC6_TRIM 1504\0Aparam set RC_CHAN_CNT 8\0Aparam set RC_MAP_MODE_SW 5\0Aparam set RC_MAP_POSCTL_SW 7\0Aparam set RC_MAP_RETURN_SW 8\0Aparam set MC_YAW_P 1.5\0Aparam set MC_PITCH_P 3.0\0Aparam set MC_ROLL_P 3.0\0Aparam set MC_YAWRATE_P 0.2\0Aparam set MC_PITCHRATE_P 0.03\0Aparam set MC_ROLLRATE_P 0.03\0Aparam set ATT_W_ACC 0.0002\0Aparam set ATT_W_MAG 0.002\0Aparam set ATT_W_GYRO_BIAS 0.05\0Asleep 1\0Aparam set MAV_TYPE 2\0Amixer load /dev/pwm_output0 /startup/quad_x.main.mix\0Alist_files\0Alist_tasks\0Asleep 10\0Alist_tasks\0Asleep 10\0A\00"
define i8* @get_commands() {
ret i8* getelementptr inbounds ([1203 x i8], [1203 x i8]* @.str, i64 0, i64 0)
}