Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "posix port" #9581

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from
Draft

Add a "posix port" #9581

wants to merge 58 commits into from

Commits on Jan 27, 2024

  1. WIP

    jepler committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    a17d2ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c564117 View commit details
    Browse the repository at this point in the history
  3. split circuitpy_init() && circuitpy_main()

    later, posix will hook into here somehow
    jepler committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    a47d7d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. WIP

    jepler committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    74f6884 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. WIP

    jepler committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    23f7fe6 View commit details
    Browse the repository at this point in the history
  2. WIP

    jepler committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5761e87 View commit details
    Browse the repository at this point in the history
  3. WIP

    jepler committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    af8126b View commit details
    Browse the repository at this point in the history
  4. more makefile tweaking

    jepler committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    a8979a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. posix port: Enable synthio.

    the tests fail due to printing numbers differently
    jepler committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    c40fb68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57cfadb View commit details
    Browse the repository at this point in the history
  3. WIP enable more things

    the bitmap* tests now pass
    jepler committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    6d2505a View commit details
    Browse the repository at this point in the history
  4. Use MICROPY_FLOAT_CONST

    jepler committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    e6aac40 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    efcad64 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Configuration menu
    Copy the full SHA
    e3ed035 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    281cf27 View commit details
    Browse the repository at this point in the history
  3. Enhance 'make test...' targets

    jepler committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    0d8dfee View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    ec857df View commit details
    Browse the repository at this point in the history
  2. posix: use the same obj repr as unix port

    this fixes some test failures that rely on exact python float values
    jepler committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    aae0e02 View commit details
    Browse the repository at this point in the history
  3. random: fix getrandbits(0)

    this is defined by python (returns 0) and tested in a test
    jepler committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    9fca5e0 View commit details
    Browse the repository at this point in the history
  4. fix asyncio test to use adafruit_ticks unconditionally

    .. will need to do the same in other asyncio tests
    jepler committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    d279866 View commit details
    Browse the repository at this point in the history
  5. improve 'make test-whatever'

    now you can use the same name shown in a list of failures/skips,
    e.g., `make test-random_basic || make print-failures`
    jepler committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    9e8c081 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f80e29e View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    4d61ed5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e63f0f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e925836 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00cea1e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. fix cmd_showbc test

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    b222dd2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99fc152 View commit details
    Browse the repository at this point in the history
  3. Fix test emg_exc

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    ac2d8ac View commit details
    Browse the repository at this point in the history
  4. Fix random_seed_default test

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0cb5b3b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    511b505 View commit details
    Browse the repository at this point in the history
  6. fix os_urandom in posix port

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    68e69bc View commit details
    Browse the repository at this point in the history
  7. remove framebuf tests

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8ab2f33 View commit details
    Browse the repository at this point in the history
  8. remove uctypes tests

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    71206b7 View commit details
    Browse the repository at this point in the history
  9. remove micropython ssl tests

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    0d882a8 View commit details
    Browse the repository at this point in the history
  10. Fix stack limits

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    f68206f View commit details
    Browse the repository at this point in the history
  11. fix test verbose printing

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    be6bd53 View commit details
    Browse the repository at this point in the history
  12. Fix synth tests by setting posix port precision back to double

    later I'll want to switch it to float & endorse the new results but
    for now just do this.
    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    f25e3c8 View commit details
    Browse the repository at this point in the history
  13. remove viper tests

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    4c868cc View commit details
    Browse the repository at this point in the history
  14. remove native tests

    jepler committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    1851543 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. time: allow times from 1970 to 2038 in time.mktime.

    This change allows the unix/time_mktime_localtime.py test to work
    in the POSIX build
    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    0c6efc0 View commit details
    Browse the repository at this point in the history
  2. posix: add RTC module

    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    b541b93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbdca92 View commit details
    Browse the repository at this point in the history
  4. update version regular expression for cmdline tests

    .. shouldn't it say CircuitPython though?
    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    ce92c0f View commit details
    Browse the repository at this point in the history
  5. fix "make vtest"

    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    96d03f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0d35e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3b497ac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    92be08c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    586a355 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b526512 View commit details
    Browse the repository at this point in the history
  11. fix builtin_ext test by labeling these "extensible" modules

    we don't use this capability in CircuitPython but it was not hard
    to make it work. Removing the "extensible module" related code altogether
    might save some space though.
    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    cb175d7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b50a316 View commit details
    Browse the repository at this point in the history
  13. update msgpack test

    this doesn't run in host python because python is invoked with the -S
    flag, disabling site packages (msgpack is not part of base python,
    it's installed via pip if it's available)
    
    I verified the message decodes in standard python with msgpack.
    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    2f46c18 View commit details
    Browse the repository at this point in the history
  14. Make getenv test work on posix

    .. it now fails on unix coverage port but that's fine
    jepler committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    1f33a32 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. set synthio channel count to match unix build

    this fixes some synthio tests that differed in output, because
    dynamic range compression depends on the channel count.
    jepler committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    0e308c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3944e48 View commit details
    Browse the repository at this point in the history
  3. Add gifio, qrio to posix build

    qrio has an existing test, gifio does not
    jepler committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    1a8f330 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c57e01 View commit details
    Browse the repository at this point in the history