mpbuild 0.6__tar.gz → 0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mpbuild
3
- Version: 0.6
3
+ Version: 0.7
4
4
  Summary: Build MicroPython firmware with ease!
5
5
  Author-email: Matt Trentini <matt.trentini@gmail.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mpbuild"
3
- version = "0.6"
3
+ version = "0.7"
4
4
  description = "Build MicroPython firmware with ease!"
5
5
  authors = [
6
6
  { name = "Matt Trentini", email = "matt.trentini@gmail.com" }
@@ -39,7 +39,7 @@ def get_build_container(board: Board, variant: Optional[str] = None) -> str:
39
39
  """
40
40
  port = board.port
41
41
 
42
- if board.name == "RPI_PICO2":
42
+ if port.name == "rp2":
43
43
  if variant == "RISCV":
44
44
  # Special case: This board supports an ARM core as default
45
45
  # and a RISC-V core as a variant