Skip to content
Snippets Groups Projects
Select Git revision
  • 2766e2f19f49f25b63164b9c7342e705fdc27a6f
  • master default protected
  • rectangle_fill_off_by_one
  • ble_dev_name
  • msgctl/gfx_rle
  • msgctl/faultscreen
  • msgctl/textbuffer_api
  • schneider/bonding
  • schneider/bootloader-update-9a0d158
  • schneider/bsec
  • rahix/bma
  • rahix/bhi
  • schleicher-test
  • schneider/schleicher-test
  • freertos-btle
  • ch3/api-speed-eval2
  • schneider/mp-for-old-bl
  • ch3/leds-api
  • ch3/genapi-refactor
  • ch3/dual-core
  • dualcore
  • v0.0
22 results

ble_main.c

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    meson.build 910 B
    api_stubs = custom_target(
      'api_*.c',
      input: 'api.h',
      output: ['api_client.c', 'api_server.c'],
      command: [
        python3,
        meson.current_source_dir() + '/genapi.py',
        '-H', '@INPUT0@',
        '-c', '@OUTPUT0@', '-s', '@OUTPUT1@',
      ],
      depend_files: 'genapi.py',
    )
    
    
    name = 'api-demo-core0'
    
    executable(
      name + '.elf',
      'main.c',
      './api/api_caller.c',
      api_stubs[0],
      dependencies: [libcard10, max32665_startup_core0],
      link_whole: [max32665_startup_core0_lib, board_card10_lib],
      link_args: [
        '-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
      ],
    )
    
    name = 'api-demo-core1'
    
    executable(
      name + '.elf',
      'test-payload.c',
      './api/api_dispatcher.c',
      api_stubs[1],
      dependencies: [libcard10, max32665_startup_core1],
      link_whole: [max32665_startup_core1_lib, board_card10_lib],
      link_args: [
        '-Wl,-Map=' + meson.current_build_dir() + '/' + name + '.map',
      ],
    )