POSIX Simulator: Remove unused __APPLE__ mach_vm.h include#1225
Merged
aggarg merged 2 commits intoFreeRTOS:mainfrom Jan 21, 2025
Merged
POSIX Simulator: Remove unused __APPLE__ mach_vm.h include#1225aggarg merged 2 commits intoFreeRTOS:mainfrom
aggarg merged 2 commits intoFreeRTOS:mainfrom
Conversation
aggarg
previously approved these changes
Jan 20, 2025
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
|
aggarg
approved these changes
Jan 21, 2025
kar-rahul-aws
approved these changes
Jan 21, 2025
moninom1
pushed a commit
to moninom1/FreeRTOS-Kernel
that referenced
this pull request
Sep 30, 2025
* MPS2_AN385 improvements
Sync various MPS2_AN385 CORTEX-M3 QEMU targets and improve their
Makefiles and cleanup gcc support:
- FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Qemu_mps2:
- Makefile
- output image size after linking
- move -nostartfiles from compiler to linker flags
- modernize compiler warning flags
- add --gc-sections to linker flags
- TCPEchoClient_SingleTasks.c: fix compiler warnings
- main.c: fix compiler warnings (remove unused code)
- main_networking.c
- remove ipLOCAL_MAC_ADDRESS (unknown)
- fix compiler warnings about unused params
- startup.c: main(void), remove unused includes,
silence unused params
- syscalls.c: remove unused defines, silence unused params,
more compact _sbrk()
- FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC/build/gcc:
- Makefile
- CFLAGS/LDFLAGS in more readable lines
- move -nostartfiles to linker flags
- comment out -specs=rdimon.specs as it is not needed
- startup_gcc.c: fix typo in comment, remove unused uart code
- FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC
- Makefile
- after compilation output size of image
- remove -DQEMU_SOC_MPS2, not needed
- update many CFLAGS/LDFLAGS settings to more modern gcc/source
- -ffunction-sections -fdata-sections is moved to CFLAGS
- startup.c: sync with other ports
- syscall.c: _write(): param buf is not unused, silence unused params
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
* remove ipLOCAL_MAC_ADDRESS completely and fix formatting errors
remove ipLOCAL_MAC_ADDRESS completely and fix formatting errors
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Remove unused
__APPLE__mach_vm.hincludeDescription
Looks like this was left over from #674 but the rest of that code (The
mach_vm_round_page/mach_vm_trunc_pagebits) are no longer in the codebase.Including this file breaks compilation for iOS.
Test Steps
Run the POSIX sim on macOS. It still works!
Checklist: