| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-11-13 | extmod/machine_mem: Only allow integers in machine.memX subscript. | Arrowana | |
| Prior to this change machine.mem32['foo'] (or using any other non-integer subscript) could result in a fault due to 'foo' being interpreted as an integer. And when writing code it's hard to tell if the fault is due to a bad subscript type, or an integer subscript that specifies an invalid memory address. The type of the object used in the subscript is now tested to be an integer by using mp_obj_get_int_truncated instead of mp_obj_int_get_truncated. The performance hit of this change is minimal, and machine.memX objects are more for convenience than performance (there are many other ways to read/write memory in a faster way), Fixes issue #6588. | |||
| 2017-06-10 | tests: Convert remaining "sys.exit()" to "raise SystemExit". | Paul Sokolovsky | |
| 2017-02-15 | tests/extmod: Make tests skippable. | Paul Sokolovsky | |
| 2016-07-31 | tests/machine1: Revamp to work with unix port (which has "umachine"). | Paul Sokolovsky | |
| 2015-07-08 | modmachine: Implement physical memory access using /dev/mem (Linux, etc). | Paul Sokolovsky | |
| This requires root access. And on recent Linux kernels, with CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in /proc/iomem can be accessed. The above compiled-time option can be however overriden with boot-time option "iomem=relaxed". This also removed separate read/write paths - there unlikely would be a case when they're different. | |||
| 2015-06-15 | tests: Check that machine module exists and print SKIP if it doesn't. | Damien George | |
| 2015-05-08 | tests: Add test for machine module (mem* functions). | Damien George | |
