/hal_rpi_pico-latest/tools/pioasm/ |
D | python_output.cpp | 24 std::string get_description() override { in get_description() 28 …void output_symbols(FILE *out, std::string prefix, const std::vector<compiled_source::symbol> &sym… in output_symbols() 51 void header(FILE *out, std::string msg) { in header() 52 std::string dashes = std::string(msg.length(), '-'); in header() 59 int output(std::string destination, std::vector<std::string> output_options, in output() 75 std::string prefix = program.name + "_"; in output() 80 auto write_opt = [&] (std::string name, std::string value) { in output() 97 std::map<uint, std::string> jmp_labels; in output() 104 jmp_labels.insert(std::pair<uint,std::string>(target, std::to_string(target))); in output() 154 …static std::string disassemble(const std::map<uint, std::string>& jmp_labels, uint inst, uint side… in disassemble() [all …]
|
D | output_format.h | 53 std::string name; 57 …symbol(std::string name, int value, bool is_label) : name(std::move(name)), value(value), is_label… in symbol() 68 std::string name; 87 std::map<std::string, std::vector<std::string>> code_blocks; 88 std::map<std::string, std::vector<std::pair<std::string,std::string>>> lang_opts; 91 program(std::string name) : name(std::move(name)) {} in program() 99 static std::string default_name; 101 std::string name; 107 virtual int output(std::string destination, std::vector<std::string> output_options, 110 virtual std::string get_description() = 0; [all …]
|
D | pio_disassembler.cpp | 16 std::string disassemble(uint inst, uint sideset_bits_including_opt, bool sideset_opt) { in disassemble() 21 auto op = [&](const std::string &s) { in disassemble() 24 auto op_guts = [&](const std::string &s) { in disassemble() 31 …static std::array<std::string, 8> conditions{"", "!x, ", "x--, ", "!y, ", "y--, ", "x != y, ", "pi… in disassemble() 39 std::string guts; in disassemble() 71 … static std::array<std::string, 8> sources { "pins", "x", "y", "null", "", "status", "isr", "osr"}; in disassemble() 72 std::string source = sources[arg1]; in disassemble() 82 …static std::array<std::string, 8> dests { "pins", "x", "y", "null", "pindirs", "pc", "isr", "exec"… in disassemble() 92 std::string index; in disassemble() 95 std::string guts = ""; in disassemble() [all …]
|
D | pio_assembler.h | 34 std::string source; 36 std::string dest; 37 std::vector<std::string> options; 42 bool add_program(const yy::location &l, const std::string &name) { in add_program() 61 program &get_current_program(const location_type &l, const std::string &requiring_program, 93 std::shared_ptr<symbol> get_symbol(const std::string &name, const program *p) { in get_symbol() 106 void check_version(int min_version, const location_type &l, std::string feature) { in check_version() 114 std::string version_string(int min_version, std::string a, std::string b) { in version_string() 119 …enerate(std::shared_ptr<output_format> _format, const std::string &_source, const std::string &_de… 120 const std::vector<std::string> &_options = std::vector<std::string>());
|
D | ada_output.cpp | 28 std::string get_description() override { in get_description() 55 void ada_case(std::string &identifier) { in ada_case() 56 for(std::string::size_type i = 0; i < identifier.size(); ++i) { in ada_case() 63 void header(FILE *out, const std::string msg, const int indent) { in header() 64 const std::string dashes = std::string(msg.length() + 6, '-'); in header() 65 const std::string indent_str= std::string(indent, ' '); in header() 72 int output(std::string destination, std::vector<std::string> output_options, in output() 83 std::string package_name; in output() 107 std::string trailing_comma = ", "; in output() 109 std::string prog_name= program.name; in output()
|
D | main.cpp | 33 std::string format(DEFAULT_OUTPUT_FORMAT); in main() 36 std::vector<std::string> options; in main() 40 if (argv[i] == std::string("-o")) { in main() 47 } else if (argv[i] == std::string("-p")) { in main() 54 } else if (argv[i] == std::string("-v")) { in main() 56 if (argv[i] == std::string("0")) pioasm.default_pio_version = 0; in main() 57 else if (argv[i] == std::string("1")) pioasm.default_pio_version = 1; in main() 66 } else if (argv[i] == std::string("-?") || argv[i] == std::string("--help")) { in main()
|
D | hex_output.cpp | 19 std::string get_description() { in get_description() 23 virtual int output(std::string destination, std::vector<std::string> output_options, in output()
|
D | go_output.cpp | 29 std::string get_description() override { in get_description() 33 …void output_symbols(FILE *out, std::string prefix, const std::vector<compiled_source::symbol> &sym… in output_symbols() 56 void header(FILE *out, std::string msg) { in header() 60 int output(std::string destination, std::vector<std::string> output_options, in output() 84 std::string prefix = program.name; in output()
|
D | pio_types.h | 144 std::string name; 146 name_ref(const yy::location &l, std::string name) : resolvable(l), name(std::move(name)) {} in name_ref() 152 std::string lang; 153 std::string contents; 155 …code_block(const yy::location &l, std::string lang, std::string contents) : resolvable(l), lang(st… in code_block() 215 std::string name; 221 …symbol(const yy::location &l, std::string name, bool is_extern = false) : src_item(l), name(std::m… in src_item() 272 std::string name; 292 std::map<std::string, std::shared_ptr<symbol>> symbols; 295 std::map<std::string, std::vector<code_block>> code_blocks; [all …]
|
D | c_sdk_output.cpp | 21 std::string get_description() override { in get_description() 25 …void output_symbols(FILE *out, std::string prefix, const std::vector<compiled_source::symbol> &sym… in output_symbols() 48 void header(FILE *out, std::string msg) { in header() 49 std::string dashes = std::string(msg.length(), '-'); in header() 56 int output(std::string destination, std::vector<std::string> output_options, in output() 83 std::string prefix = program.name + "_"; in output()
|
D | lexer.ll | 12 # include <string> 25 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc); 26 yy::parser::symbol_type make_FLOAT(const std::string &s, const yy::parser::location_type& loc); 27 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc); 28 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc); 57 std::string code_block_contents; 73 std::string tmp(yytext); 83 .* { code_block_contents += std::string(yytext) + "\n"; } 103 … { throw yy::parser::syntax_error(loc, "invalid character: " + std::string(yytext)); } 223 … { throw yy::parser::syntax_error(loc, "invalid character: " + std::string(yytext)); } [all …]
|
D | json_output.cpp | 21 std::string get_description() override { in get_description() 25 …void output_symbols(FILE *out, bool output_labels, std::string prefix, const std::vector<compiled_… in output_symbols() 65 int output(std::string destination, std::vector<std::string> output_options, in output()
|
D | pio_assembler.cpp | 18 std::string output_format::default_name = "c-sdk"; 23 int pio_assembler::generate(std::shared_ptr<output_format> _format, const std::string &_source, in generate() 24 const std::string &_dest, const std::vector<std::string> &_options) { in generate() 95 symbols.insert(std::pair<std::string, std::shared_ptr<::symbol>>(symbol->name, symbol)); in add_symbol() 177 void program::add_lang_opt(std::string lang, std::string name, std::string value) { in add_lang_opt() 454 std::set<std::string> known_output_formats; in write_output() 521 …gram.code_blocks, cprogram.code_blocks.begin()), [](const std::pair<std::string, std::vector<code_… in write_output() argument 522 std::vector<std::string> blocks; in write_output() 526 return std::pair<std::string, std::vector<std::string>>(e.first, blocks); in write_output() 537 FILE *output_format::open_single_output(std::string destination) { in open_single_output()
|
/hal_rpi_pico-latest/ |
D | pico_sdk_version.cmake | 10 …elease version identifier, default=Current SDK pre-release identifier, type=string, group=pico_base 11 …elease version identifier, default=Current SDK pre-release identifier, type=string, group=pico_base 14 …ILD_DEFINE: PICO_SDK_VERSION_STRING, SDK version string, type=string, default=Current SDK version … 15 …AKE_CONFIG: PICO_SDK_VERSION_STRING, SDK version string, type=string, default=Current SDK version …
|
D | CMakeLists.txt | 12 string(REGEX MATCH "Clang" PICO_C_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}") 13 string(REGEX MATCH "GNU" PICO_C_COMPILER_IS_GNU "${CMAKE_C_COMPILER_ID}") 14 string(REGEX MATCH "IAR" PICO_C_COMPILER_IS_IAR "${CMAKE_C_COMPILER_ID}")
|
/hal_rpi_pico-latest/src/common/pico_binary_info/ |
D | CMakeLists.txt | 13 …# PICO_BUILD_DEFINE: PICO_PROGRAM_NAME, value passed to pico_set_program_name, type=string, group=… 19 string(REPLACE "\n" " " description ${description}) 20 string(REPLACE "\"" "\\\"" description ${description}) 21 …_PROGRAM_DESCRIPTION, value passed to pico_set_program_description, type=string, group=pico_binary… 26 …# PICO_BUILD_DEFINE: PICO_PROGRAM_URL, value passed to pico_set_program_url, type=string, group=pi… 31 …O_PROGRAM_VERSION_STRING, value passed to pico_set_program_version, type=string, group=pico_binary…
|
D | binary_info.bzl | 3 …LT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, group=pico_binary… 4 …LT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, group=pico_binary… 5 …LT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, group=pico_binary… 6 …LT_BINARY_INFO or a manually linked custom_pico_binary_info target, type=string, group=pico_binary… 7 # PICO_BUILD_DEFINE: PICO_TARGET_NAME, The name of the build target being compiled, type=string, de…
|
/hal_rpi_pico-latest/src/common/pico_base_headers/ |
D | BUILD.bazel | 5 …ZEL_CONFIG: PICO_SDK_VERSION_STRING, SDK version string, type=string, default=Current SDK version … 21 …elease version identifier, default=Current SDK pre-release identifier, type=string, group=pico_base 29 "--version-string={}".format(PICO_SDK_VERSION_STRING), 40 …elease version identifier, default=Current SDK pre-release identifier, type=string, group=pico_base 41 …ILD_DEFINE: PICO_SDK_VERSION_STRING, SDK version string, type=string, default=Current SDK version …
|
/hal_rpi_pico-latest/src/rp2_common/hardware_clocks/scripts/ |
D | vcocalc.py | 13 def validRefdiv(string): argument 14 if ((int(string) < refdiv_min) or (int(string) > refdiv_max)): 16 return int(string)
|
/hal_rpi_pico-latest/docs/ |
D | CMakeLists.txt | 43 string(REPLACE ";" " " DOXY_INPUT_DIRS "${PICO_DOXYGEN_PATHS}") 44 string(REPLACE ";" " " DOXY_EXCLUDE_DIRS "${PICO_DOXYGEN_EXCLUDE_PATHS}") 45 string(REPLACE ";" " " DOXY_PREDEFINED "${PICO_DOXYGEN_PRE_DEFINES}") 46 string(REPLACE ";" " " DOXY_ENABLED_SECTIONS "${PICO_DOXYGEN_ENABLED_SECTIONS}")
|
/hal_rpi_pico-latest/bazel/config/ |
D | BUILD.bazel | 5 # PICO_BAZEL_CONFIG: PICO_TOOLCHAIN, The toolchain to use, type=string, default=gcc, group=build 15 # PICO_BAZEL_CONFIG: PICO_BOARD, Board name being built for, type=string, default=pico or pico2, gr… 33 …e 2 file to use; this should point to a filegroup with the .S file to use, type=string, group=build 39 … is set to src/rp2_common/boot_stage2/{PICO_DEFAULT_BOOT_STAGE2}.S, type=string, default=compile_t… 105 …0 is only supported on the rp2040. dcp is only supported on rp2350, type=string, default=auto, gro… 118 … supported on the rp2040. vfp and dcp are only supported on rp2350, type=string, default=auto, gro… 132 …s the platform default (hardware on RP2040 and compiler on RP2350), type=string, default=auto, gro… 143 …printf behavior while pico provides a pico-specific implementation, type=string, default=double, g… 154 …XT_IMPL, The default implementation for pico_async_context to link, type=string, default=threadsaf… 171 # PICO_BAZEL_CONFIG: PICO_CMSIS_PATH, Label of a cc_ibrary providing CMSIS core, type=string, defa… [all …]
|
/hal_rpi_pico-latest/bazel/util/ |
D | sdk_define.bzl | 6 if type(val) == "string": 40 "define_name": attr.string(mandatory = True),
|
/hal_rpi_pico-latest/tools/pioasm/gen/ |
D | parser.cpp | 281 value.YY_MOVE_OR_COPY< std::string > (YY_MOVE (that.value)); in stack_symbol_type() 374 value.move< std::string > (YY_MOVE (that.value)); in stack_symbol_type() 467 value.copy< std::string > (that.value); in operator =() 559 value.move< std::string > (that.value); in operator =() 1042 yylhs.value.emplace< std::string > (); in parse() 1074 … yystack_[0].value.as < std::string > ())) { std::stringstream msg; msg << "program " << yystack_[… in parse() 1094 …string of = yystack_[1].value.as < std::string > (); if (of.empty()) of = output_format::default_n… in parse() 1154 ….lang_opt").add_lang_opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::stri… in parse() 1158 …opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::string > (), yystack_[0].… in parse() 1162 …opt(yystack_[3].value.as < std::string > (), yystack_[2].value.as < std::string > (), yystack_[0].… in parse() [all …]
|
/hal_rpi_pico-latest/cmake/ |
D | pico_pre_load_platform.cmake | 3 …ame being built for. This may be specified in the user environment, type=string, default=pico or p… 9 …s/rp2350-riscv/host. This may be specified in the user environment, type=string, default=based on … 75 …2350 is specified for PICO_PLATFORM e.g. rp2350-arm-s/rp2350-riscv, type=string, default=rp2350-ar… 102 string(REGEX REPLACE "-.*" "" PICO_PLATFORM_PREFIX ${PICO_PLATFORM}) 103 string(REGEX REPLACE "-.*" "" PICO_SAVED_PLATFORM_PREFIX ${PICO_SAVED_PLATFORM}) 127 …LATFORM_FILE, Custom CMake file to use to set up the platform environment, type=string, group=build
|
/hal_rpi_pico-latest/src/rp2_common/cmsis/ |
D | CMakeLists.txt | 4 ## PICO_CMAKE_CONFIG: PICO_CMSIS_PATH, Directory to locate CMSIS installation, type=string, default… 13 ## PICO_CMAKE_CONFIG: PICO_CMSIS_VENDOR, Vendor name for CMSIS, type=string, default="RaspberryPi",… 24 ## PICO_CMAKE_CONFIG: PICO_CMSIS_DEVICE, Device name for CMSIS, type=string, default="RP2040", grou…
|