Global web icon
stackoverflow.com
https://stackoverflow.com/questions/18026333/what-…
What does compiling WITH_PIC (-DWITH_PIC, --with-pic) actually do?
When compiling binaries from source, what are the real-world differences between generating PIC objects or not? At what point down the road would someone say, "I should have generated/used PIC obje...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/5311515/gcc-fp…
c++ - GCC -fPIC option - Stack Overflow
I have read about GCC's Options for Code Generation Conventions, but could not understand what "Generate position-independent code (PIC)" does. Please give an example to explain me what does it mean.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/79278701/adapt…
pic - Adapting Compilation Chain from MPLAB X IDE to VS Code with MPLAB ...
My code builds fine in the MPLAB X IDE (v5.454), but for usability I want to use VS Code with the MPLAB extensions. My requirements include the use of the xc32 compiler v2.40. The example video doe...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/77168162/mplab…
pic - MPLAB X IDE 6.15 Assembly Toolchain - Stack Overflow
For the PIC microcontroller's I prefer to work in assembly, however I am have issues setting it up. I installed MPLAB X IDE 6.15 and read that it doesn't come with any toolchains pre-installed and I am trying to figure out how to install the assembly toolchain. I downloaded a version of mpasm (from Microchip's website), however it doesn't work.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/68822984/read-…
pic - Read Microchip hexfile - Stack Overflow
I have inherited a hex file for a PIC design, which contains the programming for a USB device. Is there a way I can open it in order to find out exactly what it means and how it works? i.e. something
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/28119365/what-…
What are the differences comparing PIE, PIC code and executable on 64 ...
The test is on Ubuntu 12.04 64-bit. x86 architecture. I am confused about the concept Position Independent Executable (PIE) and Position Independent code (PIC), and I guess they are not orthogona...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/73420073/havin…
pic - Having trouble with delay function in MPLAB XC8 compiler - Stack ...
You don't need an extra library, but in xc8 the name of the function is __delay_ms(...) with two _. Please remember, these functions are actually in line macros and they have maximum delay values that depend on part type and clock frequency. To get longer delays using these macros put them in a for loop. I guess __delay_ms(5000) is a little bit to much.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/62681838/is-th…
pic - Is this a safe way to disable interrupts on PIC24 ... - Stack ...
Enable interrupt There are several ways to disable an ISR on this PIC. Including: Use the DISI instruction, or clear the GIE bit, or alter interrupt priority levels. But I have chosen to clear the interrupt to enable bit of the specific interrupt bit in IECx. In this case, it is IEC1bits.U2TXIE because I am using UART2.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/78420248/mplab…
pic - MPLAB 8 and MPLAB X Checksums - Stack Overflow
I have a project that was built in MPLAB 8 using the Hi Tech C compiler. When I load it into MPLAB 8 to program a device I get a checksum (I use Unprotected checksum), then when I load it into MPLA...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/79605117/8259a…
assembly - 8259A PIC programming issue? - Stack Overflow
The issue stems from how the 8259A Programmable Interrupt Controller (PIC) processes commands. When you write 0x11 to the command register (port 0x20), you're actually initiating the PIC initialization sequence.