> For the complete documentation index, see [llms.txt](https://stage.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stage.twelite.info/eng/install/macos.md).

# macOS

`macOS`

### 環境

We develop in the following environment

* macOS 10.14 (Mojave, Intel)
* macOS 12.4 (Monterey, Apple Silicon)

### Additional installation and warning dialogs.

* The download archive is not signed. At runtime, you may receive a security warning as an application downloaded from the Internet.
* You may be asked for permission to run from the path where you installed TWELITE\_Stage.
* You may get an installation dialog for the make utility when executing a build.
* The toolchain is code-signed, but if the code signature is not properly authenticated, you may be asked for permission to run each executable in the build toolchain (ba-elf-gcc etc.}).

The above is required to give permission or installation work for the TWELITE\_Stage to work.

#### Reference: Manual installation of the make utility

※ Different OS versions and other factors may require a different procedure.

If an error occurs when executing make on the command line (bash), install XCode.

```bash
$ xcode-select --install
```

After installation is complete, type "make" and the following message should appear.

```bash
$ make
make: *** No targets specified and no makefile found.  Stop.
```

### Handling of Serial Port

MONOSTICK and TWELITE-R use FT232 series semiconductors from FTDI (<https://www.ftdichip.com>). In order to use them, you may need to deal with device drivers.

If the serial port does not appear when you start TWELITE-R, you need to unload (disable) FTDI's driver. See "Reference" below.

#### Reference: utilities from FTDI, Inc.

{% hint style="danger" %}
This utility suppresses the loading of the OS standard device driver when our MONOSTICK or TWELITE-R is inserted, but it also suppresses it for non-MONOSTICK devices (those with the same USB ID).
{% endhint %}

Download and use D2xxHelper from <https://www.ftdichip.com/Drivers/D2XX.htm>. You can find the same in our archive in the TWELITE\_Stage/INSTALL folder.

#### Reference: Manual unloading of FTDI device drivers

Unload FTDI-related drivers.

```bash
$ sudo kextunload -b com.apple.driver.AppleUSBFTDI
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://stage.twelite.info/eng/install/macos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
