In general in this repository:

 - The HDL core itself is licensed under the terms of the
   "CERN Open Hardware Licence Version 2 - Permissive" license.

 - The custom USB stack is licensed under the terms of the
   GNU Lesser General Public License v3.0 or later.

   Except for the parts that are re-used in the tiny-usb stack
   driver, those are licensed under the terms of
   the MIT license.

 - The tiny-usb stack driver is licensed under the terms of
   the MIT license.

 - The various small utilities / scripts are licensed under
   the terms of the MIT license.

Refer to the header of each file to see which license it is under.

See the `doc/` subdirectory for the full text of those licenses.