boards/hp34970_fp_f303rd.json

Mon, 09 Nov 2020 23:05:24 +0100

author
David Douard <david.douard@sdf3.org>
date
Mon, 09 Nov 2020 23:05:24 +0100
changeset 49
c146d19101a3
parent 30
71be284c66b3
child 61
42c4e1ea9a77
permissions
-rw-r--r--

Refactor HPSerial to get rid of packet collision misbehavior

completely split the key sending code from the irq-based receiveing logic.
When sending keycodes, disable the RxIrq callback and handle send and recv
of bytes synchronously.

The keycode sending routine rus in a dedicated thread.

{
  "build": {
    "cpu": "cortex-m4",
    "extra_flags": "-DSTM32F303xE",
    "f_cpu": "72000000L",
    "mcu": "stm32f303rdt7",
    "product_line": "STM32F303xE"
  },
  "debug": {
    "default_tools": [
      "stlink"
    ],
    "jlink_device": "STM32F303RE",
    "openocd_target": "stm32f3x",
    "svd_path": "STM32F30x.svd"
  },
  "frameworks": ["mbed"],
  "platforms": ["ststm32"],
  "name": "HP34970 Replace Front Panel Board (STM32F303RD, 64k RAM, 384k Flash)",
  "upload": {
    "maximum_ram_size": 65536,
    "maximum_size": 393216,
    "protocol": "stlink",
    "protocols": [
      "jlink",
      "stlink",
      "blackmagic",
      "mbed"
    ]
  },
  "url": "https://whatever.sdfa3.org/",
  "vendor": "Custom"
}

mercurial