---
# System prepended metadata

title: 'M1S : Deployment tools'

---

# M1S : Deployment tools

## Documentation
- SDK BL808 : https://github.com/bouffalolab/bouffalo_sdk
- M1s : https://wiki.sipeed.com/hardware/en/maix/m1s/m1s_dock.html
- SDK M1s : https://github.com/sipeed/M1s_BL808_SDK
- SDK M1s Linux : https://github.com/sipeed/M1s_BL808_Linux_SDK
## Software needed for linux
https://drive.google.com/drive/folders/1FQBNk-YNDj1UYKjsDpl72rvkbnwc3Mwj?usp=sharing

- BuffaloLabDevCube : flash to board address
- Putty : or any other serial connector
- firmware : here `Linux Linux 5.10.4 #4 SMP Fri Nov 4 18:23:30 CST 2022 riscv64 GNU/Linux`

## Port OTG & Port UART
### OTG : U-Disk
Port OTG is used by m1s for fast deployment, it detect `.bin` and automatically flash the board with the code.

### Port UART
Port UART is used for complexe layout imaging. Like Linux. 
As in the [official documentation [Memory Map]](https://github.com/bouffalolab/bl_docs/blob/main/BL808_DS/en/BL808_DS_1.2_en.pdf), you can use it to flash to selected memory address

# Develop
## Toolchain 
https://github.com/bouffalolab/bouffalo_sdk#environment-setup

## Compile
https://bl-mcu-sdk.readthedocs.io/zh_CN/latest/get_started/index.html

## linux
https://github.com/sipeed/M1s_BL808_Linux_SDK

# Useful tools
https://github.com/sipeed/M1s_BL808_example
https://github.com/sipeed/TinyMaix
https://github.com/pikasTech/PikaPython


