mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 11:09:01 +01:00 
			
		
		
		
	POSIX Simulator: Remove unused __APPLE__ mach_vm.h include (#1225)
Remove unused __APPLE__ mach_vm.h include
This commit is contained in:
		
							parent
							
								
									78e0cc778a
								
							
						
					
					
						commit
						a58579681c
					
				
							
								
								
									
										17
									
								
								.github/workflows/kernel-demos.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/kernel-demos.yml
									
									
									
									
										vendored
									
									
								
							@ -150,16 +150,25 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          path: ./FreeRTOS/Source
 | 
			
		||||
 | 
			
		||||
      - name: Install MSP430 Toolchain
 | 
			
		||||
      - env:
 | 
			
		||||
          stepName: Install MSP430 Toolchain
 | 
			
		||||
        shell: bash
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo apt-get -y update
 | 
			
		||||
          sudo apt-get -y install gcc-msp430 build-essential
 | 
			
		||||
          # ${{ env.stepName }}
 | 
			
		||||
          echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
 | 
			
		||||
          curl -L -O https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
 | 
			
		||||
          sudo apt update -y
 | 
			
		||||
          sudo apt install -y p7zip-full
 | 
			
		||||
          7z x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
 | 
			
		||||
          chmod +x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run
 | 
			
		||||
          sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --prefix /usr/bin/msp430-gcc --mode unattended
 | 
			
		||||
          echo "::endgroup::"
 | 
			
		||||
          echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
 | 
			
		||||
 | 
			
		||||
      - name: Build msp430_GCC Demo
 | 
			
		||||
        shell: bash
 | 
			
		||||
        working-directory: FreeRTOS/Demo/msp430_GCC
 | 
			
		||||
        run: make -j
 | 
			
		||||
        run: make -j CC=/usr/bin/msp430-gcc/bin/msp430-elf-gcc OPT="-Os -I/usr/bin/msp430-gcc/include -L/usr/bin/msp430-gcc/include"
 | 
			
		||||
 | 
			
		||||
  MicroBlaze-GCC:
 | 
			
		||||
    name: GCC MicroBlaze Toolchain
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
									
									
									
										vendored
									
									
								
							@ -65,10 +65,6 @@
 | 
			
		||||
#include <time.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __APPLE__
 | 
			
		||||
    #include <mach/mach_vm.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Scheduler includes. */
 | 
			
		||||
#include "FreeRTOS.h"
 | 
			
		||||
#include "task.h"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user