Skip to content

Commit

Permalink
Merge pull request #9683 from dhalbert/raspberrypi-os-uname
Browse files Browse the repository at this point in the history
fix os.uname() values for rp2350
  • Loading branch information
tannewt authored Oct 4, 2024
2 parents 11d4bce + 9432fb9 commit a693bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/raspberrypi/common-hal/os/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ static const qstr os_uname_info_fields[] = {
MP_QSTR_sysname, MP_QSTR_nodename,
MP_QSTR_release, MP_QSTR_version, MP_QSTR_machine
};
static const MP_DEFINE_STR_OBJ(os_uname_info_sysname_obj, "rp2040");
static const MP_DEFINE_STR_OBJ(os_uname_info_nodename_obj, "rp2040");
static const MP_DEFINE_STR_OBJ(os_uname_info_sysname_obj, MICROPY_HW_MCU_NAME);
static const MP_DEFINE_STR_OBJ(os_uname_info_nodename_obj, MICROPY_HW_MCU_NAME);
static const MP_DEFINE_STR_OBJ(os_uname_info_release_obj, MICROPY_VERSION_STRING);
static const MP_DEFINE_STR_OBJ(os_uname_info_version_obj, MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE);
static const MP_DEFINE_STR_OBJ(os_uname_info_machine_obj, MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME);
Expand Down

0 comments on commit a693bd7

Please sign in to comment.